[SCSI] qla2xxx: Use correct value for max vport in LOOP topology.
commit605aa2bcd5e9dddc4666f12e0c19822809186d6d
authorLalit Chandivade <lalit.chandivade@qlogic.com>
Thu, 5 Mar 2009 19:07:01 +0000 (5 11:07 -0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Tue, 10 Mar 2009 14:27:54 +0000 (10 09:27 -0500)
tree425903ae029a7d7a9a9c4117dbf6c53ab828b288
parent6431c5dc5eeaa79863b4af300c081a01e2ccd0bb
[SCSI] qla2xxx: Use correct value for max vport in LOOP topology.

Use minimum value for max vport during firmware initialization in LOOP
topology. Using max vport value from get resource count in LOOP topology
causes firmware initialization failure.

Signed-off-by: Lalit Chandivade <lalit.chandivade@qlogic.com>
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qla2xxx/qla_init.c