* [PATCH V2] staging/slicoss: disable pci device at remove
@ 2012-07-11 6:09 Devendra Naga
0 siblings, 0 replies; only message in thread
From: Devendra Naga @ 2012-07-11 6:09 UTC (permalink / raw)
To: Greg Kroah-Hartman, Devendra Naga, devel, linux-kernel,
Lior Dotan, Christopher Harrer
at probe we enabled the device, and we should disable it at remove.
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
---
changes v2:
nothing, just a resend, incremented patch version count for maintainer to have notified the latest change easily.
drivers/staging/slicoss/slicoss.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c
index 785e4c5..56829fc 100644
--- a/drivers/staging/slicoss/slicoss.c
+++ b/drivers/staging/slicoss/slicoss.c
@@ -3234,6 +3234,7 @@ static void __devexit slic_entry_remove(struct pci_dev *pcidev)
}
free_netdev(dev);
pci_release_regions(pcidev);
+ pci_disable_device(pcidev);
}
static int slic_entry_halt(struct net_device *dev)
--
1.7.9.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-07-11 6:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-11 6:09 [PATCH V2] staging/slicoss: disable pci device at remove Devendra Naga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox