diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 27 | ||||
-rw-r--r-- | drivers/net/e1000e/82571.c | 6 | ||||
-rw-r--r-- | drivers/net/e1000e/hw.h | 3 | ||||
-rw-r--r-- | drivers/net/e1000e/netdev.c | 9 |
4 files changed, 12 insertions, 33 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index 76c0fa690cc6..f318634c997d 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -73,14 +73,6 @@ static struct pci_device_id e1000_pci_tbl[] = { | |||
73 | INTEL_E1000_ETHERNET_DEVICE(0x1026), | 73 | INTEL_E1000_ETHERNET_DEVICE(0x1026), |
74 | INTEL_E1000_ETHERNET_DEVICE(0x1027), | 74 | INTEL_E1000_ETHERNET_DEVICE(0x1027), |
75 | INTEL_E1000_ETHERNET_DEVICE(0x1028), | 75 | INTEL_E1000_ETHERNET_DEVICE(0x1028), |
76 | INTEL_E1000_ETHERNET_DEVICE(0x1049), | ||
77 | INTEL_E1000_ETHERNET_DEVICE(0x104A), | ||
78 | INTEL_E1000_ETHERNET_DEVICE(0x104B), | ||
79 | INTEL_E1000_ETHERNET_DEVICE(0x104C), | ||
80 | INTEL_E1000_ETHERNET_DEVICE(0x104D), | ||
81 | INTEL_E1000_ETHERNET_DEVICE(0x105E), | ||
82 | INTEL_E1000_ETHERNET_DEVICE(0x105F), | ||
83 | INTEL_E1000_ETHERNET_DEVICE(0x1060), | ||
84 | INTEL_E1000_ETHERNET_DEVICE(0x1075), | 76 | INTEL_E1000_ETHERNET_DEVICE(0x1075), |
85 | INTEL_E1000_ETHERNET_DEVICE(0x1076), | 77 | INTEL_E1000_ETHERNET_DEVICE(0x1076), |
86 | INTEL_E1000_ETHERNET_DEVICE(0x1077), | 78 | INTEL_E1000_ETHERNET_DEVICE(0x1077), |
@@ -89,28 +81,9 @@ static struct pci_device_id e1000_pci_tbl[] = { | |||
89 | INTEL_E1000_ETHERNET_DEVICE(0x107A), | 81 | INTEL_E1000_ETHERNET_DEVICE(0x107A), |
90 | INTEL_E1000_ETHERNET_DEVICE(0x107B), | 82 | INTEL_E1000_ETHERNET_DEVICE(0x107B), |
91 | INTEL_E1000_ETHERNET_DEVICE(0x107C), | 83 | INTEL_E1000_ETHERNET_DEVICE(0x107C), |
92 | INTEL_E1000_ETHERNET_DEVICE(0x107D), | ||
93 | INTEL_E1000_ETHERNET_DEVICE(0x107E), | ||
94 | INTEL_E1000_ETHERNET_DEVICE(0x107F), | ||
95 | INTEL_E1000_ETHERNET_DEVICE(0x108A), | 84 | INTEL_E1000_ETHERNET_DEVICE(0x108A), |
96 | INTEL_E1000_ETHERNET_DEVICE(0x108B), | ||
97 | INTEL_E1000_ETHERNET_DEVICE(0x108C), | ||
98 | INTEL_E1000_ETHERNET_DEVICE(0x1096), | ||
99 | INTEL_E1000_ETHERNET_DEVICE(0x1098), | ||
100 | INTEL_E1000_ETHERNET_DEVICE(0x1099), | 85 | INTEL_E1000_ETHERNET_DEVICE(0x1099), |
101 | INTEL_E1000_ETHERNET_DEVICE(0x109A), | ||
102 | INTEL_E1000_ETHERNET_DEVICE(0x10A4), | ||
103 | INTEL_E1000_ETHERNET_DEVICE(0x10A5), | ||
104 | INTEL_E1000_ETHERNET_DEVICE(0x10B5), | 86 | INTEL_E1000_ETHERNET_DEVICE(0x10B5), |
105 | INTEL_E1000_ETHERNET_DEVICE(0x10B9), | ||
106 | INTEL_E1000_ETHERNET_DEVICE(0x10BA), | ||
107 | INTEL_E1000_ETHERNET_DEVICE(0x10BB), | ||
108 | INTEL_E1000_ETHERNET_DEVICE(0x10BC), | ||
109 | INTEL_E1000_ETHERNET_DEVICE(0x10C4), | ||
110 | INTEL_E1000_ETHERNET_DEVICE(0x10C5), | ||
111 | INTEL_E1000_ETHERNET_DEVICE(0x10D5), | ||
112 | INTEL_E1000_ETHERNET_DEVICE(0x10D9), | ||
113 | INTEL_E1000_ETHERNET_DEVICE(0x10DA), | ||
114 | /* required last entry */ | 87 | /* required last entry */ |
115 | {0,} | 88 | {0,} |
116 | }; | 89 | }; |
diff --git a/drivers/net/e1000e/82571.c b/drivers/net/e1000e/82571.c index 45f5ee29343f..3beace55b58d 100644 --- a/drivers/net/e1000e/82571.c +++ b/drivers/net/e1000e/82571.c | |||
@@ -194,6 +194,8 @@ static s32 e1000_init_mac_params_82571(struct e1000_adapter *adapter) | |||
194 | break; | 194 | break; |
195 | case E1000_DEV_ID_82571EB_SERDES: | 195 | case E1000_DEV_ID_82571EB_SERDES: |
196 | case E1000_DEV_ID_82572EI_SERDES: | 196 | case E1000_DEV_ID_82572EI_SERDES: |
197 | case E1000_DEV_ID_82571EB_SERDES_DUAL: | ||
198 | case E1000_DEV_ID_82571EB_SERDES_QUAD: | ||
197 | hw->media_type = e1000_media_type_internal_serdes; | 199 | hw->media_type = e1000_media_type_internal_serdes; |
198 | break; | 200 | break; |
199 | default: | 201 | default: |
@@ -260,6 +262,7 @@ static s32 e1000_get_invariants_82571(struct e1000_adapter *adapter) | |||
260 | case E1000_DEV_ID_82571EB_QUAD_COPPER: | 262 | case E1000_DEV_ID_82571EB_QUAD_COPPER: |
261 | case E1000_DEV_ID_82571EB_QUAD_FIBER: | 263 | case E1000_DEV_ID_82571EB_QUAD_FIBER: |
262 | case E1000_DEV_ID_82571EB_QUAD_COPPER_LP: | 264 | case E1000_DEV_ID_82571EB_QUAD_COPPER_LP: |
265 | case E1000_DEV_ID_82571PT_QUAD_COPPER: | ||
263 | adapter->flags |= FLAG_IS_QUAD_PORT; | 266 | adapter->flags |= FLAG_IS_QUAD_PORT; |
264 | /* mark the first port */ | 267 | /* mark the first port */ |
265 | if (global_quad_port_a == 0) | 268 | if (global_quad_port_a == 0) |
@@ -285,6 +288,9 @@ static s32 e1000_get_invariants_82571(struct e1000_adapter *adapter) | |||
285 | if (adapter->flags & FLAG_IS_QUAD_PORT && | 288 | if (adapter->flags & FLAG_IS_QUAD_PORT && |
286 | (!(adapter->flags & FLAG_IS_QUAD_PORT_A))) | 289 | (!(adapter->flags & FLAG_IS_QUAD_PORT_A))) |
287 | adapter->flags &= ~FLAG_HAS_WOL; | 290 | adapter->flags &= ~FLAG_HAS_WOL; |
291 | /* Does not support WoL on any port */ | ||
292 | if (pdev->device == E1000_DEV_ID_82571EB_SERDES_QUAD) | ||
293 | adapter->flags &= ~FLAG_HAS_WOL; | ||
288 | break; | 294 | break; |
289 | 295 | ||
290 | case e1000_82573: | 296 | case e1000_82573: |
diff --git a/drivers/net/e1000e/hw.h b/drivers/net/e1000e/hw.h index 1bb20521df0e..71f93ce384dc 100644 --- a/drivers/net/e1000e/hw.h +++ b/drivers/net/e1000e/hw.h | |||
@@ -303,8 +303,11 @@ enum e1e_registers { | |||
303 | #define E1000_DEV_ID_82571EB_FIBER 0x105F | 303 | #define E1000_DEV_ID_82571EB_FIBER 0x105F |
304 | #define E1000_DEV_ID_82571EB_SERDES 0x1060 | 304 | #define E1000_DEV_ID_82571EB_SERDES 0x1060 |
305 | #define E1000_DEV_ID_82571EB_QUAD_COPPER 0x10A4 | 305 | #define E1000_DEV_ID_82571EB_QUAD_COPPER 0x10A4 |
306 | #define E1000_DEV_ID_82571PT_QUAD_COPPER 0x10D5 | ||
306 | #define E1000_DEV_ID_82571EB_QUAD_FIBER 0x10A5 | 307 | #define E1000_DEV_ID_82571EB_QUAD_FIBER 0x10A5 |
307 | #define E1000_DEV_ID_82571EB_QUAD_COPPER_LP 0x10BC | 308 | #define E1000_DEV_ID_82571EB_QUAD_COPPER_LP 0x10BC |
309 | #define E1000_DEV_ID_82571EB_SERDES_DUAL 0x10D9 | ||
310 | #define E1000_DEV_ID_82571EB_SERDES_QUAD 0x10DA | ||
308 | #define E1000_DEV_ID_82572EI_COPPER 0x107D | 311 | #define E1000_DEV_ID_82572EI_COPPER 0x107D |
309 | #define E1000_DEV_ID_82572EI_FIBER 0x107E | 312 | #define E1000_DEV_ID_82572EI_FIBER 0x107E |
310 | #define E1000_DEV_ID_82572EI_SERDES 0x107F | 313 | #define E1000_DEV_ID_82572EI_SERDES 0x107F |
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c index 5450ef8bf881..51476a309c82 100644 --- a/drivers/net/e1000e/netdev.c +++ b/drivers/net/e1000e/netdev.c | |||
@@ -4086,16 +4086,15 @@ static struct pci_error_handlers e1000_err_handler = { | |||
4086 | }; | 4086 | }; |
4087 | 4087 | ||
4088 | static struct pci_device_id e1000_pci_tbl[] = { | 4088 | static struct pci_device_id e1000_pci_tbl[] = { |
4089 | /* | ||
4090 | * Support for 82571/2/3, es2lan and ich8 will be phased in | ||
4091 | * stepwise. | ||
4092 | |||
4093 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82571EB_COPPER), board_82571 }, | 4089 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82571EB_COPPER), board_82571 }, |
4094 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82571EB_FIBER), board_82571 }, | 4090 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82571EB_FIBER), board_82571 }, |
4095 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82571EB_QUAD_COPPER), board_82571 }, | 4091 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82571EB_QUAD_COPPER), board_82571 }, |
4096 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82571EB_QUAD_COPPER_LP), board_82571 }, | 4092 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82571EB_QUAD_COPPER_LP), board_82571 }, |
4097 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82571EB_QUAD_FIBER), board_82571 }, | 4093 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82571EB_QUAD_FIBER), board_82571 }, |
4098 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82571EB_SERDES), board_82571 }, | 4094 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82571EB_SERDES), board_82571 }, |
4095 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82571EB_SERDES_DUAL), board_82571 }, | ||
4096 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82571EB_SERDES_QUAD), board_82571 }, | ||
4097 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82571PT_QUAD_COPPER), board_82571 }, | ||
4099 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82572EI), board_82572 }, | 4098 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82572EI), board_82572 }, |
4100 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82572EI_COPPER), board_82572 }, | 4099 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82572EI_COPPER), board_82572 }, |
4101 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82572EI_FIBER), board_82572 }, | 4100 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_82572EI_FIBER), board_82572 }, |
@@ -4118,8 +4117,6 @@ static struct pci_device_id e1000_pci_tbl[] = { | |||
4118 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH8_IGP_C), board_ich8lan }, | 4117 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH8_IGP_C), board_ich8lan }, |
4119 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH8_IGP_M), board_ich8lan }, | 4118 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH8_IGP_M), board_ich8lan }, |
4120 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH8_IGP_M_AMT), board_ich8lan }, | 4119 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH8_IGP_M_AMT), board_ich8lan }, |
4121 | */ | ||
4122 | |||
4123 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH9_IFE), board_ich9lan }, | 4120 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH9_IFE), board_ich9lan }, |
4124 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH9_IFE_G), board_ich9lan }, | 4121 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH9_IFE_G), board_ich9lan }, |
4125 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH9_IFE_GT), board_ich9lan }, | 4122 | { PCI_VDEVICE(INTEL, E1000_DEV_ID_ICH9_IFE_GT), board_ich9lan }, |