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 July 18, 2009 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 -compact 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 66Note that interface Power Management is not compatible with 67device presence detection. 68A manual bus reset is needed on device hot-plug. 69.It Va hint.siisch. Ns Ar X Ns Va .sata_rev 70setting to nonzero value limits maximum SATA revision (speed). 71Values 1, 2 and 3 are respectively 1.5, 3 and 6Gbps. 72.El 73.Sh DESCRIPTION 74This driver provides the 75.Xr CAM 4 76subsystem with native access to the 77.Tn SATA 78ports of controller. 79Each SATA port is represented to CAM as a separate bus with 16 targets. 80Most of the bus-management details are handled by the SATA-specific 81transport of CAM. 82Connected ATA disks are handled by the ATA protocol disk peripheral driver 83.Xr ada 4 . 84ATAPI devices are handled by the SCSI protocol peripheral drivers 85.Xr cd 4 , 86.Xr da 4 , 87.Xr sa 4 , 88etc. 89.Pp 90Driver features include support for Serial ATA and ATAPI devices, 91Port Multipliers (including FIS-based switching), hardware command queues 92(31 command per port), Native Command Queuing, SATA interface Power Management, 93device hot-plug and Message Signaled Interrupts. 94.Pp 95Same hardware is also supported by the atasiliconimage driver from 96.Xr ata 4 97subsystem. 98If both drivers are loaded at the same time, this one will be 99given precedence as the more functional of the two. 100.Sh HARDWARE 101The 102.Nm 103driver supports the following controllers: 104.Bl -bullet -compact 105.It 106SiI3124 107.It 108SiI3132 109.It 110SiI3531 111.El 112.Sh SEE ALSO 113.Xr ada 4 , 114.Xr ata 4 , 115.Xr cam 4 , 116.Xr cd 4 , 117.Xr da 4 , 118.Xr sa 4 119.Sh HISTORY 120The 121.Nm 122driver first appeared in 123.Fx 8.0 . 124.Sh AUTHORS 125.An Alexander Motin Aq mav@FreeBSD.org . 126