aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/e100.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/e100.c b/drivers/net/e100.c
index 458af6a80bbb..e12cc68deaa4 100644
--- a/drivers/net/e100.c
+++ b/drivers/net/e100.c
@@ -2791,6 +2791,7 @@ static pci_ers_result_t e100_io_error_detected(struct pci_dev *pdev, pci_channel
2791 /* Detach; put netif into state similar to hotplug unplug. */ 2791 /* Detach; put netif into state similar to hotplug unplug. */
2792 netif_poll_enable(netdev); 2792 netif_poll_enable(netdev);
2793 netif_device_detach(netdev); 2793 netif_device_detach(netdev);
2794 pci_disable_device(pdev);
2794 2795
2795 /* Request a slot reset. */ 2796 /* Request a slot reset. */
2796 return PCI_ERS_RESULT_NEED_RESET; 2797 return PCI_ERS_RESULT_NEED_RESET;