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