1.\" $OpenBSD: adv.4,v 1.24 2008/08/31 14:19:09 jmc Exp $ 2.\" 3.\" Copyright (c) 1998, Jason Downs. All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. 10.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" notice, this list of conditions and the following disclaimer in the 12.\" documentation and/or other materials provided with the distribution. 13.\" 3. The name of the author may not be used to endorse or promote products 14.\" derived from this software without specific prior written permission. 15.\" 16.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 17.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 18.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 19.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 20.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 21.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26.\" 27.\" 28.Dd $Mdocdate: August 31 2008 $ 29.Dt ADV 4 30.Os 31.Sh NAME 32.Nm adv , adw 33.Nd AdvanSys PCI SCSI interface 34.Sh SYNOPSIS 35.Cd "adv* at pci?" 36.Cd "scsibus* at adv?" 37.Cd "adw* at pci?" 38.Cd "scsibus* at adw?" 39.Sh DESCRIPTION 40The 41.Nm adv 42and 43.Nm adw 44drivers support most AdvanSys PCI SCSI host adapters, as shown in this 45table: 46.Bl -column "ABP940UWxxxxx" "ASB3940U2W-00" -offset indent 47.It Nm adv adw 48.It ABP-920 ABP-940UW 49.It ABP-930 (1) ABP-940UWD 50.It ABP-930U ABP-970UW 51.It ABP-930UA ASB-3940UW-00 52.It ABP-940 ASB-3940U2W-00 53.It ABP-940U ASB-3950U160 54.It ABP-940UA 55.It ABP-950 56.It ABP-960 (2) 57.It ABP-960U (2) 58.It ABP-970 59.It ABP-970U 60.It ABP-980 61.It ABP-980U 62.El 63.Pp 64.Bl -enum -compact 65.It 66This board has been sold by SIIG as the Fast SCSI Pro PCI. 67.It 68This board has been sold by Iomega as a Jaz Jet PCI adapter. 69.El 70.Pp 71The 72.Nm adw 73driver will log some host adapter errors with general messages such as 74.Bd -literal -offset indent 75adw0:0:0: host adapter error 0x12. See adw(4). 76adw0:0:0: host adapter error 0x12, resetting bus. See adw(4). 77.Ed 78.Pp 79Some further information on the meaning of such errors can be obtained 80from the following table derived from the source code provided by 81ConnectCom. 82.Bl -column "Error" "QHSTA_M_SCSI_BUS_RESET_UNSOL" 83.It Em Error Define Name Comment 84.Pp 85.It 0x12 QHSTA_M_SXFR_XFR_OFLW SXFR_STATUS Transfer Overflow 86.It 0x13 QHSTA_M_UNEXPECTED_BUS_FREE 87.It 0x15 QHSTA_M_QUEUE_ABORTED 88.It 0x16 QHSTA_M_SXFR_SDMA_ERR SXFR_STATUS SCSI DMA Error 89.It 0x17 QHSTA_M_SXFR_SXFR_PERR SXFR_STATUS SCSI Bus Parity Error 90.It 0x18 QHSTA_M_RDMA_PERR RISC PCI DMA parity error 91.It 0x19 QHSTA_M_SXFR_OFF_UFLW SXFR_STATUS Offset Underflow 92.It 0x20 QHSTA_M_SXFR_OFF_OFLW SXFR_STATUS Offset Overflow 93.It 0x21 QHSTA_M_SXFR_WD_TMO SXFR_STATUS Watchdog Timeout 94.It 0x22 QHSTA_M_SXFR_DESELECTED SXFR_STATUS Deselected 95.It 0x24 QHSTA_M_SXFR_XFR_PH_ERR SXFR_STATUS Transfer Phase Error 96.It 0x25 QHSTA_M_SXFR_UNKNOWN_ERROR SXFR_STATUS Unknown Error 97.It 0x30 QHSTA_M_SCSI_BUS_RESET Request aborted from SBR 98.It 0x31 QHSTA_M_SCSI_BUS_RESET_UNSOL Request aborted from unsolicited SBR 99.It 0x32 QHSTA_M_BUS_DEVICE_RESET Request aborted from BDR 100.It 0x35 QHSTA_M_DIRECTION_ERR Data Phase mismatch 101.It 0x36 QHSTA_M_DIRECTION_ERR_HUNG Data Phase mismatch and bus hang 102.It 0x41 QHSTA_M_WTM_TIMEOUT 103.It 0x42 QHSTA_M_BAD_CMPL_STATUS_IN 104.It 0x43 QHSTA_M_NO_AUTO_REQ_SENSE 105.It 0x44 QHSTA_M_AUTO_REQ_SENSE_FAIL 106.It 0x45 QHSTA_M_INVALID_DEVICE Bad target ID 107.It 0x46 QHSTA_M_FROZEN_TIDQ TID Queue frozen 108.It 0x47 QHSTA_M_SGBACKUP_ERROR Scatter-Gather backup error 109.El 110.Sh SEE ALSO 111.Xr cd 4 , 112.Xr ch 4 , 113.Xr intro 4 , 114.Xr scsi 4 , 115.Xr sd 4 , 116.Xr ss 4 , 117.Xr st 4 , 118.Xr uk 4 119.Sh AUTHORS 120The 121.Nm adv 122and 123.Nm adw 124drivers were originally written by Baldassare Dante Profeta for 125.Nx , 126based on Linux drivers written by Advanced System Products, 127Inc., which is now ConnectCom Solutions, Inc. 128