lkml.org 
[lkml]   [2001]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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);
\
 
 \ /
  Last update: 2005-03-22 13:11    [W:0.022 / U:25.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site