aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_scsi.c
diff options
context:
space:
mode:
authorSwen Schillig <swen@vnet.ibm.com>2006-10-12 11:43:44 +0200
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-10-25 15:12:50 -0700
commit8d1a006049ff1c084d57fbea1106ecad3455bd27 (patch)
treeb52ce59bf499115777b7d688174e3399cd2c7065 /drivers/s390/scsi/zfcp_scsi.c
parent[SCSI] fc4: Conversion to struct scsi_cmnd in fc4 (diff)
downloadlinux-dev-8d1a006049ff1c084d57fbea1106ecad3455bd27.tar.xz
linux-dev-8d1a006049ff1c084d57fbea1106ecad3455bd27.zip
[SCSI] zfcp: initialize scsi_host_template.max_sectors with appropriate value
Define ZFCP_MAX_SECTORS and initialize scsi_host_template.max_sectors with appropriate value. Signed-off-by: Swen Schillig <swen@vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to '')
-rw-r--r--drivers/s390/scsi/zfcp_scsi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/scsi/zfcp_scsi.c b/drivers/s390/scsi/zfcp_scsi.c
index 4d2bc7981324..452d96f92a14 100644
--- a/drivers/s390/scsi/zfcp_scsi.c
+++ b/drivers/s390/scsi/zfcp_scsi.c
@@ -58,6 +58,7 @@ struct zfcp_data zfcp_data = {
.cmd_per_lun = 1,
.use_clustering = 1,
.sdev_attrs = zfcp_sysfs_sdev_attrs,
+ .max_sectors = ZFCP_MAX_SECTORS,
},
.driver_version = ZFCP_VERSION,
};