From: stephen hemminger Date: Sun, 7 Feb 2010 06:28:36 +0000 (+0000) Subject: sky2: receive checksum refactoring X-Git-Tag: v2.6.34-rc1~233^2~384 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=375c568844e49d292885c7485d4a255f71680e56;p=pandora-kernel.git sky2: receive checksum refactoring Break the largish case for handling receive checksum into a separate function, and if there is a problem use dev_XXX routines to show which hardware is the problem. Turn one corner case into a BUG(). This only happens if the driver is expecting one behavior but the chip does the old behavior; only ever saw this when bringing up a new chip type and driver was buggy. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- Reading git-diff-tree failed