public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chip Salzenberg <chip@pobox.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] 2.4.13: Let modules register PCI devs
Date: Fri, 26 Oct 2001 12:38:09 -0700	[thread overview]
Message-ID: <20011026123809.A17022@perlsupport.com> (raw)

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

                 reply	other threads:[~2001-10-26 19:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011026123809.A17022@perlsupport.com \
    --to=chip@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox