diff options
-rw-r--r-- | drivers/net/netxen/netxen_nic_main.c | 18 | ||||
-rw-r--r-- | include/linux/pci_ids.h | 10 |
2 files changed, 19 insertions, 9 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index 008fd6618a5f..0f8ea2c7728b 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c | |||
@@ -77,18 +77,18 @@ static irqreturn_t netxen_msi_intr(int irq, void *data); | |||
77 | 77 | ||
78 | /* PCI Device ID Table */ | 78 | /* PCI Device ID Table */ |
79 | #define ENTRY(device) \ | 79 | #define ENTRY(device) \ |
80 | {PCI_DEVICE(0x4040, (device)), \ | 80 | {PCI_DEVICE(PCI_VENDOR_ID_NETXEN, (device)), \ |
81 | .class = PCI_CLASS_NETWORK_ETHERNET << 8, .class_mask = ~0} | 81 | .class = PCI_CLASS_NETWORK_ETHERNET << 8, .class_mask = ~0} |
82 | 82 | ||
83 | static struct pci_device_id netxen_pci_tbl[] __devinitdata = { | 83 | static struct pci_device_id netxen_pci_tbl[] __devinitdata = { |
84 | ENTRY(0x0001), | 84 | ENTRY(PCI_DEVICE_ID_NX2031_10GXSR), |
85 | ENTRY(0x0002), | 85 | ENTRY(PCI_DEVICE_ID_NX2031_10GCX4), |
86 | ENTRY(0x0003), | 86 | ENTRY(PCI_DEVICE_ID_NX2031_4GCU), |
87 | ENTRY(0x0004), | 87 | ENTRY(PCI_DEVICE_ID_NX2031_IMEZ), |
88 | ENTRY(0x0005), | 88 | ENTRY(PCI_DEVICE_ID_NX2031_HMEZ), |
89 | ENTRY(0x0024), | 89 | ENTRY(PCI_DEVICE_ID_NX2031_XG_MGMT), |
90 | ENTRY(0x0025), | 90 | ENTRY(PCI_DEVICE_ID_NX2031_XG_MGMT2), |
91 | ENTRY(0x0100), | 91 | ENTRY(PCI_DEVICE_ID_NX3031), |
92 | {0,} | 92 | {0,} |
93 | }; | 93 | }; |
94 | 94 | ||
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 6f4276d461c0..a65b082a888a 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h | |||
@@ -2247,6 +2247,16 @@ | |||
2247 | #define PCI_DEVICE_ID_3DLABS_PERMEDIA2 0x0007 | 2247 | #define PCI_DEVICE_ID_3DLABS_PERMEDIA2 0x0007 |
2248 | #define PCI_DEVICE_ID_3DLABS_PERMEDIA2V 0x0009 | 2248 | #define PCI_DEVICE_ID_3DLABS_PERMEDIA2V 0x0009 |
2249 | 2249 | ||
2250 | #define PCI_VENDOR_ID_NETXEN 0x4040 | ||
2251 | #define PCI_DEVICE_ID_NX2031_10GXSR 0x0001 | ||
2252 | #define PCI_DEVICE_ID_NX2031_10GCX4 0x0002 | ||
2253 | #define PCI_DEVICE_ID_NX2031_4GCU 0x0003 | ||
2254 | #define PCI_DEVICE_ID_NX2031_IMEZ 0x0004 | ||
2255 | #define PCI_DEVICE_ID_NX2031_HMEZ 0x0005 | ||
2256 | #define PCI_DEVICE_ID_NX2031_XG_MGMT 0x0024 | ||
2257 | #define PCI_DEVICE_ID_NX2031_XG_MGMT2 0x0025 | ||
2258 | #define PCI_DEVICE_ID_NX3031 0x0100 | ||
2259 | |||
2250 | #define PCI_VENDOR_ID_AKS 0x416c | 2260 | #define PCI_VENDOR_ID_AKS 0x416c |
2251 | #define PCI_DEVICE_ID_AKS_ALADDINCARD 0x0100 | 2261 | #define PCI_DEVICE_ID_AKS_ALADDINCARD 0x0100 |
2252 | 2262 | ||