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	gdth=		[HW,SCSI]
42			See header of drivers/scsi/gdth.c.
43
44	gvp11=		[HW,SCSI]
45
46	ips=		[HW,SCSI] Adaptec / IBM ServeRAID controller
47			See header of drivers/scsi/ips.c.
48
49	mac5380=	[HW,SCSI]
50			See drivers/scsi/mac_scsi.c.
51
52	scsi_mod.max_luns=
53			[SCSI] Maximum number of LUNs to probe.
54			Should be between 1 and 2^32-1.
55
56	scsi_mod.max_report_luns=
57			[SCSI] Maximum number of LUNs received.
58			Should be between 1 and 16384.
59
60	NCR_D700=	[HW,SCSI]
61			See header of drivers/scsi/NCR_D700.c.
62
63	ncr5380=	[HW,SCSI]
64			See Documentation/scsi/g_NCR5380.rst.
65
66	ncr53c400=	[HW,SCSI]
67			See Documentation/scsi/g_NCR5380.rst.
68
69	ncr53c400a=	[HW,SCSI]
70			See Documentation/scsi/g_NCR5380.rst.
71
72	ncr53c8xx=	[HW,SCSI]
73
74	osst=		[HW,SCSI] SCSI Tape Driver
75			Format: <buffer_size>,<write_threshold>
76			See also Documentation/scsi/st.rst.
77
78	scsi_debug_*=	[SCSI]
79			See drivers/scsi/scsi_debug.c.
80
81	scsi_mod.default_dev_flags=
82			[SCSI] SCSI default device flags
83			Format: <integer>
84
85	scsi_mod.dev_flags=
86			[SCSI] Black/white list entry for vendor and model
87			Format: <vendor>:<model>:<flags>
88			(flags are integer value)
89
90	scsi_mod.scsi_logging_level=
91			[SCSI] a bit mask of logging levels
92			See drivers/scsi/scsi_logging.h for bits.  Also
93			settable via sysctl at dev.scsi.logging_level
94			(/proc/sys/dev/scsi/logging_level).
95			There is also a nice 'scsi_logging_level' script in the
96			S390-tools package, available for download at
97			https://github.com/ibm-s390-tools/s390-tools/blob/master/scripts/scsi_logging_level
98
99	scsi_mod.scan=	[SCSI] sync (default) scans SCSI busses as they are
100			discovered.  async scans them in kernel threads,
101			allowing boot to proceed.  none ignores them, expecting
102			user space to do the scan.
103
104	sim710=		[SCSI,HW]
105			See header of drivers/scsi/sim710.c.
106
107	st=		[HW,SCSI] SCSI tape parameters (buffers, etc.)
108			See Documentation/scsi/st.rst.
109
110	wd33c93=	[HW,SCSI]
111			See header of drivers/scsi/wd33c93.c.
112