Re: Going beyond 256 PCI buses

David S. Miller
2001-06-14T21:36:12Z

Benjamin Herrenschmidt writes:
> I beleive there will always be need for some platform specific
> hacking at probe-time to handle those, but we can at least make
> the inx/outx functions/macros compatible with such a scheme,
> possibly by requesting an ioremap equivalent to be done so that
> we stop passing them real PIO addresses, but a cookie obtained
> in various platform specific ways.

The cookie can be encoded into the address itself.

This is why readl() etc. take one arg, the address, not a billion
other arguments like some systems do.

Later,
David S. Miller
davem@redhat.com