Blame view

Documentation/scsi/scsi-parameters.rst 3 KB
a0b1643be   Mauro Carvalho Chehab   scsi: docs: conve...
1
2
3
4
5
  .. SPDX-License-Identifier: GPL-2.0
  
  ======================
  SCSI Kernel Parameters
  ======================
163475fb1   Randy Dunlap   Documentation: mo...
6

8c27ceff3   Mauro Carvalho Chehab   docs: fix locatio...
7
  See Documentation/admin-guide/kernel-parameters.rst for general information on
163475fb1   Randy Dunlap   Documentation: mo...
8
9
10
  specifying module parameters.
  
  This document may not be entirely up to date and comprehensive. The command
a0b1643be   Mauro Carvalho Chehab   scsi: docs: conve...
11
  ``modinfo -p ${modulename}`` shows a current list of all parameters of a loadable
163475fb1   Randy Dunlap   Documentation: mo...
12
13
14
  module. Loadable modules, after being loaded into the running kernel, also
  reveal their parameters in /sys/module/${modulename}/parameters/. Some of these
  parameters may be changed at runtime by the command
a0b1643be   Mauro Carvalho Chehab   scsi: docs: conve...
15
  ``echo -n ${value} > /sys/module/${modulename}/parameters/${parm}``.
163475fb1   Randy Dunlap   Documentation: mo...
16

a0b1643be   Mauro Carvalho Chehab   scsi: docs: conve...
17
  ::
163475fb1   Randy Dunlap   Documentation: mo...
18
19
20
21
22
  
  	advansys=	[HW,SCSI]
  			See header of drivers/scsi/advansys.c.
  
  	aha152x=	[HW,SCSI]
94b5530f1   Mauro Carvalho Chehab   scsi: docs: conve...
23
  			See Documentation/scsi/aha152x.rst.
163475fb1   Randy Dunlap   Documentation: mo...
24
25
26
27
28
  
  	aha1542=	[HW,SCSI]
  			Format: <portbase>[,<buson>,<busoff>[,<dmaspeed>]]
  
  	aic7xxx=	[HW,SCSI]
cff7c4a59   Mauro Carvalho Chehab   scsi: docs: conve...
29
  			See Documentation/scsi/aic7xxx.rst.
163475fb1   Randy Dunlap   Documentation: mo...
30
31
  
  	aic79xx=	[HW,SCSI]
520a44d4d   Mauro Carvalho Chehab   scsi: docs: conve...
32
  			See Documentation/scsi/aic79xx.rst.
163475fb1   Randy Dunlap   Documentation: mo...
33

9c41ab27e   Finn Thain   ncr5380: Update u...
34
35
  	atascsi=	[HW,SCSI]
  			See drivers/scsi/atari_scsi.c.
163475fb1   Randy Dunlap   Documentation: mo...
36
37
38
39
  
  	BusLogic=	[HW,SCSI]
  			See drivers/scsi/BusLogic.c, comment before function
  			BusLogic_ParseDriverOptions().
163475fb1   Randy Dunlap   Documentation: mo...
40
41
42
43
  	gdth=		[HW,SCSI]
  			See header of drivers/scsi/gdth.c.
  
  	gvp11=		[HW,SCSI]
163475fb1   Randy Dunlap   Documentation: mo...
44
45
  	ips=		[HW,SCSI] Adaptec / IBM ServeRAID controller
  			See header of drivers/scsi/ips.c.
9c41ab27e   Finn Thain   ncr5380: Update u...
46
47
  	mac5380=	[HW,SCSI]
  			See drivers/scsi/mac_scsi.c.
163475fb1   Randy Dunlap   Documentation: mo...
48

864326523   Martin K. Petersen   scsi: Clarify SCS...
49
50
  	scsi_mod.max_luns=
  			[SCSI] Maximum number of LUNs to probe.
163475fb1   Randy Dunlap   Documentation: mo...
51
  			Should be between 1 and 2^32-1.
864326523   Martin K. Petersen   scsi: Clarify SCS...
52
  	scsi_mod.max_report_luns=
