Re: Linux hot swap support

Alan Cox (alan@lxorguk.ukuu.org.uk)
17 Sep 2002 22:15:03 +0100


On Tue, 2002-09-17 at 20:28, Bloch, Jack wrote:
> I have a cPCI system running a Red Hat 2.4.18-3 Kernel. am running on a
> Pentium III 700Mhz machine, but we have some of our own cPCI HW. I wrote the
> drivers according to the Linux Device Driver 2nd edition (i.e. hot swap
> compliant). But what I am missing is :
>
> What SW will call my device insert/device remove routines?
> Do I need some 3rd party SW?

If you are using pci_module_init and related routines the hot plug
drivers will call the probe/remove routines for you. That would normally
be the PCI hotplug layer and a driver for the relevant board which
detects and adds/removes devices

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/