Re: [PATCH] fix ppc ioremap prototype

From: Geert Uytterhoeven
Date: Thu Sep 04 2003 - 08:02:27 EST


On Thu, 4 Sep 2003, Paul Mackerras wrote:
> Geert Uytterhoeven writes:
> > `ioremap is meant for PCI memory space only'
>
> Did I say that, or someone else? :) ioremap predates PCI support by a
> long way IIRC...

inb() and friends are for ISA/PCI I/O space
isa_readb() and friends are for ISA memory space
readb() and friends are for PCI memory space (after ioremap())

That's why other buses (e.g. SBUS and Zorro) have their own versions of
ioremap() and readb() etc.).

Life would be much easier with bus-specific I/O ops...

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

-
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/