switching linux kernels

Rob Taylor robt at flyingpig.com
Wed Sep 27 20:31:56 EST 2000


> Please don't use in/out macros on PowerPC....especially on 8xx their
> underlying address arithmetic will likely break more things that it
> fixes.
> Use memory mapped I/O (readb/writeb, etc.) and ioremap().....

presumably this is due to int in/out macros adding _IO_BASE to the pointer? So
am I right in thinking that it makes sense to use in/out for ISA accesses (if
_IO_BASE is set correctly for your platform) and readb/writeb/.. for the rest of
your memory mapped registers?

Thanks,
Rob Taylor
Flying Pig Systems


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list