summaryrefslogtreecommitdiffstats
path: root/resources/utilities/ich9deblob
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-25 22:34:33 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-12-25 22:34:33 (EST)
commit3b2b032956ddd677f8b481f55df5898318e20c47 (patch)
tree828a12aa4d4d5e59b976fdd41ddf6874314c151c /resources/utilities/ich9deblob
parente82b3147e0f623dd23d1989fd5b5eea0f20efb2c (diff)
downloadlibreboot-3b2b032956ddd677f8b481f55df5898318e20c47.zip
libreboot-3b2b032956ddd677f8b481f55df5898318e20c47.tar.gz
libreboot-3b2b032956ddd677f8b481f55df5898318e20c47.tar.bz2
ich9deblob: gbe struct: info about word 0D (device ID)
Diffstat (limited to 'resources/utilities/ich9deblob')
-rw-r--r--resources/utilities/ich9deblob/src/gbe/gbe.h18
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 ebcd6ad..392efff 100644
--- a/resources/utilities/ich9deblob/src/gbe/gbe.h
+++ b/resources/utilities/ich9deblob/src/gbe/gbe.h
@@ -135,7 +135,23 @@ struct GBEREGIONRECORD_4K {
*/
unsigned short subsystemVendorId; /* Set this to 0x17AA */
- unsigned short deviceId;
+ /*
+ * Word 0D: device ID
+ *
+ * If load vendor/device ID in word 0A (pci init control word) is 1
+ * (it is) then this word is used to init device id using word 21h,
+ * 1Eh or 1Fh. In my case, deviceId is 0x10F5. Word 21h is set to
+ * 0x10CB, word 1Eh is 0x10F5 and 1Fh is 0x10BF
+ *
+ * The datasheet says that 10F5 is for Intel 82567LM gigabit ethernet
+ * controller; 10BF is for Intel 82567LF and 10CB is for Intel 82567V.
+ *
+ * Based on this, the X200 is shown to have the Intel 82567LM ethernet
+ * controller.
+ */
+ unsigned short deviceId; /* Set this to 0x10F5. */
+ /* It is important that this is correct, for the linux kernel driver */
+
unsigned short vendorId;
unsigned short deviceRevId;
unsigned short lanPowerConsumption;