1994-09-29 13:54:36 +00:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1994 Wilko Bulte
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. The name of the author may not be used to endorse or promote products
|
2001-08-23 21:36:18 +00:00
|
|
|
.\" derived from this software without specific prior written permission
|
1994-09-29 13:54:36 +00:00
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
|
|
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
|
|
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
|
|
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
|
|
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
|
|
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
|
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
1999-08-28 00:22:10 +00:00
|
|
|
.\" $FreeBSD$
|
1994-09-29 13:54:36 +00:00
|
|
|
.\"
|
2004-07-04 14:17:41 +00:00
|
|
|
.Dd July 4, 2004
|
2001-02-20 11:07:27 +00:00
|
|
|
.Dt AHA 4
|
2001-07-10 15:31:11 +00:00
|
|
|
.Os
|
1994-09-29 13:54:36 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm aha
|
1996-01-19 22:17:57 +00:00
|
|
|
.Nd Adaptec SCSI host adapter driver
|
1994-09-29 13:54:36 +00:00
|
|
|
.Sh SYNOPSIS
|
2006-05-20 09:39:28 +00:00
|
|
|
To compile this driver into the kernel,
|
|
|
|
place the following lines in your
|
|
|
|
kernel configuration file:
|
|
|
|
.Bd -ragged -offset indent
|
|
|
|
.Cd "device scbus"
|
|
|
|
.Cd "device aha"
|
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
Alternatively, to load the driver as a
|
|
|
|
module at boot time, place the following line in
|
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
aha_load="YES"
|
|
|
|
.Ed
|
2001-10-13 09:08:37 +00:00
|
|
|
.Pp
|
|
|
|
In
|
|
|
|
.Pa /boot/device.hints :
|
|
|
|
.Cd hint.aha.0.at="isa"
|
1994-09-29 13:54:36 +00:00
|
|
|
.Sh DESCRIPTION
|
1996-01-19 22:17:57 +00:00
|
|
|
This driver provides access to the
|
|
|
|
.Tn SCSI
|
2004-07-04 14:17:41 +00:00
|
|
|
bus connected to the Adaptec AHA-154x and AHA-1640 SCSI host adapters.
|
2003-11-09 01:30:46 +00:00
|
|
|
x is 0 for controllers without a floppy drive and 2 for controllers
|
|
|
|
that have them.
|
2003-06-28 23:53:39 +00:00
|
|
|
For optimum
|
2003-11-09 01:30:46 +00:00
|
|
|
performance, Adaptec AHA-174x controllers should be configured in
|
1998-10-16 04:41:38 +00:00
|
|
|
enhanced mode and attached via the
|
1994-09-29 13:54:36 +00:00
|
|
|
.Xr ahb 4
|
1998-10-16 04:41:38 +00:00
|
|
|
driver.
|
|
|
|
.Pp
|
2003-11-09 01:30:46 +00:00
|
|
|
One device hint entry for every card to be attached by the system is
|
2003-06-28 23:53:39 +00:00
|
|
|
required.
|
2004-06-16 08:33:57 +00:00
|
|
|
Specific values for the port address, IRQ, and DRQ may be specified.
|
2003-11-09 01:30:46 +00:00
|
|
|
If wildcard values are used, the driver will query the device for its
|
|
|
|
current settings and use those.
|
2003-06-28 23:53:39 +00:00
|
|
|
If the port address
|
1998-10-16 04:41:38 +00:00
|
|
|
is a wildcard, the driver consults an internal table of possible port address
|
2003-06-28 23:53:39 +00:00
|
|
|
locations and attaches to the first unattached card it finds.
|
|
|
|
The possible
|
2001-07-14 19:41:16 +00:00
|
|
|
port addresses for this card are 0x330, 0x334, 0x230, 0x234, 0x130, and
|
1998-10-16 04:41:38 +00:00
|
|
|
0x134.
|
2003-11-09 01:30:46 +00:00
|
|
|
.Pp
|
2004-06-16 08:33:57 +00:00
|
|
|
The AHA-1640 is an MCA bus card.
|
2003-12-08 02:59:34 +00:00
|
|
|
Since the MCA bus is a self-identifying bus, no setting of hints is
|
|
|
|
required.
|
2004-07-04 14:17:41 +00:00
|
|
|
.Sh HARDWARE
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver supports the following SCSI host adapters:
|
|
|
|
.Pp
|
|
|
|
.Bl -bullet -compact
|
|
|
|
.It
|
|
|
|
Adaptec AHA-154xB
|
|
|
|
.It
|
|
|
|
Adaptec AHA-154xC
|
|
|
|
.It
|
|
|
|
Adaptec AHA-154xCF
|
|
|
|
.It
|
|
|
|
Adaptec AHA-154xCP
|
|
|
|
.It
|
|
|
|
Adaptec AHA-1640
|
|
|
|
.It
|
|
|
|
Adaptec AHA-174x in 154x emulation mode
|
|
|
|
.It
|
2004-08-19 20:49:39 +00:00
|
|
|
DTC 3290 SCSI controller in 1542 emulation mode
|
|
|
|
.It
|
2004-07-04 14:17:41 +00:00
|
|
|
Tekram SCSI controllers in 154x emulation mode
|
|
|
|
.El
|
1996-01-19 22:17:57 +00:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr ahb 4 ,
|
|
|
|
.Xr ahc 4 ,
|
2003-11-09 01:30:46 +00:00
|
|
|
.Xr aic 4 ,
|
1996-01-19 22:17:57 +00:00
|
|
|
.Xr cd 4 ,
|
1998-10-16 04:41:38 +00:00
|
|
|
.Xr da 4 ,
|
1999-08-15 10:48:36 +00:00
|
|
|
.Xr sa 4 ,
|
|
|
|
.Xr scsi 4
|
1996-01-19 22:17:57 +00:00
|
|
|
.\"
|
|
|
|
.\" .Sh DIAGNOSTICS
|
|
|
|
.\"
|
1999-08-15 10:48:36 +00:00
|
|
|
.Sh AUTHORS
|
2000-11-22 09:35:58 +00:00
|
|
|
.An -nosplit
|
1996-01-19 22:17:57 +00:00
|
|
|
The
|
|
|
|
.Nm
|
1999-08-15 10:48:36 +00:00
|
|
|
driver was ported by
|
|
|
|
.An M. Warner Losh
|
|
|
|
from the
|
1998-10-16 04:41:38 +00:00
|
|
|
.Nm bt
|
1999-08-15 10:48:36 +00:00
|
|
|
driver written by
|
2000-11-22 09:35:58 +00:00
|
|
|
.An Justin T. Gibbs .
|
2005-01-21 08:36:40 +00:00
|
|
|
.Sh BUGS
|
|
|
|
The AHA-154xA card does not support residuals on data transfers.
|
|
|
|
As a result, this card is no longer supported.
|
|
|
|
.Pp
|
|
|
|
There have been some reports that the AHA-154xB does not work well
|
|
|
|
under heavy load.
|
|
|
|
.Pp
|
|
|
|
The AHA-154xCP is a plug and play controller.
|
|
|
|
However, its resources are set using the on-board BIOS and cannot be
|
|
|
|
moved.
|
|
|
|
Failures to attached for this card are often caused when the resources
|
|
|
|
set in the BIOS conflict.
|