Re: [PATCH] fix ppc ioremap prototype

From: David S. Miller
Date: Thu Sep 04 2003 - 04:38:09 EST


On Thu, 4 Sep 2003 19:21:34 +1000 (EST)
Paul Mackerras <paulus@xxxxxxxxx> wrote:

> What I would prefer is if we passed a struct device pointer, a
> resource pointer and an offset to ioremap. Then we could just have
> bus addresses in PCI device resources instead of having to translate
> them into physical addresses.

You only need a resource in order to do this. Then you can
stick the upper bits, controller number, whatever in the unused
resource flag bits.
-
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/