Skip to content

Commit

Permalink
qla2xxx: Increase the wait time for firmware to be ready for P3P.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chad Dupuis authored and James Bottomley committed Apr 10, 2015
1 parent 6cbfb1e commit 3346149
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions drivers/scsi/qla2xxx/qla_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3346149

Please sign in to comment.