163475fb1   Randy Dunlap   Documentation: mo...
53
54
55
56
57
58
59
  			[SCSI] Maximum number of LUNs received.
  			Should be between 1 and 16384.
  
  	NCR_D700=	[HW,SCSI]
  			See header of drivers/scsi/NCR_D700.c.
  
  	ncr5380=	[HW,SCSI]
3c1e681bc   Mauro Carvalho Chehab   scsi: docs: conve...
60
  			See Documentation/scsi/g_NCR5380.rst.
163475fb1   Randy Dunlap   Documentation: mo...
61
62
  
  	ncr53c400=	[HW,SCSI]
3c1e681bc   Mauro Carvalho Chehab   scsi: docs: conve...
63
  			See Documentation/scsi/g_NCR5380.rst.
163475fb1   Randy Dunlap   Documentation: mo...
64
65
  
  	ncr53c400a=	[HW,SCSI]
3c1e681bc   Mauro Carvalho Chehab   scsi: docs: conve...
66
  			See Documentation/scsi/g_NCR5380.rst.
163475fb1   Randy Dunlap   Documentation: mo...
67

163475fb1   Randy Dunlap   Documentation: mo...
68
  	ncr53c8xx=	[HW,SCSI]
163475fb1   Randy Dunlap   Documentation: mo...
69
70
  	osst=		[HW,SCSI] SCSI Tape Driver
  			Format: <buffer_size>,<write_threshold>
bf65c8464   Mauro Carvalho Chehab   scsi: docs: conve...
71
  			See also Documentation/scsi/st.rst.
163475fb1   Randy Dunlap   Documentation: mo...
72

163475fb1   Randy Dunlap   Documentation: mo...
73
74
  	scsi_debug_*=	[SCSI]
  			See drivers/scsi/scsi_debug.c.
864326523   Martin K. Petersen   scsi: Clarify SCS...
75
  	scsi_mod.default_dev_flags=
163475fb1   Randy Dunlap   Documentation: mo...
76
77
  			[SCSI] SCSI default device flags
  			Format: <integer>
864326523   Martin K. Petersen   scsi: Clarify SCS...
78
79
  	scsi_mod.dev_flags=
  			[SCSI] Black/white list entry for vendor and model
163475fb1   Randy Dunlap   Documentation: mo...
80
81
  			Format: <vendor>:<model>:<flags>
  			(flags are integer value)
864326523   Martin K. Petersen   scsi: Clarify SCS...
82
83
  	scsi_mod.scsi_logging_level=
  			[SCSI] a bit mask of logging levels
163475fb1   Randy Dunlap   Documentation: mo...
84
85
86
87
88
  			See drivers/scsi/scsi_logging.h for bits.  Also
  			settable via sysctl at dev.scsi.logging_level
  			(/proc/sys/dev/scsi/logging_level).
  			There is also a nice 'scsi_logging_level' script in the
  			S390-tools package, available for download at
b9789bfbf   Benjamin Block   scsi: docs: Updat...
89
  			https://github.com/ibm-s390-tools/s390-tools/blob/master/scripts/scsi_logging_level
163475fb1   Randy Dunlap   Documentation: mo...
90
91
92
93
94
95
96
97
98
99
  
  	scsi_mod.scan=	[SCSI] sync (default) scans SCSI busses as they are
  			discovered.  async scans them in kernel threads,
  			allowing boot to proceed.  none ignores them, expecting
  			user space to do the scan.
  
  	sim710=		[SCSI,HW]
  			See header of drivers/scsi/sim710.c.
  
  	st=		[HW,SCSI] SCSI tape parameters (buffers, etc.)
bf65c8464   Mauro Carvalho Chehab   scsi: docs: conve...
100
  			See Documentation/scsi/st.rst.
163475fb1   Randy Dunlap   Documentation: mo...
101

163475fb1   Randy Dunlap   Documentation: mo...
102
103
  	wd33c93=	[HW,SCSI]
  			See header of drivers/scsi/wd33c93.c.