SCSI: qla2xxx: Do not honour max_vports from firmware for 2G ISPs and below.
authorShyam Sundar <shyam.sundar@qlogic.com>
Fri, 24 Oct 2008 22:13:46 +0000 (15:13 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 Nov 2008 22:54:50 +0000 (14:54 -0800)
commit56965a2c46d82de250c961947268a737a3ce9e61
treecee804aefe6bff65eb06f8b7f37ba50b09e89302
parented07e187be0e13b8043a685cbe43df4adf82b856
SCSI: qla2xxx: Do not honour max_vports from firmware for 2G ISPs and below.

commit 680d7db88ace53c673e1c437c9b6abcc053e8d6f upstream.

For 23XX ISPs, max_vports may return an invalid value.
Do not honour it.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_mbx.c