summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-07-29 15:21:28 +0200
committerDavid S. Miller <davem@davemloft.net>2013-07-31 01:51:08 +0200
commit9ad8fef6c61a9dfcaa8444e526020de88c540fa9 (patch)
tree42d13de3d9ef83343114d415088c1b3ebaa938c8 /net/core
parentnet: mvneta: move the RX and TX desc macros outside of the structs (diff)
downloadlinux-9ad8fef6c61a9dfcaa8444e526020de88c540fa9.tar.xz
linux-9ad8fef6c61a9dfcaa8444e526020de88c540fa9.zip
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>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions