From: Greg KH <greg@kroah.com>
To: "Bloch, Jack" <Jack.Bloch@icn.siemens.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux hot swap support
Date: Wed, 18 Sep 2002 13:37:58 -0700 [thread overview]
Message-ID: <20020918203757.GC10970@kroah.com> (raw)
In-Reply-To: <180577A42806D61189D30008C7E632E8793A64@boca213a.boca.ssc.siemens.com>
Cced back to lkml as I hate taking things off-line unless it's
necessary, archives are your friend.
On Wed, Sep 18, 2002 at 07:50:49AM -0400, Bloch, Jack wrote:
> Thanks for the response. In my driver init routine, I use the
> pci_module_init( ) to register my driver with the PCI subsystem. Is this
> enough?
No, that's enough to register your driver as a PCI driver. I'm guessing
your pci hotplug controller looks like a PCI device?
> What exactly is the hotplug_core and or pcihpfs?
See drivers/hotplug/pci_hotplug.h for the interface that a pci hotplug
controller driver needs to interface with (specifcly the
pci_hp_register() and pci_hp_unregister() functions are what you need).
> Do I have to implement the pci_insert_device/pci_remove_device methods
> or does the kernel simply call the probe_one/remove_one which I
> specify during my initialization.
I'm confused, are you talking about a normal PCI card driver, or a PCI
Hotplug controller driver? What exactly does your driver do? Does it
talk to a specific PCI card, or does it control power to PCI slots?
thanks,
greg k-h
next parent reply other threads:[~2002-09-18 20:32 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <180577A42806D61189D30008C7E632E8793A64@boca213a.boca.ssc.siemens.com>
2002-09-18 20:37 ` Greg KH [this message]
2002-09-19 12:19 Linux hot swap support Bloch, Jack
-- strict thread matches above, loose matches on Subject: below --
2002-09-18 21:51 Bloch, Jack
2002-09-18 22:12 ` Greg KH
2002-09-18 21:37 Bloch, Jack
2002-09-18 21:47 ` Greg KH
2002-09-19 0:05 ` Scott Murray
2002-09-18 21:09 Bloch, Jack
2002-09-18 21:30 ` Greg KH
2002-09-18 20:59 Bloch, Jack
2002-09-18 21:05 ` Greg KH
2002-09-17 19:28 Bloch, Jack
2002-09-17 21:15 ` Alan Cox
2002-09-18 6:50 ` Greg KH
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=20020918203757.GC10970@kroah.com \
--to=greg@kroah.com \
--cc=Jack.Bloch@icn.siemens.com \
--cc=linux-kernel@vger.kernel.org \
/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