From: Matt Carlson Date: Wed, 20 Jul 2011 10:20:57 +0000 (+0000) Subject: tg3: Fix NVRAM selftest failures for 5720 devs X-Git-Tag: firefly_0821_release~3680^2~5008^2~76 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bda18faf630ae3731f4b4e8f4b94a26e326c4797;p=firefly-linux-kernel-4.4.55.git tg3: Fix NVRAM selftest failures for 5720 devs This patch fixes NVRAM selftest failures for 5720 devices by fixing the checksum area size. Signed-off-by: Matt Carlson Reviewed-by: Michael Chan Signed-off-by: David S. Miller --- diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index bce0f22677c1..803576568154 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c @@ -10655,7 +10655,7 @@ error: #define NVRAM_SELFBOOT_FORMAT1_3_SIZE 0x1c #define NVRAM_SELFBOOT_FORMAT1_4_SIZE 0x20 #define NVRAM_SELFBOOT_FORMAT1_5_SIZE 0x24 -#define NVRAM_SELFBOOT_FORMAT1_6_SIZE 0x4c +#define NVRAM_SELFBOOT_FORMAT1_6_SIZE 0x50 #define NVRAM_SELFBOOT_HW_SIZE 0x20 #define NVRAM_SELFBOOT_DATA_SIZE 0x1c