2009-07-21 12:32:46 +00:00
|
|
|
.\" Copyright (c) 2009 Alexander Motin <mav@FreeBSD.org>
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\"
|
2010-09-15 07:10:39 +00:00
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
2009-07-21 12:32:46 +00:00
|
|
|
.\"
|
|
|
|
.\" $FreeBSD$
|
|
|
|
.\"
|
2011-04-08 12:46:47 +00:00
|
|
|
.Dd April 8, 2011
|
2009-07-21 12:32:46 +00:00
|
|
|
.Dt SIIS 4
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm siis
|
|
|
|
.Nd SiliconImage Serial ATA Host Controller driver
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
To compile this driver into the kernel,
|
|
|
|
place the following lines in your
|
|
|
|
kernel configuration file:
|
|
|
|
.Bd -ragged -offset indent
|
|
|
|
.Cd "device pci"
|
|
|
|
.Cd "device scbus"
|
|
|
|
.Cd "device siis"
|
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
Alternatively, to load the driver as a
|
|
|
|
module at boot time, place the following line in
|
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
siis_load="YES"
|
|
|
|
.Ed
|
|
|
|
.Pp
|
2010-03-02 09:23:54 +00:00
|
|
|
The following tunables are settable from the
|
|
|
|
.Xr loader 8 :
|
2009-07-21 12:32:46 +00:00
|
|
|
.Bl -ohang
|
2010-03-02 09:23:54 +00:00
|
|
|
.It Va hint.siis. Ns Ar X Ns Va .msi
|
2009-07-21 12:32:46 +00:00
|
|
|
controls Message Signaled Interrupts (MSI) usage by the specified controller.
|
2010-03-02 09:23:54 +00:00
|
|
|
.It Va hint.siisch. Ns Ar X Ns Va .pm_level
|
|
|
|
controls SATA interface Power Management for the specified channel,
|
2009-07-21 12:32:46 +00:00
|
|
|
allowing some power to be saved at the cost of additional command
|
|
|
|
latency.
|
|
|
|
Possible values:
|
|
|
|
.Bl -tag -compact
|
|
|
|
.It 0
|
|
|
|
interface Power Management is disabled (default);
|
|
|
|
.It 1
|
|
|
|
device is allowed to initiate PM state change, host is passive.
|
|
|
|
.El
|
|
|
|
Note that interface Power Management is not compatible with
|
|
|
|
device presence detection.
|
2010-03-02 09:23:54 +00:00
|
|
|
A manual bus reset is needed on device hot-plug.
|
|
|
|
.It Va hint.siisch. Ns Ar X Ns Va .sata_rev
|
2009-07-21 12:32:46 +00:00
|
|
|
setting to nonzero value limits maximum SATA revision (speed).
|
|
|
|
Values 1, 2 and 3 are respectively 1.5, 3 and 6Gbps.
|
|
|
|
.El
|
|
|
|
.Sh DESCRIPTION
|
2010-03-02 09:23:54 +00:00
|
|
|
This driver provides the
|
|
|
|
.Xr CAM 4
|
|
|
|
subsystem with native access to the
|
2009-07-21 12:32:46 +00:00
|
|
|
.Tn SATA
|
|
|
|
ports of controller.
|
|
|
|
Each SATA port is represented to CAM as a separate bus with 16 targets.
|
|
|
|
Most of the bus-management details are handled by the SATA-specific
|
|
|
|
transport of CAM.
|
|
|
|
Connected ATA disks are handled by the ATA protocol disk peripheral driver
|
|
|
|
.Xr ada 4 .
|
|
|
|
ATAPI devices are handled by the SCSI protocol peripheral drivers
|
|
|
|
.Xr cd 4 ,
|
|
|
|
.Xr da 4 ,
|
|
|
|
.Xr sa 4 ,
|
|
|
|
etc.
|
|
|
|
.Pp
|
|
|
|
Driver features include support for Serial ATA and ATAPI devices,
|
|
|
|
Port Multipliers (including FIS-based switching), hardware command queues
|
|
|
|
(31 command per port), Native Command Queuing, SATA interface Power Management,
|
|
|
|
device hot-plug and Message Signaled Interrupts.
|
|
|
|
.Pp
|
2011-04-08 12:46:47 +00:00
|
|
|
The activity LEDs of the adapters supported by the
|
|
|
|
.Nm
|
|
|
|
driver can be controlled via the
|
|
|
|
.Xr led 4
|
|
|
|
API for localization or status reporting purposes.
|
|
|
|
.Pp
|
2010-03-02 09:23:54 +00:00
|
|
|
Same hardware is also supported by the atasiliconimage driver from
|
2009-07-21 12:32:46 +00:00
|
|
|
.Xr ata 4
|
2010-03-02 09:23:54 +00:00
|
|
|
subsystem.
|
|
|
|
If both drivers are loaded at the same time, this one will be
|
2009-07-21 12:32:46 +00:00
|
|
|
given precedence as the more functional of the two.
|
|
|
|
.Sh HARDWARE
|
|
|
|
The
|
|
|
|
.Nm
|
2011-04-08 12:46:47 +00:00
|
|
|
driver supports the following controller chips:
|
2009-07-21 12:32:46 +00:00
|
|
|
.Bl -bullet -compact
|
|
|
|
.It
|
2011-04-08 12:46:47 +00:00
|
|
|
SiI3124 (PCI-X 133MHz/64bit, 4 ports)
|
2009-07-21 12:32:46 +00:00
|
|
|
.It
|
2011-04-08 12:46:47 +00:00
|
|
|
SiI3131 (PCIe 1.0 x1, 1 port)
|
2009-07-21 12:32:46 +00:00
|
|
|
.It
|
2011-04-08 12:46:47 +00:00
|
|
|
SiI3132 (PCIe 1.0 x1, 2 ports)
|
|
|
|
.It
|
|
|
|
SiI3531 (PCIe 1.0 x1, 1 port)
|
|
|
|
.El
|
|
|
|
.Sh FILES
|
|
|
|
.Bl -tag -width /dev/led/siisch*
|
|
|
|
.It Pa /dev/led/siisch*
|
|
|
|
identification LED device nodes
|
2009-07-21 12:32:46 +00:00
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr ada 4 ,
|
2010-03-02 09:23:54 +00:00
|
|
|
.Xr ata 4 ,
|
2010-03-04 11:09:49 +00:00
|
|
|
.Xr cam 4 ,
|
2009-07-21 12:32:46 +00:00
|
|
|
.Xr cd 4 ,
|
|
|
|
.Xr da 4 ,
|
2011-04-08 12:46:47 +00:00
|
|
|
.Xr led 4 ,
|
2010-03-04 11:09:49 +00:00
|
|
|
.Xr sa 4
|
2009-07-21 12:32:46 +00:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver first appeared in
|
|
|
|
.Fx 8.0 .
|
|
|
|
.Sh AUTHORS
|
|
|
|
.An Alexander Motin Aq mav@FreeBSD.org .
|