2 .\" Copyright (c) 2010 Spectra Logic Corporation
3 .\" Copyright (c) 2014 LSI Corp
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions, and the following disclaimer,
11 .\" without modification.
12 .\" 2. Redistributions in binary form must reproduce at minimum a disclaimer
13 .\" substantially similar to the "NO WARRANTY" disclaimer below
14 .\" ("Disclaimer") and any redistribution must be conditioned upon
15 .\" including a substantially similar Disclaimer requirement for further
16 .\" binary redistribution.
19 .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 .\" "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 .\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
22 .\" A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 .\" HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
27 .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
28 .\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 .\" POSSIBILITY OF SUCH DAMAGES.
31 .\" mpr driver man page.
33 .\" Author: Ken Merry <ken@FreeBSD.org>
34 .\" Author: Stephen McConnell <stephen.mcconnell@lsi.com>
44 .Nd "LSI Fusion-MPT 3 IT/IR 12Gb/s Serial Attached SCSI/SATA driver"
46 To compile this driver into the kernel, place the following lines in your
47 kernel configuration file:
48 .Bd -ragged -offset indent
54 Alternatively, to load the driver as a
55 module at boot time, place the following line in
57 .Bd -literal -offset indent
63 driver provides support for LSI Fusion-MPT 3 IT/IR
67 The following controllers are supported by the
73 LSI SAS 3004 (4 Port SAS)
75 LSI SAS 3008 (8 Port SAS)
77 LSI SAS 3108 (8 Port SAS)
80 To disable MSI interrupts for all
82 driver instances, set the following tunable value in
84 .Bd -literal -offset indent
88 To disable MSI interrupts for a specific
90 driver instance, set the following tunable value in
92 .Bd -literal -offset indent
93 dev.mpr.X.disable_msi=1
96 where X is the adapter number.
98 To disable MSI-X interrupts for all
100 driver instances, set the following tunable value in
102 .Bd -literal -offset indent
103 hw.mpr.disable_msix=1
106 To disable MSI-X interrupts for a specific
108 driver instance, set the following tunable value in
110 .Bd -literal -offset indent
111 dev.mpr.X.disable_msix=1
114 To set the maximum number of DMA chains allocated for all adapters, set
115 the following variable in
117 .Bd -literal -offset indent
118 hw.mpr.max_chains=NNNN
121 To set the maximum number of DMA chains allocated for a specific adapter,
122 set the following variable in
124 .Bd -literal -offset indent
125 dev.mpr.X.max_chains=NNNN
128 This variable may also be viewed via
130 to see the maximum set for a given adapter.
132 The current number of free chain frames may be seen via the
137 The lowest number of free chain frames may be seen via the
138 dev.mpr.X.chain_free_lowwater
142 The current number of active I/O commands is shown in the
143 dev.mpr.X.io_cmds_active
147 The maximum number of active I/O commands seen since boot is shown in the
148 dev.mpr.X.io_cmds_highwater
152 Devices can be excluded from
154 control for all adapters by setting the following variable in
156 .Bd -literal -offset indent
160 where Y is the target ID of the device.
161 If more than one device is to be
162 excluded, target ID's are separated by commas.
164 Devices can be excluded from
166 control for a specific adapter by setting the following variable in
168 .Bd -literal -offset indent
169 dev.mpr.X.exclude_ids=Y
172 where X is the adapter number and Y is the target ID of the device.
174 than one device is to be excluded, target ID's are separated by commas.
176 To enable debugging prints from the
179 .Bd -literal -offset indent
183 variable, where X is the adapter number, either in
187 The following bits have the described effects:
188 .Bd -literal -offset indent
189 0x0001 Enable informational prints.
190 0x0002 Enable prints for driver faults.
191 0x0004 Enable prints for controller events.
192 0x0008 Enable prints for controller logging.
193 0x0010 Enable prints for tracing recovery operations.
194 0x0020 Enable prints for parameter errors and programming bugs.
195 0x0040 Enable prints for system initialization operations.
196 0x0080 Enable prints for more detailed information.
197 0x0100 Enable prints for user-generated commands.
198 0x0200 Enable prints for device mapping.
199 0x0400 Enable prints for tracing through driver functions.
217 driver first appeared in FreeBSD 9.3.
221 driver was originally written by
223 .An Scott Long Aq scottl@FreeBSD.org .
224 It has been improved and tested by LSI Corporation.
226 This man page was written by
227 .An Ken Merry Aq ken@FreeBSD.org
228 with additional input from
229 .An Stephen McConnell Aq stephen.mcconnell@lsi.com .