Comments

As specified by errata eTSEC49 of MPC8548 and errata eTSEC12 of MPC83xx,
older revisions of gianfar controllers will be unable to calculate a TCP/UDP
packet checksum for some aligments of the appropriate FCB. This patch checks
for FCB alignment on such controllers and falls back to software checksumming
if the aligment is known to be bad.
Signed-off-by: Alex Dubov <oakad@yahoo.com>
---
This is my, somewhat different approach to Matthew Creech proposed solution.
drivers/net/gianfar.c | 21 +++++++++++++++++++--
drivers/net/gianfar.h | 1 +
2 files changed, 20 insertions(+), 2 deletions(-)