summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/xilinx/ll_temac_mdio.c
diff options
context:
space:
mode:
authorEsben Haabendal <esben@geanix.com>2019-04-30 09:17:52 +0200
committerDavid S. Miller <davem@davemloft.net>2019-05-01 14:33:30 -0400
commitfdd7454ecb2972c5879a51109ba7c692e6c1c164 (patch)
tree5f5c8a66fbad3bf73414567c9d35f3da5be3c28d /drivers/net/ethernet/xilinx/ll_temac_mdio.c
parenta3246dc41aa3c9d799478ccc8dac5d19c509a923 (diff)
downloadlinux-fdd7454ecb2972c5879a51109ba7c692e6c1c164.tar.bz2
net: ll_temac: Fix support for little-endian platforms
Both TEMAC and SDMA is big-endian, so make sure that all values in SDMA buffer descriptors (cmdac_bd) are handled as big-endian, independent of the host endianness. With all currently supported platforms being big-endian, this change does not make a change for any of them. Note, when using app3 and app4 for piggybacking skb pointers there is no need to care about endianness, as neither TEMAC nor SDMA access app3 and app4 in TX buffer descriptors. Signed-off-by: Esben Haabendal <esben@geanix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/xilinx/ll_temac_mdio.c')
0 files changed, 0 insertions, 0 deletions