aboutsummaryrefslogtreecommitdiff
path: root/net/core/dev.c
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-30 16:51:08 -0700
commit9ad8fef6c61a9dfcaa8444e526020de88c540fa9 (patch)
tree42d13de3d9ef83343114d415088c1b3ebaa938c8 /net/core/dev.c
parent6083ed448b812e7b318820d7ec83c2a0e250dd57 (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>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions