diff options
author | Christoph Hellwig <hch@lst.de> | 2018-12-13 10:17:09 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-12-18 23:19:21 -0500 |
commit | 4af14d113bcf95c12d1462ba623b7e7117bd3fb3 (patch) | |
tree | dc47d35c7adea6f5d250ad9206a653b322568123 /drivers/scsi/aha152x.c | |
parent | 1c3726ad30938725a53f471d7967abfd6838330f (diff) |
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/aha152x.c')
-rw-r--r-- | drivers/scsi/aha152x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aha152x.c b/drivers/scsi/aha152x.c index 301b3cad15f8..97872838b983 100644 --- a/drivers/scsi/aha152x.c +++ b/drivers/scsi/aha152x.c | |||
@@ -2920,7 +2920,7 @@ static struct scsi_host_template aha152x_driver_template = { | |||
2920 | .can_queue = 1, | 2920 | .can_queue = 1, |
2921 | .this_id = 7, | 2921 | .this_id = 7, |
2922 | .sg_tablesize = SG_ALL, | 2922 | .sg_tablesize = SG_ALL, |
2923 | .use_clustering = DISABLE_CLUSTERING, | 2923 | .dma_boundary = PAGE_SIZE - 1, |
2924 | .slave_alloc = aha152x_adjust_queue, | 2924 | .slave_alloc = aha152x_adjust_queue, |
2925 | }; | 2925 | }; |
2926 | 2926 | ||