diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-07-03 08:30:18 -0500 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-04-04 09:14:16 -0500 |
commit | ef3cfb62c071814927e618f34cff69db93bf2811 (patch) | |
tree | 220689f44beab906dd09a2d59e23f7ce1ec5686e /drivers | |
parent | b2333551bfb2cf308f8a746c8daf08e6e7e49310 (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')
-rw-r--r-- | drivers/net/ethernet/dec/tulip/tulip_core.c | 1 |
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); */ |