igb: fix EEH recovery during reset on PPC

EEH is not recovering in a reasonable amount of time on PPC during
igb_down().

Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
Jeff Kirsher 2008-06-24 17:01:15 -07:00 коммит произвёл Jeff Garzik
Родитель 6f4a0e45c6
Коммит 3023682e74
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -718,7 +718,8 @@ void igb_down(struct igb_adapter *adapter)
adapter->link_speed = 0; adapter->link_speed = 0;
adapter->link_duplex = 0; adapter->link_duplex = 0;
igb_reset(adapter); if (!pci_channel_offline(adapter->pdev))
igb_reset(adapter);
igb_clean_all_tx_rings(adapter); igb_clean_all_tx_rings(adapter);
igb_clean_all_rx_rings(adapter); igb_clean_all_rx_rings(adapter);
} }