1.\" 2.\" Copyright (c) 1995 3.\" Justin T. Gibbs. 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 withough 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 April 15, 1995 29.Dt AHC 4 i386 30.Os FreeBSD 31.Sh NAME 32.Nm ahc 33.Nd Adaptec VL/EISA/PCI SCSI host adapter driver 34.Sh SYNOPSIS 35For VL/EISA cards: 36.Cd controller ahc0 at isa? bio irq ? vector ahcintr 37.Pp 38For PCI cards: 39.Cd controller ahc0 40.Pp 41To enable tagged queueing: 42.Cd options AHC_TAGENABLE 43.Pp 44For one or more SCSI busses: 45.Cd controller scbus0 at ahc0 46.Sh DESCRIPTION 47This driver provides access to the 48.Tn SCSI 49bus connected to an Adaptec 50274x, 284x, 294x, or motherboard-based 51.Tn AIC7770 52or 53.Tn AIC7870 54host adapter. 55Features include twin and wide bus support, two commands per target in 56non-tagged-queuing mode, and experimental tagged queuing support enabled 57with the 58.Dq Dv AHC_TAGENABLE 59configuration option. 60.Pp 61Per target configuration performed in the 62.Tn SCSI-Select 63menu, accesible at boot 64in 65.No non- Ns Tn EISA 66models or through an 67.Tn EISA 68configuration utility for 69.Tn EISA 70models, 71is honored by this driver with the stipulation that the 72.Tn BIOS 73must be enabled for 74.Tn EISA 75adaptors. This includes synchronous/asynchronous transfers, disconnection, 76and maximum synchronous negotiation rate settings. 77.Pp 78Note that I/O addresses are determined automatically by the probe routines, 79but care should be taken when using a 284x 80.Pq Tn VESA No local bus controller 81in an 82.Tn EISA 83system. Ensure that the jumpers setting the I/O area for the 284x match the 84.Tn EISA 85slot into which the card is inserted to prevent conflicts with other 86.Tn EISA 87cards. 88.Sh BUGS 89Some Quantum drives (at least the Empire 2100 and 1080s) will not run on an 90.Tn AIC7870 91in synchronous mode at 10MB/s. It is speculated that the Adaptec 92runs slightly above 10MB/s, causing the drive much confusion. Setting a 93maximum synchronous negotiation rate of 8MB/s in the 94.Tn SCSI-Select 95utility 96will allow normal function. 97.Pp 98The 99.Tn SCSI 100ID of 101.No Tn AIC7870 Ns -based 102controllers 103.Pq Tn AHA-294x 104is hard coded to 7 by the driver. The user configured ID can be 105obtained by querying the adapter, but there is no driver support for 106this as of yet. 107.Sh SEE ALSO 108.Xr aha 4 , 109.Xr ahb 4 , 110.Xr cd 4 , 111.Xr scsi 4 , 112.Xr sd 4 , 113.Xr st 4 114.Sh AUTHOR 115The 116.Nm 117driver was written by Justin Gibbs. The 118.Tn AIC7xxx 119sequencer-code assembler was 120written by John Aycock. 121.Sh HISTORY 122The 123.Nm 124driver appeared in 125.Tn FreeBSD 1262.1. 127 128