hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/scsi/arm/acornscsi.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * linux/drivers/acorn/scsi/acornscsi.c
34 *
45 * Acorn SCSI 3 driver
56 * By R.M.King.
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * published by the Free Software Foundation.
107 *
118 * Abandoned using the Select and Transfer command since there were
129 * some nasty races between our software and the target devices that
....@@ -1070,7 +1067,7 @@
10701067 * Purpose : ensure that all DMA transfers are up-to-date & host->scsi.SCp is correct
10711068 * Params : host - host to finish
10721069 * Notes : This is called when a command is:
1073
- * terminating, RESTORE_POINTERS, SAVE_POINTERS, DISCONECT
1070
+ * terminating, RESTORE_POINTERS, SAVE_POINTERS, DISCONNECT
10741071 * : This must not return until all transfers are completed.
10751072 */
10761073 static
....@@ -1819,7 +1816,7 @@
18191816 }
18201817
18211818 /*
1822
- * Function: int acornscsi_reconect_finish(AS_Host *host)
1819
+ * Function: int acornscsi_reconnect_finish(AS_Host *host)
18231820 * Purpose : finish reconnecting a command
18241821 * Params : host - host to complete
18251822 * Returns : 0 if failed
....@@ -2890,7 +2887,7 @@
28902887 .this_id = 7,
28912888 .sg_tablesize = SG_ALL,
28922889 .cmd_per_lun = 2,
2893
- .use_clustering = DISABLE_CLUSTERING,
2890
+ .dma_boundary = PAGE_SIZE - 1,
28942891 .proc_name = "acornscsi",
28952892 };
28962893