[PATCH] 2.4.13: Let modules register PCI devs

Chip Salzenberg (chip@pobox.com)
Fri, 26 Oct 2001 12:38:09 -0700


--cNdxnHkX5QqsyA0e
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

--cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=pci-proc-export-1

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);

--cNdxnHkX5QqsyA0e-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/