Commit 040dec3b authored by Dhananjay Phadke's avatar Dhananjay Phadke Committed by Jeff Garzik

netxen: add pci ids

Define old and new pci vendor and device ids.
Signed-off-by: default avatarDhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 9a6b3b54
...@@ -77,18 +77,18 @@ static irqreturn_t netxen_msi_intr(int irq, void *data); ...@@ -77,18 +77,18 @@ static irqreturn_t netxen_msi_intr(int irq, void *data);
/* PCI Device ID Table */ /* PCI Device ID Table */
#define ENTRY(device) \ #define ENTRY(device) \
{PCI_DEVICE(0x4040, (device)), \ {PCI_DEVICE(PCI_VENDOR_ID_NETXEN, (device)), \
.class = PCI_CLASS_NETWORK_ETHERNET << 8, .class_mask = ~0} .class = PCI_CLASS_NETWORK_ETHERNET << 8, .class_mask = ~0}
static struct pci_device_id netxen_pci_tbl[] __devinitdata = { static struct pci_device_id netxen_pci_tbl[] __devinitdata = {
ENTRY(0x0001), ENTRY(PCI_DEVICE_ID_NX2031_10GXSR),
ENTRY(0x0002), ENTRY(PCI_DEVICE_ID_NX2031_10GCX4),
ENTRY(0x0003), ENTRY(PCI_DEVICE_ID_NX2031_4GCU),
ENTRY(0x0004), ENTRY(PCI_DEVICE_ID_NX2031_IMEZ),
ENTRY(0x0005), ENTRY(PCI_DEVICE_ID_NX2031_HMEZ),
ENTRY(0x0024), ENTRY(PCI_DEVICE_ID_NX2031_XG_MGMT),
ENTRY(0x0025), ENTRY(PCI_DEVICE_ID_NX2031_XG_MGMT2),
ENTRY(0x0100), ENTRY(PCI_DEVICE_ID_NX3031),
{0,} {0,}
}; };
......
...@@ -2247,6 +2247,16 @@ ...@@ -2247,6 +2247,16 @@
#define PCI_DEVICE_ID_3DLABS_PERMEDIA2 0x0007 #define PCI_DEVICE_ID_3DLABS_PERMEDIA2 0x0007
#define PCI_DEVICE_ID_3DLABS_PERMEDIA2V 0x0009 #define PCI_DEVICE_ID_3DLABS_PERMEDIA2V 0x0009
#define PCI_VENDOR_ID_NETXEN 0x4040
#define PCI_DEVICE_ID_NX2031_10GXSR 0x0001
#define PCI_DEVICE_ID_NX2031_10GCX4 0x0002
#define PCI_DEVICE_ID_NX2031_4GCU 0x0003
#define PCI_DEVICE_ID_NX2031_IMEZ 0x0004
#define PCI_DEVICE_ID_NX2031_HMEZ 0x0005
#define PCI_DEVICE_ID_NX2031_XG_MGMT 0x0024
#define PCI_DEVICE_ID_NX2031_XG_MGMT2 0x0025
#define PCI_DEVICE_ID_NX3031 0x0100
#define PCI_VENDOR_ID_AKS 0x416c #define PCI_VENDOR_ID_AKS 0x416c
#define PCI_DEVICE_ID_AKS_ALADDINCARD 0x0100 #define PCI_DEVICE_ID_AKS_ALADDINCARD 0x0100
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment