hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/scsi/g_NCR5380.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Generic Generic NCR5380 driver
34 *
....@@ -19,7 +20,7 @@
1920 * Added ISAPNP support for DTC436 adapters,
2021 * Thomas Sailer, sailer@ife.ee.ethz.ch
2122 *
22
- * See Documentation/scsi/g_NCR5380.txt for more info.
23
+ * See Documentation/scsi/g_NCR5380.rst for more info.
2324 */
2425
2526 #include <asm/io.h>
....@@ -339,7 +340,7 @@
339340 break;
340341 case BOARD_DTC3181E:
341342 hostdata->io_width = 2; /* 16-bit PDMA */
342
- /* fall through */
343
+ fallthrough;
343344 case BOARD_NCR53C400A:
344345 case BOARD_HP_C2502:
345346 hostdata->c400_ctl_status = 9;
....@@ -700,7 +701,7 @@
700701 .this_id = 7,
701702 .sg_tablesize = SG_ALL,
702703 .cmd_per_lun = 2,
703
- .use_clustering = DISABLE_CLUSTERING,
704
+ .dma_boundary = PAGE_SIZE - 1,
704705 .cmd_size = NCR5380_CMD_SIZE,
705706 .max_sectors = 128,
706707 };