Merge branch 'vendor/FILE'
[dragonfly.git] / share / man / man4 / twa.4
1 .\"
2 .\" Copyright (c) 2004 3ware, Inc.
3 .\" Copyright (c) 2000 BSDi
4 .\" All rights reserved.
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 ``AS IS'' AND ANY EXPRESS OR
16 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 .\"
26 .\" $FreeBSD: src/share/man/man4/twa.4,v 1.4 2005/02/27 13:14:28 brueffer Exp $
27 .\" $DragonFly: src/share/man/man4/twa.4,v 1.1 2006/04/30 18:46:39 swildner Exp $
28 .\"
29 .Dd August 15, 2004
30 .Dt TWA 4
31 .Os
32 .Sh NAME
33 .Nm twa
34 .Nd 3ware 9000 series SATA RAID controllers driver
35 .Sh SYNOPSIS
36 .Cd "device twa"
37 .Sh DESCRIPTION
38 The
39 .Nm
40 driver provides support for the AMCC's 3ware 9000 series SATA controllers.
41 .Pp
42 These controllers are available in 4, 8 or 12-port configurations,
43 and support the following RAID levels: 0, 1, 10, 5, 50.
44 The device nodes for the controllers are of the form
45 .Pa /dev/twa Ns Ar X ,
46 where
47 .Ar X
48 is the controller number.
49 The driver is implemented as a SCSI SIM
50 under CAM, and, as such, the logical units that it controls are accessible
51 via the device nodes,
52 .Pa /dev/da Ns Ar Y ,
53 where
54 .Ar Y
55 is the logical unit number.
56 .Sh HARDWARE
57 The
58 .Nm
59 driver supports the following SATA RAID controllers:
60 .Pp
61 .Bl -bullet -compact
62 .It
63 AMCC's 3ware 9500S-4LP
64 .It
65 AMCC's 3ware 9500S-8
66 .It
67 AMCC's 3ware 9500S-8MI
68 .It
69 AMCC's 3ware 9500S-12
70 .It
71 AMCC's 3ware 9500S-12MI
72 .El
73 .Sh DIAGNOSTICS
74 Whenever the driver encounters a command failure, it prints out an error code in
75 the format:
76 .Qq Li "ERROR: (<error source>: <error code>):" ,
77 followed by a text description of the error.
78 There are other error messages and warnings that the
79 driver prints out, depending on the kinds of errors that it encounters.
80 If the driver is compiled with
81 .Dv TWA_DEBUG
82 defined, it prints out a whole bunch of debug
83 messages, the quantity of which varies depending on the value assigned to
84 .Dv TWA_DEBUG
85 (0 to 10).
86 .Sh AUTHORS
87 The
88 .Nm
89 driver and manpage were written by
90 .An Vinod Kashyap Aq vkashyap@FreeBSD.org .