diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-07-29 15:21:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-31 01:51:08 +0200 |
commit | 9ad8fef6c61a9dfcaa8444e526020de88c540fa9 (patch) | |
tree | 42d13de3d9ef83343114d415088c1b3ebaa938c8 /net/core | |
parent | net: mvneta: move the RX and TX desc macros outside of the structs (diff) | |
download | linux-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