| From 450d743f5efccabeeee0494a69f425e2a5115cc5 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> |
| |
| diff --git a/drivers/net/tulip/tulip_core.c b/drivers/net/tulip/tulip_core.c |
| index 20696b5..541a860 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.1.1 |
| |