Commit 8915f1189c1d29d8be7f4de325702d90a8988219

Authored by Paul Gortmaker
Committed by Wolfgang Denk
1 parent 21ae6ca031

e1000: add support for 82545GM 64bit PCI-X copper variant

This PCI-X e1000 variant works by just adding in the correct
PCI IDs in the appropriate places.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

Showing 3 changed files with 5 additions and 1 deletions Side-by-side Diff

... ... @@ -75,6 +75,7 @@
75 75 {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82544GC_LOM},
76 76 {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82540EM},
77 77 {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82545EM_COPPER},
  78 + {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82545GM_COPPER},
78 79 {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82546EB_COPPER},
79 80 {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82545EM_FIBER},
80 81 {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82546EB_FIBER},
... ... @@ -636,6 +637,7 @@
636 637 hw->mac_type = e1000_82540;
637 638 break;
638 639 case E1000_DEV_ID_82545EM_COPPER:
  640 + case E1000_DEV_ID_82545GM_COPPER:
639 641 case E1000_DEV_ID_82545EM_FIBER:
640 642 hw->mac_type = e1000_82545;
641 643 break;
... ... @@ -217,13 +217,14 @@
217 217 #define E1000_DEV_ID_82544GC_LOM 0x100D
218 218 #define E1000_DEV_ID_82540EM 0x100E
219 219 #define E1000_DEV_ID_82540EM_LOM 0x1015
  220 +#define E1000_DEV_ID_82545GM_COPPER 0x1026
220 221 #define E1000_DEV_ID_82545EM_COPPER 0x100F
221 222 #define E1000_DEV_ID_82545EM_FIBER 0x1011
222 223 #define E1000_DEV_ID_82546EB_COPPER 0x1010
223 224 #define E1000_DEV_ID_82546EB_FIBER 0x1012
224 225 #define E1000_DEV_ID_82541ER 0x1078
225 226 #define E1000_DEV_ID_82541GI_LF 0x107C
226   -#define NUM_DEV_IDS 15
  227 +#define NUM_DEV_IDS 16
227 228  
228 229 #define NODE_ADDRESS_SIZE 6
229 230 #define ETH_LENGTH_OF_ADDRESS 6
... ... @@ -1827,6 +1827,7 @@
1827 1827 #define PCI_DEVICE_ID_INTEL_82545EM_FIBER 0x1011
1828 1828 #define PCI_DEVICE_ID_INTEL_82546EB_FIBER 0x1012
1829 1829 #define PCI_DEVICE_ID_INTEL_82540EM_LOM 0x1015
  1830 +#define PCI_DEVICE_ID_INTEL_82545GM_COPPER 0x1026
1830 1831 #define PCI_DEVICE_ID_INTEL_82559 0x1030
1831 1832  
1832 1833 #define PCI_DEVICE_ID_INTEL_82562ET 0x1031