diff options
author | James Smart <James.Smart@Emulex.Com> | 2006-07-06 15:49:25 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-07-09 11:19:03 -0400 |
commit | e17da18e2f78845899467d6e580146ef673f5330 (patch) | |
tree | 756b7a096f86eaa05b93f5fb5f3c90dc3b65cee4 /drivers/scsi/lpfc/lpfc_scsi.c | |
parent | 5a0e326dfa6d87a1ac6929a7d6d327e8803b7aef (diff) |
[SCSI] lpfc 8.1.7: Standardize the driver on a single define for the maximum supported targets
Standardize the driver on a single define for the maximum supported targets.
Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_scsi.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c index aea1ee472f3d..578468810416 100644 --- a/drivers/scsi/lpfc/lpfc_scsi.c +++ b/drivers/scsi/lpfc/lpfc_scsi.c | |||
@@ -1078,7 +1078,7 @@ lpfc_reset_bus_handler(struct scsi_cmnd *cmnd) | |||
1078 | * targets known to the driver. Should any target reset | 1078 | * targets known to the driver. Should any target reset |
1079 | * fail, this routine returns failure to the midlayer. | 1079 | * fail, this routine returns failure to the midlayer. |
1080 | */ | 1080 | */ |
1081 | for (i = 0; i < MAX_FCP_TARGET; i++) { | 1081 | for (i = 0; i < LPFC_MAX_TARGET; i++) { |
1082 | /* Search the mapped list for this target ID */ | 1082 | /* Search the mapped list for this target ID */ |
1083 | match = 0; | 1083 | match = 0; |
1084 | list_for_each_entry(ndlp, &phba->fc_nlpmap_list, nlp_listp) { | 1084 | list_for_each_entry(ndlp, &phba->fc_nlpmap_list, nlp_listp) { |