Re: [PATCH] ppc64: Add mecanism to check existence of legacy ISAdevices

From: Linus Torvalds
Date: Fri Oct 22 2004 - 20:28:13 EST




On Sat, 23 Oct 2004, Benjamin Herrenschmidt wrote:
>
> This patch adds an arch function that can be overriden by the various
> platforms at runtime, to query if a given legacy IO device actually
> exist on the platform (based on the standard base port).

Ehh..

Why don't you use the "isapnp" or "acpi" interfaces?

Yeah yeah, you don't actually have isapnp on your system. But like it or
not, when we talk ISA enumeration, there is an existing standard for doing
it. And since the drivers involved don't actually do BIOS calls or
anything like that, they don't need to know that your "acpi" or "isapnp"
enumeration comes from ppc64 firmware..

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/