Re: [ANNOUNCE] Hardware detection tool 0.2

From: Greg KH (greg@kroah.com)
Date: Fri Aug 31 2001 - 18:23:04 EST


On Fri, Aug 31, 2001 at 06:58:59PM -0400, jeff millar wrote:
>
> One reason: Not all hardware has the signals needed to detect when a card
> gets plugged or unplugged. Consider legacy cPCI systems. The don't have
> the Hot Swap extensions or backplane hot swap control. The only way to find
> the cards is to periodically scan the bus for new cards, cards that
> disappeared, or requests for Hot Swap.

But the driver for those devices have a struct pci_driver object that
they use to register themselves with the PCI subsystem, right? The
MODULE_DEVICE_TABLE uses the id_table structure in the struct pci_driver
object. That's all, it isn't necessarily a hotplug specific thing.

And having that MODULE_DEVICE_TABLE for those drivers will allow the
kernel to load those modules when the bus is scanned for new cards, like
on boot :)

thanks,

greg k-h
-
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/



This archive was generated by hypermail 2b29 : Fri Aug 31 2001 - 21:00:36 EST