mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-20 15:04:19 +00:00
scst: Port to Linux kernel v5.0 (merge r7849 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7888 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1663,7 +1663,12 @@ static struct scsi_host_template scst_lcl_ini_driver_template = {
|
||||
.sg_tablesize = 0xFFFF,
|
||||
.max_sectors = 0xffff,
|
||||
/* Possible pass-through backend device may not support clustering */
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 21, 0)
|
||||
.use_clustering = DISABLE_CLUSTERING,
|
||||
#else
|
||||
.dma_boundary = PAGE_SIZE - 1,
|
||||
.max_segment_size = PAGE_SIZE,
|
||||
#endif
|
||||
.skip_settle_delay = 1,
|
||||
.module = THIS_MODULE,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user