[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131011.175622.988103254853137065.davem@davemloft.net>
Date: Fri, 11 Oct 2013 17:56:22 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: matthew.leach@....com
Cc: linux-arm-kernel@...ts.infradead.org, ankit.jindal@...aro.org,
steve.mcintyre@...aro.org, tushar.jagad@...aro.org,
will.deacon@....com, catalin.marinas@....com,
netdev@...r.kernel.org, nico@...xnic.net
Subject: Re: [PATCH 14/14] net: smc91x: dont't use SMC_outw for fixing up
halfword-aligned data
From: Matthew Leach <matthew.leach@....com>
Date: Fri, 11 Oct 2013 14:52:20 +0100
> From: Will Deacon <will.deacon@....com>
>
> 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@...r.kernel.org>
> Cc: Nicolas Pitre <nico@...xnic.net>
> Cc: David S. Miller <davem@...emloft.net>
> Signed-off-by: Will Deacon <will.deacon@....com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists