tg3: Fix NVRAM selftest failures for 5720 devs
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 20 Jul 2011 10:20:57 +0000 (10:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Jul 2011 19:36:15 +0000 (12:36 -0700)
This patch fixes NVRAM selftest failures for 5720 devices by fixing the
checksum area size.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c

index bce0f22677c130e2aba822adc5f9262cc315ec91..803576568154e9e622222e2d91ac6d2ef2e06b0f 100644 (file)
@@ -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