aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2014-02-14 15:32:20 +0100
committerJiri Slaby <jslaby@suse.cz>2014-04-25 18:45:50 +0200
commit831bb5573dcbeb0da783c82e21084ac191dafc24 (patch)
tree8b8a8a6f1e2b711e6b8d303ee118f6ca839679fa
parent3566e03b5bc9c06855b07423ab4c6e2710aa21e4 (diff)
drivers/net: tulip_remove_one needs to call pci_disable_device()
commit c321f7d7c87cdc623c87845f6378620573e57512 upstream. Otherwise the device is not completely shut down. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
-rw-r--r--drivers/net/ethernet/dec/tulip/tulip_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/dec/tulip/tulip_core.c b/drivers/net/ethernet/dec/tulip/tulip_core.c
index 4e8cfa2ac80..779016068a8 100644
--- a/drivers/net/ethernet/dec/tulip/tulip_core.c
+++ b/drivers/net/ethernet/dec/tulip/tulip_core.c
@@ -1940,6 +1940,7 @@ static void tulip_remove_one(struct pci_dev *pdev)
free_netdev (dev);
pci_release_regions (pdev);
pci_set_drvdata (pdev, NULL);
+ pci_disable_device(pdev);
/* pci_power_off (pdev, -1); */
}