]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - share/man/man4/aha.4
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.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 and AHA-1640 SCSI host adapters.
58 x is 0 for controllers without a floppy drive and 2 for controllers
59 that have them.
60 For optimum
61 performance, Adaptec AHA-174x controllers should be configured in
62 enhanced mode and attached via the
63 .Xr ahb 4
64 driver.
65 .Pp
66 One device hint entry for every card to be attached by the system is
67 required.
68 Specific values for the port address, IRQ, and DRQ may be specified.
69 If wildcard values are used, the driver will query the device for its
70 current settings and use those.
71 If the port address
72 is a wildcard, the driver consults an internal table of possible port address
73 locations and attaches to the first unattached card it finds.
74 The possible
75 port addresses for this card are 0x330, 0x334, 0x230, 0x234, 0x130, and
76 0x134.
77 .Pp
78 The AHA-1640 is an MCA bus card.
79 Since the MCA bus is a self-identifying bus, no setting of hints is
80 required.
81 .Sh HARDWARE
82 The
83 .Nm
84 driver supports the following SCSI host adapters:
85 .Pp
86 .Bl -bullet -compact
87 .It
88 Adaptec AHA-154xB
89 .It
90 Adaptec AHA-154xC
91 .It
92 Adaptec AHA-154xCF
93 .It
94 Adaptec AHA-154xCP
95 .It
96 Adaptec AHA-1640
97 .It
98 Adaptec AHA-174x in 154x emulation mode
99 .It
100 DTC 3290 SCSI controller in 1542 emulation mode
101 .It
102 Tekram SCSI controllers in 154x emulation mode
103 .El
104 .Sh SEE ALSO
105 .Xr ahb 4 ,
106 .Xr ahc 4 ,
107 .Xr aic 4 ,
108 .Xr cd 4 ,
109 .Xr da 4 ,
110 .Xr sa 4 ,
111 .Xr scsi 4
112 .\"
113 .\" .Sh DIAGNOSTICS
114 .\"
115 .Sh AUTHORS
116 .An -nosplit
117 The
118 .Nm
119 driver was ported by
120 .An M. Warner Losh
121 from the
122 .Nm bt
123 driver written by
124 .An Justin T. Gibbs .
125 .Sh BUGS
126 The AHA-154xA card does not support residuals on data transfers.
127 As a result, this card is no longer supported.
128 .Pp
129 There have been some reports that the AHA-154xB does not work well
130 under heavy load.
131 .Pp
132 The AHA-154xCP is a plug and play controller.
133 However, its resources are set using the on-board BIOS and cannot be
134 moved.
135 Failures to attached for this card are often caused when the resources
136 set in the BIOS conflict.