diff options
author | Francis Rowe <info@gluglug.org.uk> | 2014-12-26 04:43:25 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2014-12-26 04:43:25 +0000 |
commit | c32543480ea0f7800056c11282052e79cbfa70d7 (patch) | |
tree | 345d1e4ad08b0ed0a29e63784c0f08d02ad384a8 /resources | |
parent | 0781d3a8c573e036357fc86c7eb7003be0ef46e3 (diff) | |
download | librebootfr-c32543480ea0f7800056c11282052e79cbfa70d7.tar.gz librebootfr-c32543480ea0f7800056c11282052e79cbfa70d7.zip |
ich9deblob: gbe struct: info about word 10 (lan power consumption)
Diffstat (limited to 'resources')
-rw-r--r-- | resources/utilities/ich9deblob/src/gbe/gbe.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/resources/utilities/ich9deblob/src/gbe/gbe.h b/resources/utilities/ich9deblob/src/gbe/gbe.h index 3881780b..1c890e4a 100644 --- a/resources/utilities/ich9deblob/src/gbe/gbe.h +++ b/resources/utilities/ich9deblob/src/gbe/gbe.h @@ -88,6 +88,15 @@ struct GBE_PCI_INITIALIZATION_CONTROL_WORD { /* most significant bits */ }; +/* Word 10h. */ +struct GBE_LAN_POWER_CONSUMPTION { + /* least significant bits */ + unsigned char lanD3Power : 5; /* It's 00001b (0x1) in deblobbed_descriptor.bin */ + unsigned char reserved : 3; /* Reserved. These bits should all be 0. confirmed from deblobbed_descriptor.bin */ + unsigned char lanD0Power : 8; /* default value: 0x0D (according to datasheet). confirmed from deblobbed_descriptor.bin */ + /* most significant bits */ +}; + struct GBEREGIONRECORD_4K { unsigned char macAddress[6]; /* Word 00 to 02 */ struct GBE_RESERVED_WORD_03H reservedWord03h; /* Reserved word 03. */ @@ -165,7 +174,7 @@ struct GBEREGIONRECORD_4K { unsigned short vendorId; unsigned short deviceRevId; /* Word 0F: reserved bits. Set all bits to 0. */ - unsigned short lanPowerConsumption; + struct GBE_LAN_POWER_CONSUMPTION lanPowerConsumption; /* Word 10: LAN Power Consumption (see struct definition) */ unsigned short reserved6; unsigned short reserved7; unsigned short sharedInitializationControlWord; |