2.4.13: Let modules register PCI devs
PATCH 1/1 2.4.13: Let modules register PCI devs
Howdy. This little patch allows loaded modules to register and unregister entries in /proc/bus/pci without invoking hotplug processing. (This is valuable for the independently maintained pcmcia code, at least.)
Signature · 2 lines
Chip Salzenberg - a.k.a. - <[email protected]> "We have no fuel on board, plus or minus 8 kilograms." -- NEAR tech
Index: linux/drivers/pci/pci.c
drivers/pci/pci.c renamed from drivers/pci/pci.c.old +4 -0
@@ -2087,2 +2087,6 @@EXPORT_SYMBOL (pci_pool_free); +/* Interface to /proc/bus */ + +EXPORT_SYMBOL (pci_proc_attach_device); +EXPORT_SYMBOL (pci_proc_detach_device);