| From 7bd95dce9ce99cf3afb9f6520fb5b12f21afff59 Mon Sep 17 00:00:00 2001 |
| From: Ingo Molnar <mingo@elte.hu> |
| Date: Fri, 3 Jul 2009 08:30:18 -0500 |
| Subject: [PATCH] drivers/net: tulip_remove_one needs to call pci_disable_device() |
| |
| commit 66982eb8843526b65094640835180acee28707f1 in tip. |
| |
| Otherwise the device is not completely shut down. |
| |
| Signed-off-by: Ingo Molnar <mingo@elte.hu> |
| Signed-off-by: Thomas Gleixner <tglx@linutronix.de> |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| --- |
| 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 3810db9..b4c0c13 100644 |
| --- a/drivers/net/tulip/tulip_core.c |
| +++ b/drivers/net/tulip/tulip_core.c |
| @@ -1837,6 +1837,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); */ |
| -- |
| 1.7.0.4 |
| |