1.\" Copyright (c) 2013 Achim Leubner2.\" All rights reserved.3.\"4.\" Redistribution and use in source and binary forms, with or without5.\" modification, are permitted provided that the following conditions6.\" are met:7.\" 1. Redistributions of source code must retain the above copyright8.\" notice, this list of conditions and the following disclaimer.9.\" 2. Redistributions in binary form must reproduce the above copyright10.\" notice, this list of conditions and the following disclaimer in the11.\" documentation and/or other materials provided with the distribution.12.\"13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND14.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE15.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE16.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF23.\" SUCH DAMAGE.24.\"25.\" $FreeBSD$26.Dd June 19, 2015 27.Dt AACRAID 4 28.Os29.Sh NAME30.Nm aacraid 31.Nd Adaptec AACRAID Controller driver 32.Sh SYNOPSIS33To compile this driver into the kernel, 34place the following lines in your 35kernel configuration file: 36.Bd -ragged -offset indent 37.Cd device pci 38.Cd device aacraid 39.Pp40To compile in debugging code: 41.Cd options AACRAID_DEBUG=N 42.Ed43.Pp44Alternatively, to load the driver as a 45module at boot time, place the following line in 46.Xr loader.conf 5 : 47.Bd -literal -offset indent 48aacraid_load="YES" 49.Ed50.Sh DESCRIPTION51The 52.Nm53driver provides support for the Adaptec by PMC RAID controllers, 54including Series 6/7/8 and upcoming families. 55.Pp56The RAID containers are handled via the 57.Nm aacraidp0 58bus. 59The physical buses are represented by the 60.Nm aacraidp? 61devices (beginning with aacraidp1). 62These devices enable the 63SCSI pass-passthrough interface and allows devices connected 64to the card such as CD-ROMs to be available via the CAM 65.Xr scsi 466subsystem. 67Note that not all cards allow this interface to be enabled. 68.Pp69The 70.Pa /dev/aacraid? 71device nodes provide access to the management interface of the controller. 72One node exists per installed card. 73If the kernel is compiled with the 74.Dv COMPAT_LINUX 75option, or the 76.Pa aacraid_linux.ko 77and 78.Pa linux.ko 79modules are loaded, the 80Linux-compatible 81.Xr ioctl 282interface for the management device will be enabled and will allow 83Linux-based management applications to control the card. 84.Sh HARDWARE85Controllers supported by the 86.Nm87driver include: 88.Pp89.Bl -bullet -compact 90.It91Adaptec ASR-6405(T|E) 92.It93Adaptec ASR-6445 94.It95Adaptec ASR-6805(T|E|Q|TQ) 96.It97Adaptec ASR-7085 98.It99Adaptec ASR-7805(Q) 100.It101Adaptec ASR-70165 102.It103Adaptec ASR-71605(E|Q) 104.It105Adaptec ASR-71685 106.It107Adaptec ASR-72405 108.It109Adaptec Series 8 cards 110.El111.Sh FILES112.Bl -tag -width /boot/kernel/aacraid.ko -compact 113.It Pa /dev/aacraid? 114aacraid management interface 115.El116.Sh DIAGNOSTICS117Compiling with 118.Dv AACRAID_DEBUG 119set to a number between 0 and 3 120will enable increasingly verbose debug messages. 121.Pp122The adapter can send status and alert messages asynchronously 123to the driver. 124These messages are printed on the system console, 125and are also queued for retrieval by a management application. 126.Sh SEE ALSO127.Xr kld 4 , 128.Xr linux 4 , 129.Xr scsi 4 , 130.Xr kldload 8131.Sh AUTHORS132.An Achim LeubnerAq Mt achim@FreeBSD.org 133.An \&Ed MasteAq Mt emaste@FreeBSD.org 134.An Scott LongAq Mt scottl@FreeBSD.org 135.Sh BUGS136The controller is not actually paused on suspend/resume. 137