Messages in this thread Patch in this message | | | Date | Fri, 26 Oct 2001 12:38:09 -0700 | From | Chip Salzenberg <> | Subject | [PATCH] 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.) -- Chip Salzenberg - a.k.a. - <chip@pobox.com> "We have no fuel on board, plus or minus 8 kilograms." -- NEAR tech
Index: linux/drivers/pci/pci.c --- linux/drivers/pci/pci.c.old Wed Oct 24 19:16:12 2001 +++ linux/drivers/pci/pci.c Thu Oct 25 21:53:13 2001 @@ -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); | |