diff options
author | Matthew Wilcox <matthew@wil.cx> | 2006-03-28 11:03:44 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-04-13 11:13:26 -0400 |
commit | 14ac8bf58d8ad46d8cd9e5db025beb9f8da24854 (patch) | |
tree | f848581653a1d0e845fd23390426adcdd6e80c53 /drivers/scsi/sym53c8xx_2 | |
parent | b4e93a739ed1352664defd41d5e4f82afa29b928 (diff) |
[SCSI] Enable clustering and large transfers
This patch enables clustering and sets max_sectors to 0xffff to enable
reading and writing of large blocks with tapes (and large transfers with
sg). This change is needed after the sg and st drivers started using
chained bios through scsi_request_async() in 2.6.16.
Signed-off-by: Kai Makisara <kai.makisara@kolumbus.fi>
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sym53c8xx_2')
-rw-r--r-- | drivers/scsi/sym53c8xx_2/sym_glue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.c b/drivers/scsi/sym53c8xx_2/sym_glue.c index e48409e26e5f..2c4e5f1e7a94 100644 --- a/drivers/scsi/sym53c8xx_2/sym_glue.c +++ b/drivers/scsi/sym53c8xx_2/sym_glue.c | |||
@@ -1870,7 +1870,8 @@ static struct scsi_host_template sym2_template = { | |||
1870 | .eh_bus_reset_handler = sym53c8xx_eh_bus_reset_handler, | 1870 | .eh_bus_reset_handler = sym53c8xx_eh_bus_reset_handler, |
1871 | .eh_host_reset_handler = sym53c8xx_eh_host_reset_handler, | 1871 | .eh_host_reset_handler = sym53c8xx_eh_host_reset_handler, |
1872 | .this_id = 7, | 1872 | .this_id = 7, |
1873 | .use_clustering = DISABLE_CLUSTERING, | 1873 | .use_clustering = ENABLE_CLUSTERING, |
1874 | .max_sectors = 0xFFFF, | ||
1874 | #ifdef SYM_LINUX_PROC_INFO_SUPPORT | 1875 | #ifdef SYM_LINUX_PROC_INFO_SUPPORT |
1875 | .proc_info = sym53c8xx_proc_info, | 1876 | .proc_info = sym53c8xx_proc_info, |
1876 | .proc_name = NAME53C8XX, | 1877 | .proc_name = NAME53C8XX, |