ADV(4) - Device Drivers Manual

ADV(4) - Device Drivers Manual #

ADV(4) - Device Drivers Manual

NAME #

adv, adw - AdvanSys PCI SCSI interface

SYNOPSIS #

adv* at pci? adw* at pci?

DESCRIPTION #

The adv and adw drivers support most AdvanSys PCI SCSI host adapters, as shown in this table:

**adv**         **adw**  
ABP-920         ABP-940UW  
ABP-930 (1)     ABP-940UWD  
ABP-930U        ABP-970UW  
ABP-930UA       ASB-3940UW-00  
ABP-940         ASB-3940U2W-00  
ABP-940U        ASB-3950U160  
ABP-940UA         
ABP-950           
ABP-960 (2)       
ABP-960U (2)      
ABP-970           
ABP-970U          
ABP-980           
ABP-980U        
  1. This board has been sold by SIIG as the Fast SCSI Pro PCI.
  2. This board has been sold by Iomega as a Jaz Jet PCI adapter.

The adw driver will log some host adapter errors with general messages such as

adw0:0:0: host adapter error 0x12. See adw(4).
adw0:0:0: host adapter error 0x12, resetting bus. See adw(4).

Some further information on the meaning of such errors can be obtained from the following table derived from the source code provided by ConnectCom.

*Error*  *Define Name*                   *Comment*  
0x12     QHSTA_M_SXFR_XFR_OFLW           SXFR_STATUS Transfer Overflow  
0x13     QHSTA_M_UNEXPECTED_BUS_FREE       
0x15     QHSTA_M_QUEUE_ABORTED             
0x16     QHSTA_M_SXFR_SDMA_ERR           SXFR_STATUS SCSI DMA Error  
0x17     QHSTA_M_SXFR_SXFR_PERR          SXFR_STATUS SCSI Bus Parity Error  
0x18     QHSTA_M_RDMA_PERR               RISC PCI DMA parity error  
0x19     QHSTA_M_SXFR_OFF_UFLW           SXFR_STATUS Offset Underflow  
0x20     QHSTA_M_SXFR_OFF_OFLW           SXFR_STATUS Offset Overflow  
0x21     QHSTA_M_SXFR_WD_TMO             SXFR_STATUS Watchdog Timeout  
0x22     QHSTA_M_SXFR_DESELECTED         SXFR_STATUS Deselected  
0x24     QHSTA_M_SXFR_XFR_PH_ERR         SXFR_STATUS Transfer Phase Error  
0x25     QHSTA_M_SXFR_UNKNOWN_ERROR      SXFR_STATUS Unknown Error  
0x30     QHSTA_M_SCSI_BUS_RESET          Request aborted from SBR  
0x31     QHSTA_M_SCSI_BUS_RESET_UNSOL    Request aborted from unsolicited SBR  
0x32     QHSTA_M_BUS_DEVICE_RESET        Request aborted from BDR  
0x35     QHSTA_M_DIRECTION_ERR           Data Phase mismatch  
0x36     QHSTA_M_DIRECTION_ERR_HUNG      Data Phase mismatch and bus hang  
0x41     QHSTA_M_WTM_TIMEOUT               
0x42     QHSTA_M_BAD_CMPL_STATUS_IN        
0x43     QHSTA_M_NO_AUTO_REQ_SENSE         
0x44     QHSTA_M_AUTO_REQ_SENSE_FAIL       
0x45     QHSTA_M_INVALID_DEVICE          Bad target ID  
0x46     QHSTA_M_FROZEN_TIDQ             TID Queue frozen  
0x47     QHSTA_M_SGBACKUP_ERROR          Scatter-Gather backup error

SEE ALSO #

cd(4), ch(4), intro(4), scsi(4), sd(4), st(4), uk(4)

AUTHORS #

The adv and adw drivers were originally written by Baldassare Dante Profeta for NetBSD, based on Linux drivers written by Advanced System Products, Inc., which is now ConnectCom Solutions, Inc.

OpenBSD 7.5 - January 15, 2015