Skip to content

Commit 1c3726a

Browse files
Christoph Hellwigmartinkpetersen
authored andcommitted
scsi: mac53c94: remove DISABLE_CLUSTERING
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>
1 parent 5bd6cd5 commit 1c3726a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/mac53c94.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ static struct scsi_host_template mac53c94_template = {
403403
.can_queue = 1,
404404
.this_id = 7,
405405
.sg_tablesize = SG_ALL,
406-
.use_clustering = DISABLE_CLUSTERING,
406+
.max_segment_size = 65535,
407407
};
408408

409409
static int mac53c94_probe(struct macio_dev *mdev, const struct of_device_id *match)

0 commit comments

Comments
 (0)