linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Endian Issue?
@ 2005-05-02 21:27 Sanjay Bajaj
  2005-05-02 22:07 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 2+ messages in thread
From: Sanjay Bajaj @ 2005-05-02 21:27 UTC (permalink / raw)
  To: linuxppc-dev

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...

Thanks,
Sanjay

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Endian Issue?
  2005-05-02 21:27 Endian Issue? Sanjay Bajaj
@ 2005-05-02 22:07 ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2005-05-02 22:07 UTC (permalink / raw)
  To: Sanjay Bajaj; +Cc: linuxppc-dev

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 ...

Ben.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-02 22:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-02 21:27 Endian Issue? Sanjay Bajaj
2005-05-02 22:07 ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).