cxgb3: Allow 64KB firmware images.
authorSteve Wise <swise@opengridcomputing.com>
Sat, 26 Jul 2008 20:40:56 +0000 (15:40 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 29 Jul 2008 21:48:42 +0000 (17:48 -0400)
Starting with FW version 7.0, the driver needs to allow larger images.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/cxgb3/t3_hw.c

index 47d51788a462b668a70325134551bc43dfbf2b52..04c0e90119afc7e91dfbba908a6b29a5899a7498 100644 (file)
@@ -683,7 +683,7 @@ enum {
        SF_ERASE_SECTOR = 0xd8, /* erase sector */
 
        FW_FLASH_BOOT_ADDR = 0x70000,   /* start address of FW in flash */
-       FW_VERS_ADDR = 0x77ffc,    /* flash address holding FW version */
+       FW_VERS_ADDR = 0x7fffc,    /* flash address holding FW version */
        FW_MIN_SIZE = 8            /* at least version and csum */
 };