asm/io.h; why does writel() write an le32 on ppc?

Brad Parker brad at parker.boston.ma.us
Wed Mar 7 10:15:01 EST 2001


Sorry to be daft, but why does writel() write an le32 on the ppc?

in asm/io.h it uses out_le32, unless the machine is an APUS, in which
case it just writes big endian...

(is PCI defined as little endian?)

-brad


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






More information about the Linuxppc-dev mailing list