[PATCH] r8169: de-obfuscate supported PCI ID
authorFrancois Romieu <romieu@fr.zoreil.com>
Fri, 27 May 2005 19:11:37 +0000 (21:11 +0200)
committerFrancois Romieu <romieu@fr.zoreil.com>
Fri, 27 May 2005 19:11:37 +0000 (21:11 +0200)
De-obfuscate supported PCI ID

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
drivers/net/r8169.c

index d064b5b0d192df3fbf51e1dfd1d124bc1a0e4299..0f1f81b50c4acf8719bac2c5ada26768471e24aa 100644 (file)
@@ -174,9 +174,9 @@ const static struct {
 #undef _R
 
 static struct pci_device_id rtl8169_pci_tbl[] = {
-       {0x10ec, 0x8169, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
-       {0x1186, 0x4300, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
-       {0x16ec, 0x0116, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+       { PCI_DEVICE(PCI_VENDOR_ID_REALTEK,     0x8169), },
+       { PCI_DEVICE(PCI_VENDOR_ID_DLINK,       0x4300), },
+       { PCI_DEVICE(0x16ec,                    0x0116), },
        {0,},
 };