diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-08-12 04:24:10 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-13 02:02:58 -0400 |
commit | e4ed7113372a04df9b7aa985ce3860207dbb1141 (patch) | |
tree | 78d02a1b0860aff560a54b6b2fa1e5599883ab2b /drivers/net | |
parent | 0fc5d0094de11bb005c35f03fb1d3b52b0bd85e3 (diff) |
bnx2x: Using PCI_DEVICE macro
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/bnx2x_main.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c index 6b6aa89f752e..b084e8b531af 100644 --- a/drivers/net/bnx2x_main.c +++ b/drivers/net/bnx2x_main.c | |||
@@ -138,12 +138,9 @@ static struct { | |||
138 | 138 | ||
139 | 139 | ||
140 | static const struct pci_device_id bnx2x_pci_tbl[] = { | 140 | static const struct pci_device_id bnx2x_pci_tbl[] = { |
141 | { PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_NX2_57710, | 141 | { PCI_VDEVICE(BROADCOM, PCI_DEVICE_ID_NX2_57710), BCM57710 }, |
142 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, BCM57710 }, | 142 | { PCI_VDEVICE(BROADCOM, PCI_DEVICE_ID_NX2_57711), BCM57711 }, |
143 | { PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_NX2_57711, | 143 | { PCI_VDEVICE(BROADCOM, PCI_DEVICE_ID_NX2_57711E), BCM57711E }, |
144 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, BCM57711 }, | ||
145 | { PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_NX2_57711E, | ||
146 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, BCM57711E }, | ||
147 | { 0 } | 144 | { 0 } |
148 | }; | 145 | }; |
149 | 146 | ||