drivers/net/wireless: Use PCI_VDEVICE
authorJoe Perches <joe@perches.com>
Thu, 25 Jun 2009 05:13:27 +0000 (22:13 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:02:25 +0000 (15:02 -0400)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2x00/ipw2200.c
drivers/net/wireless/prism54/islpci_hotplug.c

index 44c29b3f67285ab608d3bf254db3498be3854962..d726b3c6077a6997d9d417896cebd2d8770eda2a 100644 (file)
@@ -11436,11 +11436,11 @@ static struct pci_device_id card_ids[] = {
        {PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2754, 0, 0, 0},
        {PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2761, 0, 0, 0},
        {PCI_VENDOR_ID_INTEL, 0x1043, 0x8086, 0x2762, 0, 0, 0},
-       {PCI_VENDOR_ID_INTEL, 0x104f, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
-       {PCI_VENDOR_ID_INTEL, 0x4220, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, /* BG */
-       {PCI_VENDOR_ID_INTEL, 0x4221, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, /* BG */
-       {PCI_VENDOR_ID_INTEL, 0x4223, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, /* ABG */
-       {PCI_VENDOR_ID_INTEL, 0x4224, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, /* ABG */
+       {PCI_VDEVICE(INTEL, 0x104f), 0},
+       {PCI_VDEVICE(INTEL, 0x4220), 0},        /* BG */
+       {PCI_VDEVICE(INTEL, 0x4221), 0},        /* BG */
+       {PCI_VDEVICE(INTEL, 0x4223), 0},        /* ABG */
+       {PCI_VDEVICE(INTEL, 0x4224), 0},        /* ABG */
 
        /* required last entry */
        {0,}
index 30876728d7e6ecd4d7a3b64085f9c44c883f33f0..83d366258c81e4b84dbe765dd946b04b5bf2abb0 100644 (file)
@@ -49,9 +49,7 @@ static const struct pci_device_id prism54_id_tbl[] = {
 
        /* 3COM 3CRWE154G72 Wireless LAN adapter */
        {
-        0x10b7, 0x6001,
-        PCI_ANY_ID, PCI_ANY_ID,
-        0, 0, 0
+        PCI_VDEVICE(3COM, 0x6001), 0
        },
 
        /* Intersil PRISM Indigo Wireless LAN adapter */