[SCSI] qla2xxx: Add handling for boot indication progress AENs for ISPFX00.
authorArmen Baloyan <armen.baloyan@qlogic.com>
Wed, 26 Feb 2014 09:14:57 +0000 (04:14 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:17:48 +0000 (10:17 -0700)
Signed-off-by: Armen Baloyan <armen.baloyan@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_mr.c

index 7c69729d832a09030a52f55d220a46b5f7d104e3..4c286eb3d45fbbfa1c0b16c176b271bab4972cea 100644 (file)
@@ -808,7 +808,7 @@ struct mbx_cmd_32 {
                                           Notification */
 #define MBA_FW_POLL_STATE      0x8600  /* Firmware in poll diagnostic state */
 #define MBA_FW_RESET_FCT       0x8502  /* Firmware reset factory defaults */
-
+#define MBA_FW_INIT_INPROGRESS 0x8500  /* Firmware boot in progress */
 /* 83XX FCoE specific */
 #define MBA_IDC_AEN            0x8200  /* FCoE: NIC Core state change AEN */
 
index ba6f8b139c984b88a5a5396ab70e1e1109af72b6..6ca4807ffb9219e637d71f48369074404d71fb0f 100644 (file)
@@ -997,6 +997,9 @@ qlafx00_init_fw_ready(scsi_qla_host_t *vha)
                        break;
 
                default:
+                       if ((aenmbx & 0xFF00) == MBA_FW_INIT_INPROGRESS)
+                               break;
+
                        /* If fw is apparently not ready. In order to continue,
                         * we might need to issue Mbox cmd, but the problem is
                         * that the DoorBell vector values that come with the