From fbef1f72cd463b91a18b117dc3cd056a916cd36c Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Fri, 26 Dec 2014 01:11:35 +0000 Subject: ich9deblob: add real variable names to gbe struct members (based on datasheets) --- resources/utilities/ich9deblob/src/gbe/gbe.h | 36 +++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) (limited to 'resources/utilities') diff --git a/resources/utilities/ich9deblob/src/gbe/gbe.h b/resources/utilities/ich9deblob/src/gbe/gbe.h index bfcc0024..7446c4a7 100644 --- a/resources/utilities/ich9deblob/src/gbe/gbe.h +++ b/resources/utilities/ich9deblob/src/gbe/gbe.h @@ -68,7 +68,41 @@ struct GBEREGIONRECORD_4K { unsigned char macAddress[6]; /* 0x03 words, or 0x06 bytes */ - unsigned char otherStuff[120]; /* 0x3c words, or 0x7E bytes */ + unsigned short reserved1; + unsigned short reserved2; + unsigned short reserved3; + unsigned short reserved4; + unsigned short reserved5; + unsigned short pbaLow; + unsigned short pbaHigh; + unsigned short pciInitializationControlWord; + unsigned short subsystemId; + unsigned short subsystemVendorId; + unsigned short deviceId; + unsigned short vendorId; + unsigned short deviceRevId; + unsigned short lanPowerConsumption; + unsigned short reserved6; + unsigned short reserved7; + unsigned short sharedInitializationControlWord; + unsigned short extendedConfigurationControlWord1; + unsigned short extendedConfigurationControlWord2; + unsigned short extendedConfigurationControlWord3; + unsigned short ledCtl1; + unsigned short ledCtl02; + unsigned short reserved8; + unsigned short reserved9; + unsigned short reserved10; + unsigned short reserved11; + unsigned short reserved12; + unsigned short _82567lmDeviceId; + unsigned short _82567lfDeviceId; + unsigned short reserved13; + unsigned short _82567vDeviceId; + unsigned short reserved14; + unsigned short reserved15; + unsigned short reserved16[12]; + unsigned short pxeSoftwareRegion[15]; unsigned short checkSum; /* when added to the sum of all words above, this should match GBECHECKSUMTOTAL */ unsigned char padding1[3968]; }; -- cgit v1.2.3-70-g09d2