diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-07-03 08:30:18 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-07-20 14:06:35 +0200 |
commit | 66982eb8843526b65094640835180acee28707f1 (patch) | |
tree | 94550761b7eea0516c532d89b3e70b4ca5bd0a46 | |
parent | 6c37c1b53945ccc8aa55e1eac48bed3ef89bbde4 (diff) | |
download | lwn-66982eb8843526b65094640835180acee28707f1.tar.gz lwn-66982eb8843526b65094640835180acee28707f1.zip |
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/tulip/tulip_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/tulip/tulip_core.c b/drivers/net/tulip/tulip_core.c index 99a63649f4fc..58892385a6bc 100644 --- a/drivers/net/tulip/tulip_core.c +++ b/drivers/net/tulip/tulip_core.c @@ -1816,6 +1816,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); */ |