Commit e4ed7113 authored by Eilon Greenstein's avatar Eilon Greenstein Committed by David S. Miller

bnx2x: Using PCI_DEVICE macro

Signed-off-by: default avatarEilon Greenstein <eilong@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0fc5d009
...@@ -138,12 +138,9 @@ static struct { ...@@ -138,12 +138,9 @@ static struct {
static const struct pci_device_id bnx2x_pci_tbl[] = { static const struct pci_device_id bnx2x_pci_tbl[] = {
{ PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_NX2_57710, { PCI_VDEVICE(BROADCOM, PCI_DEVICE_ID_NX2_57710), BCM57710 },
PCI_ANY_ID, PCI_ANY_ID, 0, 0, BCM57710 }, { PCI_VDEVICE(BROADCOM, PCI_DEVICE_ID_NX2_57711), BCM57711 },
{ PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_NX2_57711, { PCI_VDEVICE(BROADCOM, PCI_DEVICE_ID_NX2_57711E), BCM57711E },
PCI_ANY_ID, PCI_ANY_ID, 0, 0, BCM57711 },
{ PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_NX2_57711E,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, BCM57711E },
{ 0 } { 0 }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment