summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-07-03 08:30:18 -0500
committerClark Williams <williams@redhat.com>2011-12-28 16:25:22 -0600
commitfb958205dce23643af489cb448a2cfc2b17daaf8 (patch)
treed58f728137ccf0544a0b9263344b3bb343a3fdb8 /drivers/net/ethernet
parent5df53df0a2feebb78c3cdede11a89e78059ac045 (diff)
drivers/net: tulip_remove_one needs to call pci_disable_device()
Otherwise the device is not completely shut down. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/net/ethernet')
-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 9656dd0647d9..ef7df09c7585 100644
--- a/drivers/net/ethernet/dec/tulip/tulip_core.c
+++ b/drivers/net/ethernet/dec/tulip/tulip_core.c
@@ -1949,6 +1949,7 @@ static void __devexit tulip_remove_one (struct pci_dev *pdev)
pci_iounmap(pdev, tp->base_addr);
free_netdev (dev);
pci_release_regions (pdev);
+ pci_disable_device (pdev);
pci_set_drvdata (pdev, NULL);
/* pci_power_off (pdev, -1); */