| 1 |
# This program is free software: you can redistribute it and/or modify |
| 2 |
# it under the terms of the GNU General Public License as published by |
| 3 |
# the Free Software Foundation, either version 3 of the License, or |
| 4 |
# (at your option) any later version. |
| 5 |
# |
| 6 |
# This program is distributed in the hope that it will be useful, |
| 7 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 8 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 9 |
# GNU General Public License for more details. |
| 10 |
|
| 11 |
# |
| 12 |
# Datasheets: |
| 13 |
# |
| 14 |
# http://www.intel.co.uk/content/dam/doc/application-note/i-o-controller-hub-9m-82567lf-lm-v-nvm-map-appl-note.pdf |
| 15 |
# https://communities.intel.com/community/wired/blog/2010/10/14/how-to-basic-eeprom-checksums |
| 16 |
|
| 17 |
# The datasheet says that this spec covers the following pci ids: |
| 18 |
# 8086:10F5 - Intel 82567LM gigabit ethernet controller |
| 19 |
# 8086:10BF - Intel 82567LF gigabit ethernet controller |
| 20 |
# 8086:10CB - Intel 82567V gigabit ethernet controller |
| 21 |
|
| 22 |
# GbE SPEC for ICH9M (82567LM/LF/V) |
| 23 |
{ |
| 24 |
"macaddress"[6] : 8, |
| 25 |
"ba_reserved1_0" : 8, |
| 26 |
"ba_reserved1_1" : 3, |
| 27 |
"ba_ibootagent" : 1, |
| 28 |
"ba_reserved2" : 4, |
| 29 |
"reserved04" : 16, |
| 30 |
"version05" : 16, |
| 31 |
"reserved06" : 16, |
| 32 |
"reserved07" : 16, |
| 33 |
"pbalow" : 16, |
| 34 |
"pbahigh" : 16, |
| 35 |
"pci_loadvid" : 1, |
| 36 |
"pci_loadssid" : 1, |
| 37 |
"pci_reserved1" : 1, |
| 38 |
"pci_reserved2" : 3, |
| 39 |
"pci_pmen" : 1, |
| 40 |
"pci_auxpwr" : 1, |
| 41 |
"pci_reserved3" : 4, |
| 42 |
"pci_reserved4" : 4, |
| 43 |
"ssdid" : 16, |
| 44 |
"ssvid" : 16, |
| 45 |
"did" : 16, |
| 46 |
"vid" : 16, |
| 47 |
"devrevid" : 16, |
| 48 |
"lanpwr_d3pwr" : 5, |
| 49 |
"lanpwr_reserved" : 3, |
| 50 |
"lanpwr_d0pwr" : 8, |
| 51 |
"reserved11" : 16, |
| 52 |
"reserved12" : 16, |
| 53 |
"sh_reserved1" : 3, |
| 54 |
"sh_force_halfduplex" : 1, |
| 55 |
"sh_force_lowspeed" : 1, |
| 56 |
"sh_reserved2_0" : 3, |
| 57 |
"sh_reserved2_1" : 1, |
| 58 |
"sh_phy_enpwrdown" : 1, |
| 59 |
"sh_reserved3" : 1, |
| 60 |
"sh_reserved4" : 3, |
| 61 |
"sh_sign" : 2, |
| 62 |
"cw1_extcfgptr" : 12, |
| 63 |
"cw1_oemload" : 1, |
| 64 |
"cw1_reserved1" : 1, |
| 65 |
"cw1_reserved2" : 1, |
| 66 |
"cw1_reserved3" : 1, |
| 67 |
"cw2_reserved" : 8, |
| 68 |
"cw2_extphylen" : 8, |
| 69 |
"extcfg16" : 16, |
| 70 |
"l1_led1mode" : 4, |
| 71 |
"l1_reserved1" : 1, |
| 72 |
"l1_led1fastblink" : 1, |
| 73 |
"l1_led1invert" : 1, |
| 74 |
"l1_led1blinks" : 1, |
| 75 |
"l1_reserved2" : 1, |
| 76 |
"l1_lplu_all" : 1, |
| 77 |
"l1_lplu_non_d0a" : 1, |
| 78 |
"l1_gbedis_non_d0a" : 1, |
| 79 |
"l1_reserved3" : 2, |
| 80 |
"l1_gbedis" : 1, |
| 81 |
"l1_reserved4" : 1, |
| 82 |
"l02_led0mode" : 4, |
| 83 |
"l02_reserved1" : 1, |
| 84 |
"l02_led0fastblink" : 1, |
| 85 |
"l02_led0invert" : 1, |
| 86 |
"l02_led0blinks" : 1, |
| 87 |
"l02_led2mode" : 4, |
| 88 |
"l02_reserved2" : 1, |
| 89 |
"l02_led2fastblink" : 1, |
| 90 |
"l02_led2invert" : 1, |
| 91 |
"l02_led2blinks" : 1, |
| 92 |
"reserved19" : 16, |
| 93 |
"reserved1a" : 16, |
| 94 |
"reserved1b" : 16, |
| 95 |
"reserved1c" : 16, |
| 96 |
"reserved1d" : 16, |
| 97 |
"_82567lm" : 16, |
| 98 |
"_82567lf" : 16, |
| 99 |
"reserved20" : 16, |
| 100 |
"_82567v" : 16, |
| 101 |
"reserved22_"[14] : 16, |
| 102 |
"pxe30_protocolsel" : 2, |
| 103 |
"pxe30_reserved1" : 1, |
| 104 |
"pxe30_defbootsel" : 2, |
| 105 |
"pxe30_reserved2" : 1, |
| 106 |
"pxe30_ctrlsprompt" : 2, |
| 107 |
"pxe30_dispsetup" : 1, |
| 108 |
"pxe30_reserved3" : 1, |
| 109 |
"pxe30_forcespeed" : 2, |
| 110 |
"pxe30_forcefullduplex" : 1, |
| 111 |
"pxe30_reserved4" : 1, |
| 112 |
"pxe30_efipresent" : 1, |
| 113 |
"pxe30_pxeabsent" : 1, |
| 114 |
"pxe31_disablemenu" : 1, |
| 115 |
"pxe31_disabletitle" : 1, |
| 116 |
"pxe31_disableprotsel" : 1, |
| 117 |
"pxe31_disablebootorder": 1, |
| 118 |
"pxe31_disablelegacywak": 1, |
| 119 |
"pxe31_disableflash_pro": 1, |
| 120 |
"pxe31_reserved1" : 2, |
| 121 |
"pxe31_ibootagentmode" : 3, |
| 122 |
"pxe31_reserved2" : 3, |
| 123 |
"pxe31_signature" : 2, |
| 124 |
"pxe32_buildnum" : 8, |
| 125 |
"pxe32_minorversion" : 4, |
| 126 |
"pxe32_majorversion" : 4, |
| 127 |
"pxe33_basecodeabsent" : 1, |
| 128 |
"pxe33_undipresent" : 1, |
| 129 |
"pxe33_reserved1" : 1, |
| 130 |
"pxe33_efiundipresent" : 1, |
| 131 |
"pxe33_reserved2_0" : 4, |
| 132 |
"pxe33_reserved2_1" : 6, |
| 133 |
"pxe33_signature" : 2, |
| 134 |
"pxe_padding"[11] : 16, |
| 135 |
"checksum_gbe" : 16, |
| 136 |
"padding"[0xf80] : 8 |
| 137 |
} |