Re: [PATCH 2/2] net: sh_eth: make work on big endian systems

2017-12-04 Thread Sergei Shtylyov
On 12/04/2017 05:17 PM, Thomas Petazzoni wrote: The sh_eth driver uses cpu_to_le32() and le32_to_cpu() to manipulate the fields of the DMA descriptors, making the assumption that the DMA descriptors are little-endian. However, testing on the Renesas SH7786 running in big-endian mode reveals t

[PATCH 2/2] net: sh_eth: make work on big endian systems

2017-12-04 Thread Thomas Petazzoni
The sh_eth driver uses cpu_to_le32() and le32_to_cpu() to manipulate the fields of the DMA descriptors, making the assumption that the DMA descriptors are little-endian. However, testing on the Renesas SH7786 running in big-endian mode reveals that the DMA descriptors are also big-endian when runn