diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2007-06-18 04:58:13 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-11 19:02:10 -0400 |
commit | 1d0ed384c1f2582b6f7408642c77a78a0c410122 (patch) | |
tree | 1553465ee0b4407093bdf9d9f2fd8bf3950732f1 /drivers/atm/lanai.c | |
parent | 44c10138fd4bbc4b6d6bff0873c24902f2a9da65 (diff) |
PCI: ATM: lanai, change VENDOR to DEVICE
lanai, change VENDOR to DEVICE
There were 2 bad named macros in pci_ids (LANAI 2 and IHB). Rename it to
DEVICE, because it's device id. Also make some cleanpu in pci_device_id
table (use PCI_VDEVICE).
Cc: Mitchell Blank Jr <mitch@sfgoth.com>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/atm/lanai.c')
-rw-r--r-- | drivers/atm/lanai.c | 14 |
1 files changed, 4 insertions, 10 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 | ||
248 | enum lanai_type { | 248 | enum 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 | ||
253 | struct lanai_dev_stats { | 253 | struct lanai_dev_stats { |
@@ -2622,14 +2622,8 @@ static int __devinit lanai_init_one(struct pci_dev *pci, | |||
2622 | } | 2622 | } |
2623 | 2623 | ||
2624 | static struct pci_device_id lanai_pci_tbl[] = { | 2624 | static 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 | }; |
2635 | MODULE_DEVICE_TABLE(pci, lanai_pci_tbl); | 2629 | MODULE_DEVICE_TABLE(pci, lanai_pci_tbl); |