aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/atm/lanai.c14
-rw-r--r--include/linux/pci_ids.h4
2 files changed, 6 insertions, 12 deletions
diff --git a/drivers/atm/lanai.c b/drivers/atm/lanai.c
index 203c70378b15..0e2c1ae650e7 100644
--- a/drivers/atm/lanai.c
+++ b/drivers/atm/lanai.c
@@ -246,8 +246,8 @@ struct lanai_vcc {
246}; 246};
247 247
248enum lanai_type { 248enum lanai_type {
249 lanai2 = PCI_VENDOR_ID_EF_ATM_LANAI2, 249 lanai2 = PCI_DEVICE_ID_EF_ATM_LANAI2,
250 lanaihb = PCI_VENDOR_ID_EF_ATM_LANAIHB 250 lanaihb = PCI_DEVICE_ID_EF_ATM_LANAIHB
251}; 251};
252 252
253struct lanai_dev_stats { 253struct lanai_dev_stats {
@@ -2622,14 +2622,8 @@ static int __devinit lanai_init_one(struct pci_dev *pci,
2622} 2622}
2623 2623
2624static struct pci_device_id lanai_pci_tbl[] = { 2624static struct pci_device_id lanai_pci_tbl[] = {
2625 { 2625 { PCI_VDEVICE(EF, PCI_DEVICE_ID_EF_ATM_LANAI2) },
2626 PCI_VENDOR_ID_EF, PCI_VENDOR_ID_EF_ATM_LANAI2, 2626 { PCI_VDEVICE(EF, PCI_DEVICE_ID_EF_ATM_LANAIHB) },
2627 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0
2628 },
2629 {
2630 PCI_VENDOR_ID_EF, PCI_VENDOR_ID_EF_ATM_LANAIHB,
2631 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0
2632 },
2633 { 0, } /* terminal entry */ 2627 { 0, } /* terminal entry */
2634}; 2628};
2635MODULE_DEVICE_TABLE(pci, lanai_pci_tbl); 2629MODULE_DEVICE_TABLE(pci, lanai_pci_tbl);
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 75c4d4d06892..a260a947c917 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -1383,8 +1383,8 @@
1383#define PCI_VENDOR_ID_EF 0x111a 1383#define PCI_VENDOR_ID_EF 0x111a
1384#define PCI_DEVICE_ID_EF_ATM_FPGA 0x0000 1384#define PCI_DEVICE_ID_EF_ATM_FPGA 0x0000
1385#define PCI_DEVICE_ID_EF_ATM_ASIC 0x0002 1385#define PCI_DEVICE_ID_EF_ATM_ASIC 0x0002
1386#define PCI_VENDOR_ID_EF_ATM_LANAI2 0x0003 1386#define PCI_DEVICE_ID_EF_ATM_LANAI2 0x0003
1387#define PCI_VENDOR_ID_EF_ATM_LANAIHB 0x0005 1387#define PCI_DEVICE_ID_EF_ATM_LANAIHB 0x0005
1388 1388
1389#define PCI_VENDOR_ID_IDT 0x111d 1389#define PCI_VENDOR_ID_IDT 0x111d
1390#define PCI_DEVICE_ID_IDT_IDT77201 0x0001 1390#define PCI_DEVICE_ID_IDT_IDT77201 0x0001