diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/bnx2.c | 3 | ||||
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 2 | ||||
-rw-r--r-- | drivers/net/ixgb/ixgb_main.c | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index c416c18007da..5a96d7611af1 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c | |||
@@ -5947,8 +5947,7 @@ bnx2_init_board(struct pci_dev *pdev, struct net_device *dev) | |||
5947 | * responding after a while. | 5947 | * responding after a while. |
5948 | * | 5948 | * |
5949 | * AMD believes this incompatibility is unique to the 5706, and | 5949 | * AMD believes this incompatibility is unique to the 5706, and |
5950 | * prefers to locally disable MSI rather than globally disabling it | 5950 | * prefers to locally disable MSI rather than globally disabling it. |
5951 | * using pci_msi_quirk. | ||
5952 | */ | 5951 | */ |
5953 | if (CHIP_NUM(bp) == CHIP_NUM_5706 && disable_msi == 0) { | 5952 | if (CHIP_NUM(bp) == CHIP_NUM_5706 && disable_msi == 0) { |
5954 | struct pci_dev *amd_8132 = NULL; | 5953 | struct pci_dev *amd_8132 = NULL; |
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index 222fcd2d10de..619c89218b4b 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -3584,7 +3584,7 @@ e1000_update_stats(struct e1000_adapter *adapter) | |||
3584 | */ | 3584 | */ |
3585 | if (adapter->link_speed == 0) | 3585 | if (adapter->link_speed == 0) |
3586 | return; | 3586 | return; |
3587 | if (pdev->error_state && pdev->error_state != pci_channel_io_normal) | 3587 | if (pci_channel_offline(pdev)) |
3588 | return; | 3588 | return; |
3589 | 3589 | ||
3590 | spin_lock_irqsave(&adapter->stats_lock, flags); | 3590 | spin_lock_irqsave(&adapter->stats_lock, flags); |
diff --git a/drivers/net/ixgb/ixgb_main.c b/drivers/net/ixgb/ixgb_main.c index 51bd7e8ff0d6..0c3682889344 100644 --- a/drivers/net/ixgb/ixgb_main.c +++ b/drivers/net/ixgb/ixgb_main.c | |||
@@ -1605,7 +1605,7 @@ ixgb_update_stats(struct ixgb_adapter *adapter) | |||
1605 | struct pci_dev *pdev = adapter->pdev; | 1605 | struct pci_dev *pdev = adapter->pdev; |
1606 | 1606 | ||
1607 | /* Prevent stats update while adapter is being reset */ | 1607 | /* Prevent stats update while adapter is being reset */ |
1608 | if (pdev->error_state && pdev->error_state != pci_channel_io_normal) | 1608 | if (pci_channel_offline(pdev)) |
1609 | return; | 1609 | return; |
1610 | 1610 | ||
1611 | if((netdev->flags & IFF_PROMISC) || (netdev->flags & IFF_ALLMULTI) || | 1611 | if((netdev->flags & IFF_PROMISC) || (netdev->flags & IFF_ALLMULTI) || |