net: Kirkwood_egiga.c: See to it that sent data is 8-byte alligned
commit6b27a65c2f7c451b942bfc60c2f491ad453d8082
authorPrafulla Wadaskar <prafulla@marvell.com>
Fri, 31 Jul 2009 15:22:47 +0000 (31 20:52 +0530)
committerPrafulla Wadaskar <prafulla@server.marvell.com>
Fri, 31 Jul 2009 11:10:35 +0000 (31 04:10 -0700)
tree6924a0c5dd4d336cf582b877350deef13e396de9
parentdd6fdc5a045faf06cfb19a47e359534f663b5a06
net: Kirkwood_egiga.c: See to it that sent data is 8-byte alligned

U-boot might use non-8-byte-aligned addresses for sending data,
which the kwgbe_send doesn't accept (bootp does this for me).
This patch copies the data to be sent to a temporary buffer
if it is non-aligned.

Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
drivers/net/kirkwood_egiga.c