diff options
author | Divy Le Ray <divy@chelsio.com> | 2007-11-16 17:26:44 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:04:07 -0500 |
commit | 678771d6f5242573fe4eb9fc14f7479646d52cf6 (patch) | |
tree | 160e2a8ce0e9fed5c220b9f2610d11169ce541dd /drivers/net/cxgb3 | |
parent | 42256f57d894a4e4aa5af42d04191d7a12f10df9 (diff) |
cxgb3 - Use wild card for PCI subdevice ID match
Subdevice ID is not necessarily set to 1.
Use wild card for PCI device matching
Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/cxgb3')
-rw-r--r-- | drivers/net/cxgb3/cxgb3_main.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c index bb0d1c841c0f..d92da8fe4a50 100644 --- a/drivers/net/cxgb3/cxgb3_main.c +++ b/drivers/net/cxgb3/cxgb3_main.c | |||
@@ -76,20 +76,20 @@ enum { | |||
76 | 76 | ||
77 | #define EEPROM_MAGIC 0x38E2F10C | 77 | #define EEPROM_MAGIC 0x38E2F10C |
78 | 78 | ||
79 | #define CH_DEVICE(devid, ssid, idx) \ | 79 | #define CH_DEVICE(devid, idx) \ |
80 | { PCI_VENDOR_ID_CHELSIO, devid, PCI_ANY_ID, ssid, 0, 0, idx } | 80 | { PCI_VENDOR_ID_CHELSIO, devid, PCI_ANY_ID, PCI_ANY_ID, 0, 0, idx } |
81 | 81 | ||
82 | static const struct pci_device_id cxgb3_pci_tbl[] = { | 82 | static const struct pci_device_id cxgb3_pci_tbl[] = { |
83 | CH_DEVICE(0x20, 1, 0), /* PE9000 */ | 83 | CH_DEVICE(0x20, 0), /* PE9000 */ |
84 | CH_DEVICE(0x21, 1, 1), /* T302E */ | 84 | CH_DEVICE(0x21, 1), /* T302E */ |
85 | CH_DEVICE(0x22, 1, 2), /* T310E */ | 85 | CH_DEVICE(0x22, 2), /* T310E */ |
86 | CH_DEVICE(0x23, 1, 3), /* T320X */ | 86 | CH_DEVICE(0x23, 3), /* T320X */ |
87 | CH_DEVICE(0x24, 1, 1), /* T302X */ | 87 | CH_DEVICE(0x24, 1), /* T302X */ |
88 | CH_DEVICE(0x25, 1, 3), /* T320E */ | 88 | CH_DEVICE(0x25, 3), /* T320E */ |
89 | CH_DEVICE(0x26, 1, 2), /* T310X */ | 89 | CH_DEVICE(0x26, 2), /* T310X */ |
90 | CH_DEVICE(0x30, 1, 2), /* T3B10 */ | 90 | CH_DEVICE(0x30, 2), /* T3B10 */ |
91 | CH_DEVICE(0x31, 1, 3), /* T3B20 */ | 91 | CH_DEVICE(0x31, 3), /* T3B20 */ |
92 | CH_DEVICE(0x32, 1, 1), /* T3B02 */ | 92 | CH_DEVICE(0x32, 1), /* T3B02 */ |
93 | {0,} | 93 | {0,} |
94 | }; | 94 | }; |
95 | 95 | ||