]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man4/aha.4
MFC r351221
[FreeBSD/FreeBSD.git] / share / man / man4 / aha.4
1 .\"
2 .\" Copyright (c) 1994 Wilko Bulte
3 .\" 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 .\" $FreeBSD$
28 .\"
29 .Dd July 4, 2004
30 .Dt AHA 4
31 .Os
32 .Sh NAME
33 .Nm aha
34 .Nd Adaptec SCSI host adapter driver
35 .Sh SYNOPSIS
36 To compile this driver into the kernel,
37 place the following lines in your
38 kernel configuration file:
39 .Bd -ragged -offset indent
40 .Cd "device scbus"
41 .Cd "device aha"
42 .Ed
43 .Pp
44 Alternatively, to load the driver as a
45 module at boot time, place the following line in
46 .Xr loader.conf 5 :
47 .Bd -literal -offset indent
48 aha_load="YES"
49 .Ed
50 .Pp
51 In
52 .Pa /boot/device.hints :
53 .Cd hint.aha.0.at="isa"
54 .Sh DESCRIPTION
55 This driver provides access to the
56 .Tn SCSI
57 bus connected to the Adaptec AHA-154x SCSI host adapters.
58 x is 0 for controllers without a floppy drive and 2 for controllers
59 that have them.
60 .Pp
61 One device hint entry for every card to be attached by the system is
62 required.
63 Specific values for the port address, IRQ, and DRQ may be specified.
64 If wildcard values are used, the driver will query the device for its
65 current settings and use those.
66 If the port address
67 is a wildcard, the driver consults an internal table of possible port address
68 locations and attaches to the first unattached card it finds.
69 The possible
70 port addresses for this card are 0x330, 0x334, 0x230, 0x234, 0x130, and
71 0x134.
72 .Sh HARDWARE
73 The
74 .Nm
75 driver supports the following SCSI host adapters:
76 .Pp
77 .Bl -bullet -compact
78 .It
79 Adaptec AHA-154xB
80 .It
81 Adaptec AHA-154xC
82 .It
83 Adaptec AHA-154xCF
84 .It
85 Adaptec AHA-154xCP
86 .It
87 DTC 3290 SCSI controller in 1542 emulation mode
88 .It
89 Tekram SCSI controllers in 154x emulation mode
90 .El
91 .Sh SEE ALSO
92 .Xr ahc 4 ,
93 .Xr aic 4 ,
94 .Xr cd 4 ,
95 .Xr da 4 ,
96 .Xr sa 4 ,
97 .Xr scsi 4
98 .\"
99 .\" .Sh DIAGNOSTICS
100 .\"
101 .Sh AUTHORS
102 .An -nosplit
103 The
104 .Nm
105 driver was ported by
106 .An M. Warner Losh
107 from the
108 .Nm bt
109 driver written by
110 .An Justin T. Gibbs .
111 .Sh BUGS
112 The AHA-154xA card does not support residuals on data transfers.
113 As a result, this card is no longer supported.
114 .Pp
115 There have been some reports that the AHA-154xB does not work well
116 under heavy load.
117 .Pp
118 The AHA-154xCP is a plug and play controller.
119 However, its resources are set using the on-board BIOS and cannot be
120 moved.
121 Failures to attached for this card are often caused when the resources
122 set in the BIOS conflict.