From: Chad Dupuis <chad.dup...@qlogic.com>

Signed-off-by: Chad Dupuis <chad.dup...@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madh...@qlogic.com>
---
 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 e59f25b..cb294e5 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)
 
        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
-- 
1.7.7

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to