Re: [PATCH] fix ppc ioremap prototype

David S. Miller
2003-09-04T13:11:20Z

On Thu, 4 Sep 2003 22:59:33 +1000 (EST)
Paul Mackerras <paulus@samba.org> 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.