aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mac_esp.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-12-13 16:17:09 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2018-12-18 23:19:21 -0500
commit4af14d113bcf95c12d1462ba623b7e7117bd3fb3 (patch)
treedc47d35c7adea6f5d250ad9206a653b322568123 /drivers/scsi/mac_esp.c
parentscsi: mac53c94: remove DISABLE_CLUSTERING (diff)
downloadlinux-dev-4af14d113bcf95c12d1462ba623b7e7117bd3fb3.tar.xz
linux-dev-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/mac_esp.c')
-rw-r--r--drivers/scsi/mac_esp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/mac_esp.c b/drivers/scsi/mac_esp.c
index 764d320bb2ca..ee741207fd4e 100644
--- a/drivers/scsi/mac_esp.c
+++ b/drivers/scsi/mac_esp.c
@@ -307,7 +307,7 @@ static int esp_mac_probe(struct platform_device *dev)
goto fail;
host->max_id = 8;
- host->use_clustering = DISABLE_CLUSTERING;
+ host->dma_boundary = PAGE_SIZE - 1;
esp = shost_priv(host);
esp->host = host;