Endian Issue?

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue May 3 08:07:24 EST 2005

On Mon, 2005-05-02 at 17:27 -0400, Sanjay Bajaj wrote:
> We have linux (lk2.4.27-pre3) running on PPC440GX processor. The processor is connected to the Local PCI bus and to our custom device on this PCI bus. When we perform the DMA (or for that matter do memcpy_fromio()) from PCI bus memory to processor local memory, the data in the processor local memory is flipped (4 bytes at a time). Has anyone confronted this issue? Any ideas...

Using your device own DMA capabilities ? could be your device beeing
bogus, or your PCI bus incorrectly wired ...


More information about the Linuxppc-dev mailing list