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