Re: [PATCH] fix ppc ioremap prototype

From: Geert Uytterhoeven
Date: Thu Sep 04 2003 - 07:24:52 EST


On Thu, 4 Sep 2003, Paul Mackerras wrote:
> > Paul, what does actually use this higher addresses?
>
> We have drivers for on-chip peripherals that work from a struct
> ocp_device and call ioremap on the ocp_dev->paddr value, which is a
> phys_addr_t (although some of them use __ioremap instead). These
> drivers are used on 405-based systems (with 32-bit phys_addr_t) as
> well as on 440-based systems.
>
> These drivers are in the linuxppc-2.{4,5} trees but most of them
> haven't made it into the official trees yet. They could all be
> audited and converted to use __ioremap, although it seems a bit
> arbitrary to say that you can't use ioremap in a an ocp driver if
> you're going to use it on a 440. I wouldn't expect it to be

`ioremap is meant for PCI memory space only'

Oops...

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/