PCI endianess

Anil K Prasad aprasad at in.ibm.com
Wed Sep 4 18:33:13 EST 2002


>When I just do
>x->command = val;
>without out_leXX, is 0x1234 on PCI cards ram in little endian ?

no, it will be 0x3412 in PCI card ram. You should use out_leXX to transfer
data from system memory to card memory.

Regards,
Anil.


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





More information about the Linuxppc64-dev mailing list