diff options
| author | Michael Weiser <[email protected]> | 2016-11-14 18:58:05 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-11-15 22:05:54 -0500 |
| commit | f8be0d78be6e7f199116a5e644ee20ff0ce413f7 (patch) | |
| tree | fa9e10e4e41ea2a86c6a165532452896997f277d /scripts | |
| parent | 4780566784b3968ab9fd6cc94bab72421813f004 (diff) | |
net: ethernet: stmmac: change dma descriptors to __le32
The stmmac driver does not take into account the processor may be big
endian when writing the DMA descriptors. This causes the ethernet
interface not to be initialised correctly when running a big-endian
kernel. Change the descriptors for DMA to use __le32 and ensure they are
suitably swapped before writing. Tested successfully on the
Cubieboard2.
Signed-off-by: Michael Weiser <[email protected]>
Cc: Giuseppe Cavallaro <[email protected]>
Cc: Alexandre Torgue <[email protected]>
Cc: [email protected]
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions