diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2011-05-10 11:30:13 -0700 |
---|---|---|
committer | James Bottomley <jbottomley@parallels.com> | 2011-05-17 11:34:56 +0400 |
commit | 82515920b60760bca9f66decdaa7dd98191fa47c (patch) | |
tree | 4c9e55483f046fe9ab3cf091c8bbca004b67bc42 /drivers/scsi/qla2xxx/qla_mid.c | |
parent | 24014d046485e1947dfb5d79365472d9981cda1e (diff) | |
download | kernel_goldelico_gta04-82515920b60760bca9f66decdaa7dd98191fa47c.zip kernel_goldelico_gta04-82515920b60760bca9f66decdaa7dd98191fa47c.tar.gz kernel_goldelico_gta04-82515920b60760bca9f66decdaa7dd98191fa47c.tar.bz2 |
[SCSI] qla2xxx: Allow an override of the registered maximum LUN.
The 'max_lun' value registered for each scsi_host is currently
capped at 0xffff. The new module parameter can allow for
2nd-level flat-space addressing method-infrastructure to be
supported.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Signed-off-by: James Bottomley <jbottomley@parallels.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_mid.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_mid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mid.c b/drivers/scsi/qla2xxx/qla_mid.c index e34d7dd..5e34391 100644 --- a/drivers/scsi/qla2xxx/qla_mid.c +++ b/drivers/scsi/qla2xxx/qla_mid.c @@ -456,7 +456,7 @@ qla24xx_create_vhost(struct fc_vport *fc_vport) else host->max_cmd_len = MAX_CMDSZ; host->max_channel = MAX_BUSES - 1; - host->max_lun = MAX_LUNS; + host->max_lun = ql2xmaxlun; host->unique_id = host->host_no; host->max_id = MAX_TARGETS_2200; host->transportt = qla2xxx_transport_vport_template; |