diff options
author | Will Deacon <will.deacon@arm.com> | 2013-10-11 13:52:20 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-11 21:50:59 (GMT) |
commit | e9e4ea74f06635f2ffc1dffe5ef40c854faa0a90 (patch) | |
tree | 7f07c52efa9d265d81faf0a732778a1597da9f43 /net/xfrm | |
parent | 96b340406724d87e4621284ebac5e059d67b2194 (diff) | |
download | linux-fsl-qoriq-e9e4ea74f06635f2ffc1dffe5ef40c854faa0a90.tar.xz |
net: smc91x: dont't use SMC_outw for fixing up halfword-aligned data
SMC_outw invokes an endian-aware I/O accessor, which may change the data
endianness before writing to the device. This is not suitable for data
transfers where the memory buffer is simply a string of bytes that does
not require any byte-swapping.
This patches fixes the smc91x SMC_PUSH_DATA macro so that it uses the
string I/O accessor for outputting the leading or trailing halfwords on
halfword-aligned buffers.
Cc: <netdev@vger.kernel.org>
Cc: Nicolas Pitre <nico@fluxnic.net>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
0 files changed, 0 insertions, 0 deletions