[lkml]   [2004]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] ppc64: Add mecanism to check existence of legacy ISA devices
On Sat, 2004-10-23 at 10:32, Linus Torvalds wrote:
> 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..

Hrm... currently, those drivers just blindly go tap IO ports and ...

- the isapnp stuff is _huge_, it's quite difficult to figure out what
to bring in and what not, and how to adapt it, especially since my
knowledge of the ISA stuff isn't that big

- It's only about 2 or 3 drivers and none of theem uses isapnp at this
point anyway

It's really only about keyboard, floppy, and _maybe_ parport, I'm not
sure bringing in the whole isapnp stuff is worth it, but I'll have a
look. I'd appreciate if the workaround I posted could get in for now


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:07    [W:0.042 / U:26.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site