cxgb4/cxgb4vf: Add device ID for new adapter and remove for dbg adapter
[linux-2.6-microblaze.git] / drivers / net / ethernet / chelsio / cxgb4vf / cxgb4vf_main.c
index d8d28e8..8253403 100644 (file)
@@ -2910,9 +2910,8 @@ static void cxgb4vf_pci_shutdown(struct pci_dev *pdev)
 #define CH_DEVICE(devid, idx) \
        { PCI_VENDOR_ID_CHELSIO, devid, PCI_ANY_ID, PCI_ANY_ID, 0, 0, idx }
 
-static DEFINE_PCI_DEVICE_TABLE(cxgb4vf_pci_tbl) = {
+static const struct pci_device_id cxgb4vf_pci_tbl[] = {
        CH_DEVICE(0xb000, 0),   /* PE10K FPGA */
-       CH_DEVICE(0x4800, 0),   /* T440-dbg */
        CH_DEVICE(0x4801, 0),   /* T420-cr */
        CH_DEVICE(0x4802, 0),   /* T422-cr */
        CH_DEVICE(0x4803, 0),   /* T440-cr */
@@ -2934,7 +2933,6 @@ static DEFINE_PCI_DEVICE_TABLE(cxgb4vf_pci_tbl) = {
        CH_DEVICE(0x4880, 6),
        CH_DEVICE(0x4880, 7),
        CH_DEVICE(0x4880, 8),
-       CH_DEVICE(0x5800, 0),   /* T580-dbg */
        CH_DEVICE(0x5801, 0),   /* T520-cr */
        CH_DEVICE(0x5802, 0),   /* T522-cr */
        CH_DEVICE(0x5803, 0),   /* T540-cr */
@@ -2962,6 +2960,7 @@ static DEFINE_PCI_DEVICE_TABLE(cxgb4vf_pci_tbl) = {
        CH_DEVICE(0x5883, 0),
        CH_DEVICE(0x5884, 0),
        CH_DEVICE(0x5885, 0),
+       CH_DEVICE(0x5886, 0),
        { 0, }
 };