[SCSI] qla2xxx: Add ha->max_fibre_devices to keep track of the maximum number of...
authorChad Dupuis <chad.dupuis@qlogic.com>
Thu, 9 Feb 2012 19:15:57 +0000 (11:15 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 19 Feb 2012 14:33:13 +0000 (08:33 -0600)
commit642ef983861a6a7ba41e9d7c0aa4da8f6d5af5bf
tree5688c1503783f8b530bd83f5928271de8dbb9677
parent7a67735b07aa1bf61b8535eec6f6fb6474cf7926
[SCSI] qla2xxx: Add ha->max_fibre_devices to keep track of the maximum number of targets.

Add a field to the qla_hw_data struct to allow us to set the maximum number of
fabric devices on a per adapter basis based on ISP type.

[jejb: fix up missing rval = QLA_SUCCESS to prevent uninit var warning]
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_dbg.c
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_gs.c
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_inline.h
drivers/scsi/qla2xxx/qla_mid.c
drivers/scsi/qla2xxx/qla_os.c