fs_enet: add FEC TX buffer alignment workaround for MPC5121
authorAnatolij Gustschin <agust@denx.de>
Fri, 26 Feb 2010 12:00:49 +0000 (12:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Feb 2010 10:34:36 +0000 (02:34 -0800)
commitcb395eaf439625f26c8527bb05bb905774a54c36
tree16a3f6c024230e65b37ddc8dae29b29d33820758
parent60ab4361adc188fb47da1c4892cc7a2bb621efef
fs_enet: add FEC TX buffer alignment workaround for MPC5121

MPC5121 FEC requeries 4-byte alignmnent for TX data buffers.
This patch is a work around that copies misaligned tx packets
to an aligned skb before sending.

Signed-off-by: John Rigby <jcrigby@gmail.com>
Signed-off-by: Piotr Ziecik <kosmo@semihalf.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fs_enet/fs_enet-main.c