Merge branch 'vendor/GCC44'
[dragonfly.git] / share / man / man4 / adv.4
1 .\"
2 .\" Copyright (c) 1998, 2000
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. The name of the author may not be used to endorse or promote products
11 .\"    derived from this software without specific prior written permission.
12 .\"
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
14 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
15 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
16 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
17 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
18 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 .\"
24 .\" $FreeBSD: src/share/man/man4/adv.4,v 1.7.4.6 2001/10/01 13:07:22 dd Exp $
25 .\" $DragonFly: src/share/man/man4/adv.4,v 1.4 2008/05/02 02:05:05 swildner Exp $
26 .\"
27 .Dd February 13, 2000
28 .Dt ADV 4
29 .Os
30 .Sh NAME
31 .Nm adv
32 .Nd Advansys ISA/VL/EISA/PCI 8bit SCSI Host adapter driver
33 .Sh SYNOPSIS
34 For one or more ISA or VL cards:
35 .Cd device isa
36 .Cd device "adv0 at isa? port ? irq ? drq ?"
37 .Pp
38 For one or more EISA cards:
39 .Cd device eisa
40 .Cd device adv
41 .Pp
42 For one or more PCI cards:
43 .Cd device pci
44 .Cd device adv
45 .Pp
46 For one or more SCSI busses:
47 .Cd device scbus0 at adv0
48 .Sh DESCRIPTION
49 This driver provides access to the 8bit
50 .Tn SCSI
51 bus connected to the Advanced Systems Products, Inc.
52 .Tn ASC900 ,
53 .Tn ASC1000 ,
54 .Tn ASC1090 ,
55 .Tn ASC1200 ,
56 .Tn ASC3030 ,
57 .Tn ASC3050 ,
58 and
59 .Tn ASC3150
60 host adapter chips.
61 The following tables list the AdvanSys products using these chips,
62 their bus attachment type, maximum sync rate, and the maximum number of
63 commands that can be handled by the adapter concurrently.
64 .Bd -ragged -offset indent
65 .Bl -column "ABP510/5150 " "ISA PnP " "Yes " "10MHz " "Commands " Footnotes
66 Connectivity Products:
67 .Pp
68 .Em "Adapter       Bus   Floppy      MaxSync   Commands  Footnotes"
69 ABP510/5150   ISA     No         10MHz       240    1
70 ABP5140     ISA PnP   No         10MHz       16     1, 3
71 ABP5142     ISA PnP   Yes        10MHz       16     4
72 ABP[3]902     PCI     No         10MHz       16
73 ABP3905       PCI     No         10MHz       16
74 ABP915        PCI     No         10MHz       16
75 ABP920        PCI     No         10MHz       16
76 ABP3922       PCI     No         10MHz       16
77 ABP3925       PCI     No         10MHz       16
78 ABP930        PCI     No         10MHz       16     5
79 ABP930U       PCI     No         20MHz       16
80 ABP930UA      PCI     No         20MHz       16
81 ABP960        PCI     No         10MHz       16
82 ABP960U       PCI     No         20MHz       16
83 .El
84 .Pp
85 Footnotes:
86 .Bl -enum -compact
87 .It
88 This board has been shipped by HP with the 4020i CD-R drive.
89 The board has no BIOS so it cannot control a boot device, but
90 it can control any secondary SCSI device.
91 .It
92 This board has been sold by Iomega as a Jaz Jet PCI adapter.
93 .It
94 This board has been sold by SIIG as the i540 SpeedMaster.
95 .It
96 This board has been sold by SIIG as the i542 SpeedMaster.
97 .It
98 This board has been sold by SIIG as the Fast SCSI Pro PCI.
99 .El
100 .Ed
101 .Bd -ragged -offset indent
102 .Bl -column "ABP510/5150 " "ISA PnP " "Yes " "10MHz " Commands
103 Single Channel Products:
104 .Pp
105 .Em "Adapter       Bus   Floppy      MaxSync   Commands"
106 ABP542        ISA     Yes        10MHz       240
107 ABP742        EISA    Yes        10MHz       240
108 ABP842        VL      Yes        10MHz       240
109 ABP940        PCI     No         10MHz       240
110 ABP[3]940UA   PCI     No         20MHz       240
111 ABP940U       PCI     No         20MHz       240
112 ABP3960UA     PCI     No         20MHz       240
113 ABP970        PCI     No         10MHz       240
114 ABP970U       PCI     No         20MHz       240
115 .El
116 .Ed
117 .Bd -ragged -offset indent
118 .Bl -column "ABP510/5150 " "ISA PnP " "Yes " "10MHz " "Commands " "Channels "
119 Multi Channel Products (Commands are per-channel):
120 .Pp
121 .Em "Adapter       Bus   Floppy      MaxSync   Commands  Channels"
122 ABP752       EISA     Yes        10MHz       240      2
123 ABP852        VL      Yes        10MHz       240      2
124 ABP950        PCI     No         10MHz       240      2
125 ABP980        PCI     No         10MHz       240      4
126 ABP980U       PCI     No         20MHz       240      4
127 ABP[3]980UA   PCI     No         20MHz       16       4
128 .El
129 .Ed
130 .Pp
131 For ISA or Vesa Local Bus adapters, one kernel config entry is required
132 for every card to be attached by the system.  Specific values for the port
133 address, irq, and drq may be specified.  If wildcard values are used, the
134 driver will query the device for its current settings and use those.  If
135 the port address is a wildcard, the driver consults an internal table of
136 possible port address locations and attaches to the first unattached card
137 it finds.  The possible port addresses for these card are 0x110, 0x130,
138 0x150, 0x190, 0x210, 0x230, 0x250, and 0x330.
139 .Pp
140 Per target configuration performed in the
141 .Tn AdvanceWare
142 menu, which is accessible at boot,
143 is honored by this driver.
144 This includes synchronous/asynchronous transfers,
145 maximum synchronous negotiation rate, disconnection, tagged queueing,
146 and the host adapter's SCSI ID.
147 The global setting for the maximum number of tagged transactions allowed
148 per target is not honored as the CAM SCSI system will automatically determine
149 the maximum number of tags a device can receive as well as guarantee fair
150 resource allocation among devices.
151 .Sh SEE ALSO
152 .Xr adw 4 ,
153 .Xr aha 4 ,
154 .Xr ahb 4 ,
155 .Xr ahc 4 ,
156 .Xr cd 4 ,
157 .Xr da 4 ,
158 .Xr sa 4 ,
159 .Xr scsi 4
160 .Sh HISTORY
161 The
162 .Nm
163 driver appeared in
164 .Fx 3.0 .
165 .Sh AUTHORS
166 .An -nosplit
167 The
168 .Nm
169 driver was ported by
170 .An Justin T. Gibbs
171 from the Linux driver
172 written by
173 .An Bob Frey
174 of Advanced System Products, Inc.
175 Many thanks to AdvanSys for providing the original driver under a suitable
176 license for use in
177 .Fx .