netxen: fix unified fw size check
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Tue, 8 Dec 2009 20:40:57 +0000 (20:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Dec 2009 22:13:27 +0000 (14:13 -0800)
o Unified firmware image size can be < 1 MB

Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic.h

index 76cd1f3e9fc8f91fb854192cbc579646c07ad134..c1223c92d56615800368fbe3492a8a26bd60be04 100644 (file)
@@ -420,7 +420,7 @@ struct status_desc {
 } __attribute__ ((aligned(16)));
 
 /* UNIFIED ROMIMAGE *************************/
-#define NX_UNI_FW_MIN_SIZE             0x3eb000
+#define NX_UNI_FW_MIN_SIZE             0xc8000
 #define NX_UNI_DIR_SECT_PRODUCT_TBL    0x0
 #define NX_UNI_DIR_SECT_BOOTLD         0x6
 #define NX_UNI_DIR_SECT_FW             0x7