Re: [PATCH] fix ppc ioremap prototype

From: David S. Miller
Date: Thu Sep 04 2003 - 08:12:31 EST


On Thu, 4 Sep 2003 22:59:33 +1000 (EST)
Paul Mackerras <paulus@xxxxxxxxx> wrote:

> Perhaps the sensible thing is to have a separate resource tree for
> each PCI domain (actually two trees, for I/O and memory space),
> and have them contain bus addresses rather than physical addresses.

I disagree, I think the current model where all resources are
in a global space makes more sense.

kernel/resource.c would get more complex with your idea.

I'd suggest making an ocp_ioremap() to solve this problem for
the time being.
-
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/