APUS and IOs question

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Nov 6 09:55:33 EST 2006


Somebody who understands APUS around ?

In include/asm-ppc/io.h, we have a special definition of the PCI IO
accessors readw,writew,readl and writel for APUS that don't do byteswap
and also don't do barriers.

This seems very bogus to me. Can somebody explain me why it's done that
way so I can then explain why it's broken ? :-)

I will remove those definitions soon, so unless I get a very convincing
argument of why it has to be done that way on APUS, things might break
(APUS-specific drivers relying on those not swapping will have to be
fixed).

Ben.





More information about the Linuxppc-dev mailing list