Re: dual head r128
From: Michel Lanners <hidden>
Date: 2000-10-13 21:47:47
Ok, If I follow you correctly, that mean that if we have, for example, bus 1 set to 0x10000-0x1ffff, ioportremap() would return, for an address in this range, the address + bus_io_base - 0x10000. At least on Macs, AFAIK, we have only 64k or 128k of IOs available.
No, the regions are larger. Apple's doc talks about '23 bits of IO space', which is 8M, at least for the first-generation bridges (bandit, that is). Anyway, the best way to find out the size of this region (unless you can read it from the bridge) is to look at the OF device tree, and the bridge's region properties. Cheers Michel ------------------------------------------------------------------------- Michel Lanners | " Read Philosophy. Study Art. 23, Rue Paul Henkes | Ask Questions. Make Mistakes. L-1710 Luxembourg | email mlan@cpu.lu | http://www.cpu.lu/~mlan | Learn Always. " ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/