tehuti: shorten PCI device table.
authorfrançois romieu <romieu@fr.zoreil.com>
Fri, 30 Sep 2011 00:39:23 +0000 (00:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Oct 2011 18:09:10 +0000 (14:09 -0400)
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/tehuti/tehuti.c

index 371ab7abd377ac971b9a7e43243f3366c953b43a..1151cf994cde8bed111e87c9b4ffbee92dee9944 100644 (file)
 #include "tehuti.h"
 
 static DEFINE_PCI_DEVICE_TABLE(bdx_pci_tbl) = {
-       {0x1FC9, 0x3009, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
-       {0x1FC9, 0x3010, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
-       {0x1FC9, 0x3014, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
-       {0}
+       { PCI_VDEVICE(TEHUTI, 0x3009), },
+       { PCI_VDEVICE(TEHUTI, 0x3010), },
+       { PCI_VDEVICE(TEHUTI, 0x3014), },
+       { 0 }
 };
 
 MODULE_DEVICE_TABLE(pci, bdx_pci_tbl);