summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2016-10-21 09:34:29 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2016-10-26 10:36:46 -0200
commit176c482f56cd9c523829ceb6bce5c28d3cc6d1c0 (patch)
tree72321da9fd806bf1d5439e10d26df1706b6412f1 /arch/x86
parentd7568534f54f5eb1efa4143ba09a77116f964c80 (diff)
net: fec: Call swap_buffer() prior to IP header alignment
Commit 3ac72b7b63d5 ("net: fec: align IP header in hardware") breaks networking on mx28. There is an erratum on mx28 (ENGR121613 - ENET big endian mode not compatible with ARM little endian) that requires an additional byte-swap operation to workaround this problem. So call swap_buffer() prior to performing the IP header alignment to restore network functionality on mx28. Fixes: 3ac72b7b63d5 ("net: fec: align IP header in hardware") Reported-and-tested-by: Henri Roosen <henri.roosen@ginzinger.com> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net> (cherry picked from commit 235bde1ed3f0fff0f68f367ec8807b89ea151258)
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions