It does it v e r y s l o w l y however. I've been following this
thread primarily to see why it isn't faster. They seem to still use the
old "throw all drivers at the box and see which ones stick" approach for
everything, when one ought to at least be able to ask decent buses what's
there and skip 70% of the stuff not needed in milliseconds. But non-PNP
ISA gear is of course going to need the old probing or manual
configuration.
Apparently the BIOS can't be relied on to figure things out properly in
quite a number of cases. Is it, in fact, ridiculous to think of just
asking the bridge chip "do you see anything" (in cases where there *is* a
bridge chip)? IOW how hard is it to just talk to the decent portion of
the hardware and get useful answers?
The most interesting question (for IBM-PC type boxes) is "is there any
non-PNP ISA gear other than the standard serial, parallel, keyboard,
mouse, etc. ports?" A reliable answer to that question eliminates
probing in the "no" case: you can just ask the hardware what it is.
These constraints bound a large and growing portion of the set of machines
to be configured, and it might be useful to optimize for them if it isn't
too costly.
-- Mark H. Wood, Lead System Programmer mwood@IUPUI.Edu Our lives are forever changed. But *that* is exactly as it always was.- 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/