diff options
author | Paul Larson <pl@us.ibm.com> | 2008-06-25 00:00:56 (GMT) |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-06-27 05:27:46 (GMT) |
commit | 6f4a0e45c6392f84436004d4c04d31b8ff5071c5 (patch) | |
tree | 173e74abb1cb535761defdf9bafe2ec08f564d43 /drivers | |
parent | ccc57aac9c9532b4540968632a8c4a0b946dbcc4 (diff) | |
download | linux-fsl-qoriq-6f4a0e45c6392f84436004d4c04d31b8ff5071c5.tar.xz |
ixgbe: fix EEH recovery during reset on PPC
EEh is not recovering in a resonable amount of time on PPC during
ixgbe_down().
Signed-off-by: Paul Larson <pl@us.ibm.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c index 7b85922..8f04609 100644 --- a/drivers/net/ixgbe/ixgbe_main.c +++ b/drivers/net/ixgbe/ixgbe_main.c @@ -1969,7 +1969,8 @@ void ixgbe_down(struct ixgbe_adapter *adapter) netif_carrier_off(netdev); netif_stop_queue(netdev); - ixgbe_reset(adapter); + if (!pci_channel_offline(adapter->pdev)) + ixgbe_reset(adapter); ixgbe_clean_all_tx_rings(adapter); ixgbe_clean_all_rx_rings(adapter); |