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 14:05:45 -0700 [thread overview]
Message-ID: <20020918210545.GF10970@kroah.com> (raw)
In-Reply-To: <180577A42806D61189D30008C7E632E8793A68@boca213a.boca.ssc.siemens.com>
On Wed, Sep 18, 2002 at 04:59:08PM -0400, Bloch, Jack wrote:
> Ok, my driver is for a specific cPCI biard which we have developed here. I
> want the Linux Kernel to tell me when this board is inserted and/or removed.
That will already happen today. /sbin/hotplug will be called whenever a
new PCI card is added or removed, IF you have a PCI Hotplug controller
driver that works for your cPCI board.
> I am running on a 700Mhz PIII with a 2.4.18-3 Kernel (Red Hat 7.3) My driver
> is written with a call to pci_module_init in the init routine wherein I
> specify a probe and remove routine. According to Linux Device Drivers 2nd
> edition (pages 489 - 493), As long as the HW supports hot swap, I should get
> called automatically whenevr one of the devices (vendor ID device ID) which
> I specified in my table gets inserted or ejected. Am I totaly wrong about
> this? I am not trying to write a driver for a hotplug controller but for a
> device.
Yes, you are correct. But odds are there is not a PCI Hotplug
controller for your hardware, so this probably will not work. However,
your driver should work just fine to control your card.
What kind of cPCI controller do you have?
thanks,
greg k-h
next prev parent reply other threads:[~2002-09-18 21:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-18 20:59 Linux hot swap support Bloch, Jack
2002-09-18 21:05 ` Greg KH [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-09-19 12:19 Bloch, Jack
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
[not found] <180577A42806D61189D30008C7E632E8793A64@boca213a.boca.ssc.siemens.com>
2002-09-18 20:37 ` 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=20020918210545.GF10970@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