1.. SPDX-License-Identifier: GPL-2.0
2
3======================
4SCSI Kernel Parameters
5======================
6
7See Documentation/admin-guide/kernel-parameters.rst for general information on
8specifying module parameters.
9
10This document may not be entirely up to date and comprehensive. The command
11``modinfo -p ${modulename}`` shows a current list of all parameters of a loadable
12module. Loadable modules, after being loaded into the running kernel, also
13reveal their parameters in /sys/module/${modulename}/parameters/. Some of these
14parameters may be changed at runtime by the command
15``echo -n ${value} > /sys/module/${modulename}/parameters/${parm}``.
16
17::
18
19	advansys=	[HW,SCSI]
20			See header of drivers/scsi/advansys.c.
21
22	aha152x=	[HW,SCSI]
23			See Documentation/scsi/aha152x.rst.
24
25	aha1542=	[HW,SCSI]
26			Format: <portbase>[,<buson>,<busoff>[,<dmaspeed>]]
27
28	aic7xxx=	[HW,SCSI]
29			See Documentation/scsi/aic7xxx.rst.
30
31	aic79xx=	[HW,SCSI]
32			See Documentation/scsi/aic79xx.rst.
33
34	atascsi=	[HW,SCSI]
35			See drivers/scsi/atari_scsi.c.
36
37	BusLogic=	[HW,SCSI]
38			See drivers/scsi/BusLogic.c, comment before function
39			BusLogic_ParseDriverOptions().
40
41	gvp11=		[HW,SCSI]
42
43	ips=		[HW,SCSI] Adaptec / IBM ServeRAID controller
44			See header of drivers/scsi/ips.c.
45
46	mac5380=	[HW,SCSI]
47			See drivers/scsi/mac_scsi.c.
48
49	scsi_mod.max_luns=
50			[SCSI] Maximum number of LUNs to probe.
51			Should be between 1 and 2^32-1.
52
53	scsi_mod.max_report_luns=
54			[SCSI] Maximum number of LUNs received.
55			Should be between 1 and 16384.
56
57	NCR_D700=	[HW,SCSI]
58			See header of drivers/scsi/NCR_D700.c.
59
60	ncr5380=	[HW,SCSI]
61			See Documentation/scsi/g_NCR5380.rst.
62
63	ncr53c400=	[HW,SCSI]
64			See Documentation/scsi/g_NCR5380.rst.
65
66	ncr53c400a=	[HW,SCSI]
67			See Documentation/scsi/g_NCR5380.rst.
68
69	ncr53c8xx=	[HW,SCSI]
70
71	osst=		[HW,SCSI] SCSI Tape Driver
72			Format: <buffer_size>,<write_threshold>
73			See also Documentation/scsi/st.rst.
74
75	scsi_debug_*=	[SCSI]
76			See drivers/scsi/scsi_debug.c.
77
78	scsi_mod.default_dev_flags=
79			[SCSI] SCSI default device flags
80			Format: <integer>
81
82	scsi_mod.dev_flags=
83			[SCSI] Black/white list entry for vendor and model
84			Format: <vendor>:<model>:<flags>
85			(flags are integer value)
86
87	scsi_mod.scsi_logging_level=
88			[SCSI] a bit mask of logging levels
89			See drivers/scsi/scsi_logging.h for bits.  Also
90			settable via sysctl at dev.scsi.logging_level
91			(/proc/sys/dev/scsi/logging_level).
92			There is also a nice 'scsi_logging_level' script in the
93			S390-tools package, available for download at
94			https://github.com/ibm-s390-linux/s390-tools/blob/master/scripts/scsi_logging_level
95
96	scsi_mod.scan=	[SCSI] sync (default) scans SCSI busses as they are
97			discovered.  async scans them in kernel threads,
98			allowing boot to proceed.  none ignores them, expecting
99			user space to do the scan.
100
101	sim710=		[SCSI,HW]
102			See header of drivers/scsi/sim710.c.
103
104	st=		[HW,SCSI] SCSI tape parameters (buffers, etc.)
105			See Documentation/scsi/st.rst.
106
107	wd33c93=	[HW,SCSI]
108			See header of drivers/scsi/wd33c93.c.
109