Hi all,

In Function qtd_fill() (FILE - ehci-q.c) , we get the DMA'able buffer
address, but when we fill the qTD, we convert the buffer address to
Little Endian. and assigning it as follows

qtd->hw_buf [0] = cpu_to_le32 ((u32)addr);
qtd->hw_buf_hi [0] = cpu_to_le32 ((u32)(addr >> 32));


If my processor is ARM  based, i get the DMA address in Big-Endian,
and i convert the DMA address to Little-Endian and assigning in Qtd
Hardware Buffers. My EHCI Controller is ARC.
USB transfers are Little Endian.

But when the controller tries to do DMA of the transfer, the address
in the QTD Hardware buffer is different due to endianess.

Is my inference right. OR Correct me whther the above obserevation
will make a difference
in ARM platform due to endianess

Thanks
Rak


_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to