From c32543480ea0f7800056c11282052e79cbfa70d7 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Fri, 26 Dec 2014 04:43:25 +0000 Subject: ich9deblob: gbe struct: info about word 10 (lan power consumption) --- resources/utilities/ich9deblob/src/gbe/gbe.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'resources/utilities/ich9deblob/src') 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; -- cgit v1.2.3-70-g09d2