diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-07-03 13:30:18 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2013-04-04 22:09:09 (GMT) |
commit | fcb4c11643e5a58f1e7089466750995cac1b15bd (patch) | |
tree | fd405f8623c60a48add4aedfed887749e93dcc76 /drivers/net/ethernet/dec | |
parent | cd9b3157ae6bc6e4bb8f324781d8cd1180383074 (diff) | |
download | linux-fsl-qoriq-fcb4c11643e5a58f1e7089466750995cac1b15bd.tar.xz |
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/dec')
-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 1e9443d..d25961b 100644 --- a/drivers/net/ethernet/dec/tulip/tulip_core.c +++ b/drivers/net/ethernet/dec/tulip/tulip_core.c @@ -1943,6 +1943,7 @@ static void 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); */ |