xref: /freebsd/share/man/man4/siis.4 (revision 732a02b4e77866604a120a275c082bb6221bd2ff)
1.\" Copyright (c) 2009 Alexander Motin <mav@FreeBSD.org>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\"
13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
27.Dd March 23, 2015
28.Dt SIIS 4
29.Os
30.Sh NAME
31.Nm siis
32.Nd SiliconImage Serial ATA Host Controller driver
33.Sh SYNOPSIS
34To compile this driver into the kernel,
35place the following lines in your
36kernel configuration file:
37.Bd -ragged -offset indent
38.Cd "device pci"
39.Cd "device scbus"
40.Cd "device siis"
41.Ed
42.Pp
43Alternatively, to load the driver as a
44module at boot time, place the following line in
45.Xr loader.conf 5 :
46.Bd -literal -offset indent
47siis_load="YES"
48.Ed
49.Pp
50The following tunables are settable from the
51.Xr loader 8 :
52.Bl -ohang
53.It Va hint.siis. Ns Ar X Ns Va .msi
54controls Message Signaled Interrupts (MSI) usage by the specified controller.
55.It Va hint.siisch. Ns Ar X Ns Va .pm_level
56controls SATA interface Power Management for the specified channel,
57allowing some power to be saved at the cost of additional command
58latency.
59Possible values:
60.Bl -tag -width 2n -offset indent
61.It 0
62interface Power Management is disabled (default);
63.It 1
64device is allowed to initiate PM state change, host is passive.
65.El
66.Pp
67Note that interface Power Management is not compatible with
68device presence detection.
69A manual bus reset is needed on device hot-plug.
70.It Va hint.siisch. Ns Ar X Ns Va .sata_rev
71setting to nonzero value limits maximum SATA revision (speed).
72Values 1, 2 and 3 are respectively 1.5, 3 and 6Gbps.
73.El
74.Sh DESCRIPTION
75This driver provides the
76.Xr CAM 4
77subsystem with native access to the
78.Tn SATA
79ports of controller.
80Each SATA port is represented to CAM as a separate bus with 16 targets.
81Most of the bus-management details are handled by the SATA-specific
82transport of CAM.
83Connected ATA disks are handled by the ATA protocol disk peripheral driver
84.Xr ada 4 .
85ATAPI devices are handled by the SCSI protocol peripheral drivers
86.Xr cd 4 ,
87.Xr da 4 ,
88.Xr sa 4 ,
89etc.
90.Pp
91Driver features include support for Serial ATA and ATAPI devices,
92Port Multipliers (including FIS-based switching), hardware command queues
93(31 command per port), Native Command Queuing, SATA interface Power Management,
94device hot-plug and Message Signaled Interrupts.
95.Pp
96The activity LEDs of the adapters supported by the
97.Nm
98driver can be controlled via the
99.Xr led 4
100API for localization or status reporting purposes.
101.Sh HARDWARE
102The
103.Nm
104driver supports the following controller chips:
105.Pp
106.Bl -bullet -compact
107.It
108SiI3124 (PCI-X 133MHz/64bit, 4 ports)
109.It
110SiI3131 (PCIe 1.0 x1, 1 port)
111.It
112SiI3132 (PCIe 1.0 x1, 2 ports)
113.It
114SiI3531 (PCIe 1.0 x1, 1 port)
115.El
116.Sh FILES
117.Bl -tag -width /dev/led/siisch*
118.It Pa /dev/led/siisch*
119identification LED device nodes
120.El
121.Sh SEE ALSO
122.Xr ada 4 ,
123.Xr ata 4 ,
124.Xr cam 4 ,
125.Xr cd 4 ,
126.Xr da 4 ,
127.Xr led 4 ,
128.Xr sa 4
129.Sh HISTORY
130The
131.Nm
132driver first appeared in
133.Fx 8.0 .
134.Sh AUTHORS
135.An Alexander Motin Aq Mt mav@FreeBSD.org
136