Re: Going beyond 256 PCI buses

David S. Miller (davem@redhat.com)
Thu, 14 Jun 2001 14:35:21 -0700 (PDT)


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/