
19 Aug
2009
19 Aug
'09
9:36 a.m.
See to it that sent data is aligned to the ethernet controllers wishes
This patch adds a send_alignment member to the eth_device structure which specifies what the alignment requirements are for the particular device. eth_send checks this alignment on sends, and if it doesn't match the device requirement, allocates an aligned buffer and copies the data there.
Currently kirkwood_egiga.c has an 8-byte requirement. This patch is an alternative and replacement for "[PATCH] arm:kirkwood See to it that sent data is 8-byte aligned" sent here
http://lists.denx.de/pipermail/u-boot/2009-August/058829.html
For other devices, I've setup send_alignment to 1.
Basically NACK for it. Why you don't resolve the alignment issue in your driver?
Thanks, Dave