1.\" $NetBSD: mvsata.4,v 1.11 2020/08/28 16:07:49 fcambus Exp $ 2.\" 3.\" Copyright (c) 2009 KIYOHARA Takashi 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 17.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 18.\" DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 19.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 21.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 23.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 24.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 25.\" POSSIBILITY OF SUCH DAMAGE. 26.\" 27.Dd October 24, 2018 28.Dt MVSATA 4 29.Os 30.Sh NAME 31.Nm mvsata 32.Nd Marvell Hercules-I and Hercules-II SATA controllers driver 33.Sh SYNOPSIS 34.Cd "mvsata* at pci? dev ? function ?" 35.Sh DESCRIPTION 36The 37.Nm 38driver supports the Marvell Hercules-I and Hercules-II family of SATA 39controllers, interfacing the hardware with the 40.Xr ata 4 41and 42.Xr atapi 4 43subsystems. 44.Pp 45The following controllers are supported by the 46.Nm 47driver: 48.Pp 49.Bl -tag -width "Gen IIe" -offset "xxxx" -compact 50.It Gen I 51.Bl -bullet -compact 52.It 53SATA 1.5Gbps; no support for NCQ, PMP, ATAPI 54.It 55Supported controllers: 56.Bl -bullet -compact 57.It 58Marvell 88SX50xx Hercules-I 59.El 60.El 61.It Gen II 62.Bl -bullet -compact 63.It 64SATA 3Gbps, NCQ, and PMP support; no ATAPI support 65.It 66Supported controllers: 67.Bl -bullet -compact 68.It 69Adaptec RAID 1420SA 70.It 71Marvell 88SX60xx Hercules-II 72.El 73.El 74.It Gen IIe 75.Bl -bullet -compact 76.It 77SATA 3Gbps, NCQ, PMP, ATAPI support 78.It 79Supported controllers: 80.Bl -bullet -compact 81.It 82Adaptec RAID 1430SA 83.It 84Marvell 88SX70xx Hercules-II 85.It 86Triones Technologies RocketRAID 2310 RAID card 87.El 88.El 89.El 90.Sh SEE ALSO 91.Xr ahcisata 4 , 92.Xr ata 4 , 93.Xr atapi 4 , 94.Xr pci 4 , 95.Xr wd 4 96.Sh HISTORY 97The 98.Nm 99driver first appeared in 100.Nx 6.0 . 101NCQ support was added, and ATAPI support enabled, in 102.Nx 103on October 7, 2017 . 104.Sh AUTHORS 105The 106.Nm 107driver was written by 108.An KIYOHARA Takashi Aq Mt kiyohara@kk.iij4u.or.jp . 109NCQ support was added by 110.An Jaromir Dolecek Aq Mt jdolecek@NetBSD.org . 111.Sh BUGS 112.Bl -tag -width Ds -compact 113.It NCQ is only enabled on Gen IIe controllers . 114.It Device hot swapping is not yet supported . 115.It Marvell's Software RAID is not supported by the 116.Xr ataraid 4 117driver. 118.Xr raid 4 119can be used instead. 120.El 121.Pp 122This controller hardware is very old and pretty peculiar, with 123poor ATAPI support. 124It's very unlikely that the driver will receive any further changes, 125particularly not for the Gen I and Gen II controllers. 126Use an 127.Xr ahcisata 4 128compatible controller instead. 129