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: v2.6.39-400.9.0~423^2~19^2~11^2~697 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=89d07c384155eae1a3f702138c70faa0c498100c;p=users%2Fjedix%2Flinux-maple.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 (cherry picked from commit bda18faf630ae3731f4b4e8f4b94a26e326c4797) Signed-off-by: Joe Jin --- diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 8c22aa064dc2..94060d5a5665 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c @@ -10623,7 +10623,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