]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
scsi: mac53c94: remove DISABLE_CLUSTERING
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Dec 2018 15:17:08 +0000 (16:17 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 19 Dec 2018 04:13:12 +0000 (23:13 -0500)
mac53c94 has no limitations on crossing pages for segments.  Just make
the 65535 byte segment size limit explicit, even if it matches the
current block layer limit.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mac53c94.c

index 177701dfdfcbcd7e7b3ff4c92ce7c639bcddd730..c8e6ae98a4a62f89870b4c878a89c84f6524068e 100644 (file)
@@ -403,7 +403,7 @@ static struct scsi_host_template mac53c94_template = {
        .can_queue      = 1,
        .this_id        = 7,
        .sg_tablesize   = SG_ALL,
-       .use_clustering = DISABLE_CLUSTERING,
+       .max_segment_size = 65535,
 };
 
 static int mac53c94_probe(struct macio_dev *mdev, const struct of_device_id *match)