netxen: fix unified fw size check
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>
This commit is contained in:
Родитель
e87ad55393
Коммит
7ef8a2127a
|
@ -420,7 +420,7 @@ struct status_desc {
|
||||||
} __attribute__ ((aligned(16)));
|
} __attribute__ ((aligned(16)));
|
||||||
|
|
||||||
/* UNIFIED ROMIMAGE *************************/
|
/* 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_PRODUCT_TBL 0x0
|
||||||
#define NX_UNI_DIR_SECT_BOOTLD 0x6
|
#define NX_UNI_DIR_SECT_BOOTLD 0x6
|
||||||
#define NX_UNI_DIR_SECT_FW 0x7
|
#define NX_UNI_DIR_SECT_FW 0x7
|
||||||
|
|
Загрузка…
Ссылка в новой задаче