2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00
linux-next/drivers/net/ethernet/marvell
stephen hemminger 857504d06d sky2: copy received packets on inefficient unaligned architecture
Modified from original patch from Chris.

The sky2 driver has to have 8 byte alignment of receive buffer
on some chip versions. On architectures which don't support efficient
unaligned access this doesn't work very well. The solution is to
just copy all received packets which is what the driver already
does for small packets.

This allows the driver to be used on the Tilera TILEmpower-Gx, since
the tile architecture doesn't currently handle kernel unaligned accesses,
just userspace.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-04 18:14:04 -04:00
..
Kconfig
Makefile
mv643xx_eth.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
pxa168_eth.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
skge.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-02-10 23:32:28 -05:00
skge.h
sky2.c sky2: copy received packets on inefficient unaligned architecture 2012-04-04 18:14:04 -04:00
sky2.h sky2: fix hang in napi_disable 2011-11-17 21:43:57 -05:00