Merge tag 'opp-updates-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm
[linux-block.git] / Documentation / scsi / scsi-parameters.rst
CommitLineData
a0b1643b
MCC
1.. SPDX-License-Identifier: GPL-2.0
2
3======================
4SCSI Kernel Parameters
5======================
163475fb 6
8c27ceff 7See Documentation/admin-guide/kernel-parameters.rst for general information on
163475fb
RD
8specifying module parameters.
9
10This document may not be entirely up to date and comprehensive. The command
a0b1643b 11``modinfo -p ${modulename}`` shows a current list of all parameters of a loadable
163475fb
RD
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
a0b1643b 15``echo -n ${value} > /sys/module/${modulename}/parameters/${parm}``.
163475fb 16
a0b1643b 17::
163475fb
RD
18
19 advansys= [HW,SCSI]
20 See header of drivers/scsi/advansys.c.
21
22 aha152x= [HW,SCSI]
94b5530f 23 See Documentation/scsi/aha152x.rst.
163475fb
RD
24
25 aha1542= [HW,SCSI]
26 Format: <portbase>[,<buson>,<busoff>[,<dmaspeed>]]
27
28 aic7xxx= [HW,SCSI]
cff7c4a5 29 See Documentation/scsi/aic7xxx.rst.
163475fb
RD
30
31 aic79xx= [HW,SCSI]
520a44d4 32 See Documentation/scsi/aic79xx.rst.
163475fb 33
9c41ab27
FT
34 atascsi= [HW,SCSI]
35 See drivers/scsi/atari_scsi.c.
163475fb
RD
36
37 BusLogic= [HW,SCSI]
38 See drivers/scsi/BusLogic.c, comment before function
39 BusLogic_ParseDriverOptions().
40
163475fb
RD
41 gvp11= [HW,SCSI]
42
163475fb
RD
43 ips= [HW,SCSI] Adaptec / IBM ServeRAID controller
44 See header of drivers/scsi/ips.c.
45
9c41ab27
FT
46 mac5380= [HW,SCSI]
47 See drivers/scsi/mac_scsi.c.
163475fb 48
86432652
MP
49 scsi_mod.max_luns=
50 [SCSI] Maximum number of LUNs to probe.
163475fb
RD
51 Should be between 1 and 2^32-1.
52
86432652 53 scsi_mod.max_report_luns=
163475fb
RD
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]
3c1e681b 61 See Documentation/scsi/g_NCR5380.rst.
163475fb
RD
62
63 ncr53c400= [HW,SCSI]
3c1e681b 64 See Documentation/scsi/g_NCR5380.rst.
163475fb
RD
65
66 ncr53c400a= [HW,SCSI]
3c1e681b 67 See Documentation/scsi/g_NCR5380.rst.
163475fb 68
163475fb
RD
69 ncr53c8xx= [HW,SCSI]
70
163475fb
RD
71 osst= [HW,SCSI] SCSI Tape Driver
72 Format: <buffer_size>,<write_threshold>
bf65c846 73 See also Documentation/scsi/st.rst.
163475fb 74
163475fb
RD
75 scsi_debug_*= [SCSI]
76 See drivers/scsi/scsi_debug.c.
77
86432652 78 scsi_mod.default_dev_flags=
163475fb
RD
79 [SCSI] SCSI default device flags
80 Format: <integer>
81
86432652
MP
82 scsi_mod.dev_flags=
83 [SCSI] Black/white list entry for vendor and model
163475fb
RD
84 Format: <vendor>:<model>:<flags>
85 (flags are integer value)
86
86432652
MP
87 scsi_mod.scsi_logging_level=
88 [SCSI] a bit mask of logging levels
163475fb
RD
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
2e0d3bd8 94 https://github.com/ibm-s390-linux/s390-tools/blob/master/scripts/scsi_logging_level
163475fb
RD
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.)
bf65c846 105 See Documentation/scsi/st.rst.
163475fb 106
163475fb
RD
107 wd33c93= [HW,SCSI]
108 See header of drivers/scsi/wd33c93.c.