From: stephen hemminger Date: Wed, 4 Apr 2012 12:10:27 +0000 (+0000) Subject: sky2: copy received packets on inefficient unaligned architecture X-Git-Tag: v3.4-rc2~11^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=857504d06d565ad5b401d505937932775ddf1c47;p=pandora-kernel.git 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 Acked-by: Chris Metcalf Signed-off-by: David S. Miller --- Reading git-diff-tree failed