commit | 9ad8fef6c61a9dfcaa8444e526020de88c540fa9 | [log] [tgz] |
---|---|---|
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | Mon Jul 29 15:21:28 2013 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 30 16:51:08 2013 -0700 |
tree | 42d13de3d9ef83343114d415088c1b3ebaa938c8 | |
parent | 6083ed448b812e7b318820d7ec83c2a0e250dd57 [diff] |
net: mvneta: support big endian Use the "swap descriptor" feature of the hardware to properly swap the descriptors when running in big endian mode. Since the swapping occurs on 64 bits words, we also need to provide a separate structure layout for the DMA descriptors between little endian and big endian mode, like is done in the mv643xx_eth driver. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>