xref: /freebsd/share/man/man4/tws.4 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
1db1fda10SXin LI.\"
2db1fda10SXin LI.\"Copyright (c) 2010, 2011 iXsystems, Inc.
3db1fda10SXin LI.\"All rights reserved.
4db1fda10SXin LI.\" written by: Xin LI <delphij@FreeBSD.org>
5db1fda10SXin LI.\"
6db1fda10SXin LI.\"Redistribution and use in source and binary forms, with or without
7db1fda10SXin LI.\"modification, are permitted provided that the following conditions
8db1fda10SXin LI.\"are met:
9db1fda10SXin LI.\"1. Redistributions of source code must retain the above copyright
10db1fda10SXin LI.\"   notice, this list of conditions and the following disclaimer.
11db1fda10SXin LI.\"2. Redistributions in binary form must reproduce the above copyright
12db1fda10SXin LI.\"   notice, this list of conditions and the following disclaimer in the
13db1fda10SXin LI.\"   documentation and/or other materials provided with the distribution.
14db1fda10SXin LI.\"
15db1fda10SXin LI.\"THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16db1fda10SXin LI.\"ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17db1fda10SXin LI.\"IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18db1fda10SXin LI.\"ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19db1fda10SXin LI.\"FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20db1fda10SXin LI.\"DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21db1fda10SXin LI.\"OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22db1fda10SXin LI.\"HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23db1fda10SXin LI.\"LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24db1fda10SXin LI.\"OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25db1fda10SXin LI.\"SUCH DAMAGE.
26db1fda10SXin LI.\"
27db1fda10SXin LI.Dd October 4, 2011
28db1fda10SXin LI.Dt TWS 4
29db1fda10SXin LI.Os
30db1fda10SXin LI.Sh NAME
31db1fda10SXin LI.Nm tws
32db1fda10SXin LI.Nd 3ware 9750 SATA+SAS 6Gb/s RAID controller card driver
33db1fda10SXin LI.Sh SYNOPSIS
34db1fda10SXin LITo compile this driver into the kernel,
35db1fda10SXin LIplace the following lines in your
36db1fda10SXin LIkernel configuration file:
37db1fda10SXin LI.Bd -ragged -offset indent
38db1fda10SXin LI.Cd "device scbus"
39db1fda10SXin LI.Cd "device tws"
40db1fda10SXin LI.Ed
41db1fda10SXin LI.Pp
42db1fda10SXin LIAlternatively, to load the driver as a
43db1fda10SXin LImodule at boot time, place the following line in
44db1fda10SXin LI.Xr loader.conf 5 :
45db1fda10SXin LI.Bd -literal -offset indent
46db1fda10SXin LItws_load="YES"
47db1fda10SXin LI.Ed
48db1fda10SXin LI.Sh DESCRIPTION
49db1fda10SXin LIThe
50db1fda10SXin LI.Nm
51db1fda10SXin LIdriver provides support for LSI's 3ware 9750 SATA+SAS 6Gb/s RAID controller cards.
52db1fda10SXin LI.Pp
53db1fda10SXin LIThese controllers feature the LSISAS2108 6Gb/s SAS RAID-on-Chip (ROC)
54db1fda10SXin LIand are available in 4- and 8-port configurations, supports RAID levels
55db1fda10SXin LI0, 1, 5, 6, 10, 50 and single disk, with 96 SATA and/or SAS hard drives and SSDs.
56db1fda10SXin LI.Pp
57db1fda10SXin LIFor further hardware information, see
58db1fda10SXin LI.Pa http://www.lsi.com/.
59db1fda10SXin LI.Sh HARDWARE
60db1fda10SXin LIThe
61db1fda10SXin LI.Nm
62db1fda10SXin LIdriver supports the following SATA/SAS RAID controller:
63db1fda10SXin LI.Pp
64db1fda10SXin LI.Bl -bullet -compact
65db1fda10SXin LI.It
66db1fda10SXin LILSI's 3ware SAS 9750 series
67db1fda10SXin LI.El
68db1fda10SXin LI.Sh LOADER TUNABLES
69db1fda10SXin LITunables can be set at the
70db1fda10SXin LI.Xr loader 8
71db1fda10SXin LIprompt before booting the kernel or stored in
72db1fda10SXin LI.Xr loader.conf 5 .
73db1fda10SXin LI.Bl -tag -width "hw.tws.use_32bit_sgls"
74db1fda10SXin LI.It Va hw.tws.cam_depth
7550d922a0SGlen BarberThe maximum queued CAM SIM requests for one controller.
76db1fda10SXin LIThe default value is 256.
77db1fda10SXin LI.It Va hw.tws.enable_msi
78db1fda10SXin LIThis tunable enables MSI support on the controller if set to a non-zero value.
79db1fda10SXin LIThe default value is 0.
80db1fda10SXin LI.It Va hw.tws.queue_depth
8150d922a0SGlen BarberThe maximum queued requests for one controller.
82db1fda10SXin LI.It Va hw.tws.use_32bit_sgls
83db1fda10SXin LILimit the driver to use only 32-bit SG elements regardless whether the operating
84db1fda10SXin LIsystem is running in 64-bit mode.
85db1fda10SXin LIThe default value is 0.
86db1fda10SXin LI.El
87db1fda10SXin LI.Sh FILES
88db1fda10SXin LI.Bl -tag -width ".Pa /dev/tws?" -compact
89db1fda10SXin LI.It Pa /dev/da?
90db1fda10SXin LIarray/logical disk interface
91db1fda10SXin LI.It Pa /dev/tws?
92db1fda10SXin LImanagement interface
93db1fda10SXin LI.El
94db1fda10SXin LI.Sh DIAGNOSTICS
95db1fda10SXin LIWhenever the driver encounters a command failure, it prints out an error code in
96db1fda10SXin LIthe format:
97db1fda10SXin LI.Qq Li "ERROR: (<error source>: <error code>):" ,
98db1fda10SXin LIfollowed by a text description of the error.
99db1fda10SXin LIThere are other error messages and warnings that the
100db1fda10SXin LIdriver prints out, depending on the kinds of errors that it encounters.
101db1fda10SXin LIIf the driver is compiled with
102db1fda10SXin LI.Dv TWS_DEBUG
103db1fda10SXin LIdefined, it prints out a whole bunch of debug
104db1fda10SXin LImessages.
105db1fda10SXin LI.Sh SEE ALSO
106db1fda10SXin LI.Xr da 4 ,
107db1fda10SXin LI.Xr scsi 4
108db1fda10SXin LI.Sh AUTHORS
109db1fda10SXin LI.An -nosplit
110db1fda10SXin LIThe
111db1fda10SXin LI.Nm
112db1fda10SXin LIdriver was written by
113db1fda10SXin LI.An Manjunath Ranganathaiah
114db1fda10SXin LIfor LSI and this manual page was written by
115*6c899950SBaptiste Daroussin.An Xin LI Aq Mt delphij@FreeBSD.org
116db1fda10SXin LIfor iXsystems, Inc.
117