diff options
author | Chad Dupuis <chad.dupuis@qlogic.com> | 2015-04-09 14:59:57 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-04-10 11:41:30 -0400 |
commit | 334614912b252b49f2e218e3efaddf86edd7f91a (patch) | |
tree | 7478c96a6733c59e8be2856c591e8f1c091d0a49 /drivers/scsi | |
parent | 6cbfb1ebbbcdc49eac2f49e146452507b05fcae5 (diff) |
qla2xxx: Increase the wait time for firmware to be ready for P3P.
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>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index e59f25bff7ab..cb294e5cdddd 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c | |||
@@ -2243,8 +2243,11 @@ qla2x00_fw_ready(scsi_qla_host_t *vha) | |||
2243 | 2243 | ||
2244 | rval = QLA_SUCCESS; | 2244 | rval = QLA_SUCCESS; |
2245 | 2245 | ||
2246 | /* 20 seconds for loop down. */ | 2246 | /* Time to wait for loop down */ |
2247 | min_wait = 20; | 2247 | if (IS_P3P_TYPE(ha)) |
2248 | min_wait = 30; | ||
2249 | else | ||
2250 | min_wait = 20; | ||
2248 | 2251 | ||
2249 | /* | 2252 | /* |
2250 | * Firmware should take at most one RATOV to login, plus 5 seconds for | 2253 | * Firmware should take at most one RATOV to login, plus 5 seconds for |