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

Gabriel Paubert paubert at iram.es
Wed Mar 7 10:23:13 EST 2001


On Tue, 6 Mar 2001, Brad Parker wrote:

>
> 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?)

Sadly, yes.

	Gabriel.


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






More information about the Linuxppc-dev mailing list