From: Will Deacon Date: Fri, 11 Oct 2013 13:52:20 +0000 (+0100) Subject: net: smc91x: dont't use SMC_outw for fixing up halfword-aligned data X-Git-Tag: v3.12-rc7~20^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9e4ea74f06635f2ffc1dffe5ef40c854faa0a90;p=pandora-kernel.git 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: Cc: Nicolas Pitre Cc: David S. Miller Signed-off-by: Will Deacon Acked-by: Nicolas Pitre Signed-off-by: David S. Miller --- Reading git-diff-tree failed