diff options
Diffstat (limited to 'drivers/net/bnx2.c')
-rw-r--r-- | drivers/net/bnx2.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index ce3ed67a878e..23958f73c421 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c | |||
@@ -6363,10 +6363,9 @@ bnx2_init_board(struct pci_dev *pdev, struct net_device *dev) | |||
6363 | while ((amd_8132 = pci_get_device(PCI_VENDOR_ID_AMD, | 6363 | while ((amd_8132 = pci_get_device(PCI_VENDOR_ID_AMD, |
6364 | PCI_DEVICE_ID_AMD_8132_BRIDGE, | 6364 | PCI_DEVICE_ID_AMD_8132_BRIDGE, |
6365 | amd_8132))) { | 6365 | amd_8132))) { |
6366 | u8 rev; | ||
6367 | 6366 | ||
6368 | pci_read_config_byte(amd_8132, PCI_REVISION_ID, &rev); | 6367 | if (amd_8132->revision >= 0x10 && |
6369 | if (rev >= 0x10 && rev <= 0x13) { | 6368 | amd_8132->revision <= 0x13) { |
6370 | disable_msi = 1; | 6369 | disable_msi = 1; |
6371 | pci_dev_put(amd_8132); | 6370 | pci_dev_put(amd_8132); |
6372 | break; | 6371 | break; |