diff options
author | James Smart <james.smart@emulex.com> | 2015-04-07 15:07:08 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-04-10 10:44:33 -0400 |
commit | 77d093fb009c339f9fa15a2865787eb94eee22c6 (patch) | |
tree | 3819b7b13f52bd4856f19bd587d8e2d83667b31b | |
parent | c749e6bca57ffcc161c1ede8d9dcf274044eca15 (diff) |
lpfc: Fix the iteration count to match the 30 sec comment in the routine lpfc_pci_function_reset
Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
-rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index 0b2c53af85c7..2b5b91040022 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -7953,7 +7953,7 @@ wait: | |||
7953 | * up to 30 seconds. If the port doesn't respond, treat | 7953 | * up to 30 seconds. If the port doesn't respond, treat |
7954 | * it as an error. | 7954 | * it as an error. |
7955 | */ | 7955 | */ |
7956 | for (rdy_chk = 0; rdy_chk < 3000; rdy_chk++) { | 7956 | for (rdy_chk = 0; rdy_chk < 1500; rdy_chk++) { |
7957 | if (lpfc_readl(phba->sli4_hba.u.if_type2. | 7957 | if (lpfc_readl(phba->sli4_hba.u.if_type2. |
7958 | STATUSregaddr, ®_data.word0)) { | 7958 | STATUSregaddr, ®_data.word0)) { |
7959 | rc = -ENODEV; | 7959 | rc = -ENODEV; |