* [PATCH] rtl8139too.c: Fix missing pci_disable_dev
@ 2004-10-22 21:28 Thomas Gleixner
0 siblings, 0 replies; only message in thread
From: Thomas Gleixner @ 2004-10-22 21:28 UTC (permalink / raw)
To: Andrew Morton; +Cc: LKML, Jeff Garzik
Simple fix to make pci_enable/disable symetric and avoid the warning on
module unload.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
diff -urN --exclude='*~' 2.6.9-mm1-U10/drivers/net/8139too.c
2.6.9-mm1-U10.work/drivers/net/8139too.c
--- 2.6.9-mm1-U10/drivers/net/8139too.c 2004-10-22 19:10:44.000000000
+0200
+++ 2.6.9-mm1-U10.work/drivers/net/8139too.c 2004-10-22
21:52:19.000000000 +0200
@@ -749,7 +749,7 @@
pci_release_regions (pdev);
free_netdev(dev);
-
+ pci_disable_device(pdev);
pci_set_drvdata (pdev, NULL);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-10-22 21:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-22 21:28 [PATCH] rtl8139too.c: Fix missing pci_disable_dev Thomas Gleixner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.