projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cbfb1e
)
qla2xxx: Increase the wait time for firmware to be ready for P3P.
author
Chad Dupuis
<chad.dupuis@qlogic.com>
Thu, 9 Apr 2015 18:59:57 +0000
(14:59 -0400)
committer
James 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_init.c
b/drivers/scsi/qla2xxx/qla_init.c
index e59f25bff7abbb49a9f2478b8e1cf59e9d8fe399..cb294e5cdddd2fbfb2c60c167ddd3ee25a6fa34c 100644
(file)
--- 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)
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