]> git.karo-electronics.de Git - linux-beck.git/commitdiff
qla2xxx: Increase the wait time for firmware to be ready for P3P.
authorChad Dupuis <chad.dupuis@qlogic.com>
Thu, 9 Apr 2015 18:59:57 +0000 (14:59 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Fri, 10 Apr 2015 15:41:30 +0000 (08:41 -0700)
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/qla2xxx/qla_init.c

index e59f25bff7abbb49a9f2478b8e1cf59e9d8fe399..cb294e5cdddd2fbfb2c60c167ddd3ee25a6fa34c 100644 (file)
@@ -2243,8 +2243,11 @@ qla2x00_fw_ready(scsi_qla_host_t *vha)
 
        rval = QLA_SUCCESS;
 
-       /* 20 seconds for loop down. */
-       min_wait = 20;
+       /* Time to wait for loop down */
+       if (IS_P3P_TYPE(ha))
+               min_wait = 30;
+       else
+               min_wait = 20;
 
        /*
         * Firmware should take at most one RATOV to login, plus 5 seconds for