cxgb4: Allow T4/T5 firmware sizes up to 1MB
authorHariprasad Shenai <hariprasad@chelsio.com>
Wed, 10 Sep 2014 12:14:27 +0000 (17:44 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Sep 2014 21:01:53 +0000 (14:01 -0700)
Based on original work by Casey Leedom <leedom@chelsio.com>

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.h

index 35e3d8e3288162485d442a16e0f4435c5109d998..06fa583bf914c3710fc8137be5618bbceaf912b2 100644 (file)
@@ -175,7 +175,7 @@ enum {
         * Location of firmware image in FLASH.
         */
        FLASH_FW_START_SEC = 8,
-       FLASH_FW_NSECS = 8,
+       FLASH_FW_NSECS = 16,
        FLASH_FW_START = FLASH_START(FLASH_FW_START_SEC),
        FLASH_FW_MAX_SIZE = FLASH_MAX_SIZE(FLASH_FW_NSECS),