summaryrefslogtreecommitdiffstats
path: root/resources/utilities/ich9deblob/src/gbe
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-25 23:43:25 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-12-25 23:43:25 (EST)
commitc32543480ea0f7800056c11282052e79cbfa70d7 (patch)
tree345d1e4ad08b0ed0a29e63784c0f08d02ad384a8 /resources/utilities/ich9deblob/src/gbe
parent0781d3a8c573e036357fc86c7eb7003be0ef46e3 (diff)
downloadlibreboot-c32543480ea0f7800056c11282052e79cbfa70d7.zip
libreboot-c32543480ea0f7800056c11282052e79cbfa70d7.tar.gz
libreboot-c32543480ea0f7800056c11282052e79cbfa70d7.tar.bz2
ich9deblob: gbe struct: info about word 10 (lan power consumption)
Diffstat (limited to 'resources/utilities/ich9deblob/src/gbe')
-rw-r--r--resources/utilities/ich9deblob/src/gbe/gbe.h11
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 3881780..1c890e4 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;