diff options
author | Christoph Hellwig <hch@lst.de> | 2018-12-13 16:17:09 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-12-18 23:19:21 -0500 |
commit | 4af14d113bcf95c12d1462ba623b7e7117bd3fb3 (patch) | |
tree | dc47d35c7adea6f5d250ad9206a653b322568123 /drivers/scsi/atari_scsi.c | |
parent | 1c3726ad30938725a53f471d7967abfd6838330f (diff) | |
download | talos-op-linux-4af14d113bcf95c12d1462ba623b7e7117bd3fb3.tar.gz talos-op-linux-4af14d113bcf95c12d1462ba623b7e7117bd3fb3.zip |
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/atari_scsi.c')
-rw-r--r-- | drivers/scsi/atari_scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/atari_scsi.c b/drivers/scsi/atari_scsi.c index 89f5154c40b6..a503dc50c4f8 100644 --- a/drivers/scsi/atari_scsi.c +++ b/drivers/scsi/atari_scsi.c @@ -714,7 +714,7 @@ static struct scsi_host_template atari_scsi_template = { .eh_host_reset_handler = atari_scsi_host_reset, .this_id = 7, .cmd_per_lun = 2, - .use_clustering = DISABLE_CLUSTERING, + .dma_boundary = PAGE_SIZE - 1, .cmd_size = NCR5380_CMD_SIZE, }; |