public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.4.13: Let modules register PCI devs
@ 2001-10-26 19:38 Chip Salzenberg
  0 siblings, 0 replies; only message in thread
From: Chip Salzenberg @ 2001-10-26 19:38 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Linux Kernel

[-- Attachment #1: Type: text/plain, Size: 358 bytes --]

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

[-- Attachment #2: pci-proc-export-1 --]
[-- Type: text/plain, Size: 310 bytes --]


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-26 19:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-26 19:38 [PATCH] 2.4.13: Let modules register PCI devs Chip Salzenberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox