aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bnx2.c')
-rw-r--r--drivers/net/bnx2.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index d681903c592d..02e994b1b028 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -6736,10 +6736,9 @@ bnx2_init_board(struct pci_dev *pdev, struct net_device *dev)
6736 while ((amd_8132 = pci_get_device(PCI_VENDOR_ID_AMD, 6736 while ((amd_8132 = pci_get_device(PCI_VENDOR_ID_AMD,
6737 PCI_DEVICE_ID_AMD_8132_BRIDGE, 6737 PCI_DEVICE_ID_AMD_8132_BRIDGE,
6738 amd_8132))) { 6738 amd_8132))) {
6739 u8 rev;
6740 6739
6741 pci_read_config_byte(amd_8132, PCI_REVISION_ID, &rev); 6740 if (amd_8132->revision >= 0x10 &&
6742 if (rev >= 0x10 && rev <= 0x13) { 6741 amd_8132->revision <= 0x13) {
6743 disable_msi = 1; 6742 disable_msi = 1;
6744 pci_dev_put(amd_8132); 6743 pci_dev_put(amd_8132);
6745 break; 6744 break;