diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-07-03 13:30:18 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-04-10 00:18:39 (GMT) |
commit | b189a901e2d12a6dfbb5a3ec1af0279d4fcdb747 (patch) | |
tree | c526310c3d48a0a4bad948e883bb9b6b5e478752 | |
parent | 57ed8d0a9c804b2ab7998a70db3a291c5bcc174e (diff) | |
download | linux-fsl-qoriq-b189a901e2d12a6dfbb5a3ec1af0279d4fcdb747.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>
-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 4e8cfa2..7565b99 100644 --- a/drivers/net/ethernet/dec/tulip/tulip_core.c +++ b/drivers/net/ethernet/dec/tulip/tulip_core.c @@ -1939,6 +1939,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); */ |