linux/drivers/net/ethernet/smsc
Will Deacon e9e4ea74f0 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>
2013-10-11 17:50:59 -04:00
..
epic100.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
Kconfig net: Move MII out from under NET_CORE and hide it 2013-06-19 22:22:56 -07:00
Makefile
smc91c92_cs.c drivers/net: use module_pcmcia_driver() in pcmcia drivers 2013-03-15 12:27:33 -07:00
smc91x.c net: smc91x: use dev_get_platdata() 2013-08-30 17:43:37 -04:00
smc91x.h net: smc91x: dont't use SMC_outw for fixing up halfword-aligned data 2013-10-11 17:50:59 -04:00
smc911x.c net: smc911x: use dev_get_platdata() 2013-08-30 17:43:37 -04:00
smc911x.h net: smc911x: use io{read,write}*_rep accessors 2012-12-11 12:49:53 -05:00
smc9194.c drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb 2013-03-09 16:09:19 -05:00
smc9194.h
smsc911x.c net: smsc911x: use dev_get_platdata() 2013-08-30 17:43:37 -04:00
smsc911x.h smsc911x: Unconditionally include linux/smscphy.h in smsc911x.h 2012-01-07 12:22:11 -08:00
smsc9420.c net: smsc: remove deprecated IRQF_DISABLED 2013-09-15 22:01:06 -04:00
smsc9420.h