Re: ISA slot detection on PCI systems?

Dave Jones
2002-01-04T21:18:54Z

On Fri, 4 Jan 2002, Eric S. Raymond wrote:

> OK. So can I ask ACPI if the board has ISA slots?

You can ask it what temperature your coffee pot is.
It's an incredibly capable (some may say too capable).
grab the spec and take a read (http://www.acpi.info iirc)

> Does it answer reliably?

Brings us back to.. "Can I trust a BIOS writer not to fsck things up"

That, and ACPI support under Linux is still not-quite-there
(but getting there). Coupled with Pat Mochels work with driverfs,
we should eventually be able to get a complete enumerated tree
of devices mountable somewhere.

The only problem then, is that some boxes may not be running ACPI
aware kernels, requiring you to parse the ACPI tables in userspace.
(Not as easy as DMI, ACPI is a turing complete language requiring
a bytecode (AML) parser)

(Or you could just say fsck it if a acpi/driverfs aware kernel isn't
present, which any sane person would)

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs