diff options
author | Francis Rowe <info@gluglug.org.uk> | 2014-12-25 21:26:09 (EST) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2014-12-25 21:26:09 (EST) |
commit | 963c68ee8b8e0669cb91a3c68f5cce04cc222c5d (patch) | |
tree | e42901e376ac8658ec8e9295ddf67df4a83bfdff /resources/utilities/ich9deblob/src | |
parent | f78d26669bb8d88853a5df332bf10ff9d3734ca4 (diff) | |
download | libreboot-963c68ee8b8e0669cb91a3c68f5cce04cc222c5d.zip libreboot-963c68ee8b8e0669cb91a3c68f5cce04cc222c5d.tar.gz libreboot-963c68ee8b8e0669cb91a3c68f5cce04cc222c5d.tar.bz2 |
ich9deblob: gbe struct: info about word 0A (pci init control word)
Diffstat (limited to 'resources/utilities/ich9deblob/src')
-rw-r--r-- | resources/utilities/ich9deblob/src/gbe/gbe.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/resources/utilities/ich9deblob/src/gbe/gbe.h b/resources/utilities/ich9deblob/src/gbe/gbe.h index ac2a504..513e5d0 100644 --- a/resources/utilities/ich9deblob/src/gbe/gbe.h +++ b/resources/utilities/ich9deblob/src/gbe/gbe.h @@ -73,6 +73,20 @@ struct GBE_RESERVED_WORD_03H { unsigned char reserved2 : 4; /* bits should all be set to zero */ /* most significant bits */ }; + +struct PCI_INITIALIZATION_CONTROL_WORD { + /* least significant bits */ + unsigned char loadVendorDeviceId : 1; /* 1 = load from NVM. 0 = load from MAC fuses. It's 1 in my deblobbed_descriptor.bin */ + unsigned char loadSubsystemId : 1; /* 1 = load from NVM. 0 = load from MAC fuses. It's 1 in my deblobbed_descriptor.bin */ + unsigned char reserved1 : 1; /* Reserved. Set to 0 (according to datasheet). 0 in my deblobbed_descriptor.bin */ + unsigned char reserved2 : 3; /* Reserved. Set them to 0 (according to datasheet). 0 in my deblobbed_descriptor.bin */ + unsigned char pmEnable : 1; /* Power Management Enable. 1=Enable. It's 1 in my deblobbed_descriptor.bin */ + unsigned char auxPwr : 1; /* Auxiliary Power Indication. See datasheet. it's 1 in my deblobbed_descriptor.bin */ + unsigned char reserved3 : 4; /* Reserved. Set to 0000 (according to datasheet). */ + unsigned char reserved4 : 4; /* Reserved. Set to 0001 (according to datasheet). */ + /* most significant bits */ +}; + struct GBEREGIONRECORD_4K { unsigned char macAddress[6]; /* Word 00 to 02 */ struct GBE_RESERVED_WORD_03H reservedWord03h; /* Reserved word 03. */ @@ -98,7 +112,9 @@ struct GBEREGIONRECORD_4K { unsigned short pbaLow; /* Word 08 */ unsigned short pbaHigh; /* Word 09 */ - unsigned short pciInitializationControlWord; + /* Word 0A */ + struct PCI_INITIALIZATION_CONTROL_WORD pciInitializationControlWord; + unsigned short subsystemId; unsigned short subsystemVendorId; unsigned short deviceId; |