summaryrefslogtreecommitdiff
path: root/drivers/scsi/a2091.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-12-13 18:17:09 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2018-12-19 07:19:21 +0300
commit4af14d113bcf95c12d1462ba623b7e7117bd3fb3 (patch)
treedc47d35c7adea6f5d250ad9206a653b322568123 /drivers/scsi/a2091.c
parent1c3726ad30938725a53f471d7967abfd6838330f (diff)
downloadlinux-4af14d113bcf95c12d1462ba623b7e7117bd3fb3.tar.xz
scsi: remove the use_clustering flag
The same effects can be achieved by setting the dma_boundary to PAGE_SIZE - 1 and the max_segment_size to PAGE_SIZE, so shift those settings into the drivers. Note that in many cases the setting might be bogus, but this keeps the status quo. [mkp: fix myrs and myrb] Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/a2091.c')
-rw-r--r--drivers/scsi/a2091.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/a2091.c b/drivers/scsi/a2091.c
index 61aadc7acb49..c96bc7261a42 100644
--- a/drivers/scsi/a2091.c
+++ b/drivers/scsi/a2091.c
@@ -160,7 +160,7 @@ static struct scsi_host_template a2091_scsi_template = {
.this_id = 7,
.sg_tablesize = SG_ALL,
.cmd_per_lun = CMD_PER_LUN,
- .use_clustering = DISABLE_CLUSTERING
+ .dma_boundary = PAGE_SIZE - 1,
};
static int a2091_probe(struct zorro_dev *z, const struct zorro_device_id *ent)