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

Eric S. Raymond (esr@thyrsus.com)
Mon, 7 Jan 2002 13:58:42 -0500


Greg KH <greg@kroah.com>:
> On Mon, Jan 07, 2002 at 10:50:01AM -0800, Greg KH wrote:
> >
> > And the /sbin/hotplug program knows about _all_ devices that the
> > currently compiled kernel can handle due to the MODULE_DEVICE_TABLE tags
> > in the drivers.
>
> Along these lines, I am very disappointed in looking at the
> autoconfigure stuff in CML2. It should be taking all of the device and
> driver matching information from the kernel itself, as it is already
> specified there.

I'm taking my rules file from Giacomo Catenazzi, who developed it
originally for a shellscript he wrote. I don't know how he generates
the hardware probes; for all I know, he's got code groveling through
the module device tables.

I've been meaning to ask you about this, Giacomo. Where *did* all
those probes come from?

-- 
		<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>

Don't think of it as `gun control', think of it as `victim disarmament'. If we make enough laws, we can all be criminals. - 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/