Re: Hardware Inventory [was: Re: ISA slot detection on PCI systems?]

Greg KH (greg@kroah.com)
Mon, 7 Jan 2002 11:29:03 -0800


On Mon, Jan 07, 2002 at 11:19:06AM -0800, Patrick Mochel wrote:
>
> It's very closely related; kinda like kissing cousins.
>
> /sbin/hotplug is called from the kernel only, right?

Right. But there's no reason it can't be called from any other place.
It's just a userspace program with a well documented interface :)

> I see no reason to change that at all for notification of devices that are
> plugged in/removed by suprise.

Also realize that the first scan of a bus looks just like a device was
plugged in from the subsystem's point of view.

> I was thinking, though, more along the lines of triggering the probe for
> devices that the kernel has a tough time finding on its own. E.g. peer
> Host/PCI bridges, batteries, etc.

Ah, things that do not have individual kernel module drivers right now?

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/