files.isa revision 1.73 1 # $NetBSD: files.isa,v 1.73 1998/08/22 22:55:09 augustss Exp $
2 #
3 # Config file and device description for machine-independent ISA code.
4 # Included by ports that need it. Requires that the SCSI files be
5 # defined first.
6
7 # ports should specify appropriate major numbers for the following
8 # devices:
9 # mcd, scd, wd, wt
10
11 device isa {[port = -1], [size = 0],
12 [iomem = -1], [iosiz = 0],
13 [irq = -1], [drq = -1], [drq2 = -1]}
14 attach isa at isabus
15 file dev/isa/isa.c isa needs-flag
16
17 # ISA DMA controller
18 define isadma
19 file dev/isa/isadma.c isadma needs-flag
20
21 #
22 # 8250/16[45]50-based multi-port serial boards
23 #
24
25 define commulti {[slave = -1]}
26
27 # AST 4-port board
28 device ast: commulti
29 attach ast at isa
30 file dev/isa/ast.c ast
31
32 # BOCA 8-port board
33 device boca: commulti
34 attach boca at isa
35 file dev/isa/boca.c boca
36
37 # IBM RT PC 4-port board
38 device rtfps: commulti
39 attach rtfps at isa
40 file dev/isa/rtfps.c rtfps
41
42 #
43 # Serial and parallel drivers
44 #
45
46 attach com at isa with com_isa
47 file dev/isa/com_isa.c com_isa
48
49 attach com at commulti with com_multi
50 file dev/isa/com_multi.c com_multi
51
52 # Cyclades Cyclom-8/16/32
53 attach cy at isa with cy_isa
54 file dev/isa/cy_isa.c cy_isa
55
56 # PC-style parallel ports (XXX what chip?)
57 # XXX chip driver should be defined elsewhere
58 device lpt
59 file dev/ic/lpt.c lpt needs-flag
60
61 # PC-style parallel ports: ISA bus attachment
62 attach lpt at isa with lpt_isa
63 file dev/isa/lpt_isa.c lpt_isa
64
65 #
66 # SCSI host adapters
67 #
68
69 # Adaptec AHA-154x family
70 # device declaration in sys/conf/files
71 attach aha at isa with aha_isa: isadma
72 file dev/isa/aha_isa.c aha_isa
73
74 # Adaptec AIC-6[32]60 ICs
75 # device declaration in sys/conf/files
76 attach aic at isa with aic_isa: isadma
77 file dev/isa/aic_isa.c aic_isa
78
79 # Qlogic ESP406/FAS408 boards
80 # ncr53c9x device declaration in sys/conf/files
81 device esp: scsi, ncr53c9x, isadma
82 attach esp at isa with esp_isa
83 file dev/isa/esp_isa.c esp_isa
84
85 # BusLogic BT-[45]4x ISA family
86 # device declaration in sys/conf/files
87 attach bha at isa with bha_isa: isadma
88 file dev/isa/bha_isa.c bha_isa
89
90 # Seagate ST0[12] ICs
91 device sea: scsi, isadma
92 attach sea at isa
93 file dev/isa/seagate.c sea
94
95 # UltraStor UHA-[13]4f boards
96 # device declaration in sys/conf/files
97 attach uha at isa with uha_isa: isadma
98 file dev/isa/uha_isa.c uha_isa
99
100 # Western Digital WD7000 and Future Domain TMC-7000 boards
101 device wds: scsi, isadma
102 attach wds at isa
103 file dev/isa/wds.c wds
104
105 #
106 # Other ISA disk controllers
107 #
108
109 # Mitsumi CD-ROM controllers
110 device mcd: disk
111 attach mcd at isa
112 file dev/isa/mcd.c mcd needs-flag
113 defopt MCD_PROMISC # enable "promiscuous" match
114
115 # Sony CDU-3[13]A CD-ROM drives
116 device scd: disk
117 attach scd at isa
118 file dev/isa/scd.c scd needs-flag
119
120 # XXX THE FOLLOWING BLOCK SHOULD GO INTO conf/files, BUT CANNOT
121 # XXX BECAUSE NOT ALL PORTS USE THE MI DRIVER YET.
122
123 # ESDI/IDE/etc. controllers
124 device wdc: ata, atapi
125 file dev/ic/wdc.c
126 wdc & (wd | !wd) needs-flag # XXX
127
128 attach wdc at isa with wdc_isa: isadma
129 file dev/isa/wdc_isa.c wdc_isa
130
131 # Wangtek- and Archive-compatible tape controller boards
132 device wt: tape, isadma
133 attach wt at isa
134 file dev/isa/wt.c wt needs-flag
135
136 #
137 # ISA networking drivers
138 #
139
140 # WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ
141 # MUST be first: probe is non invasive, and registers are clobbered
142 # by other drivers's probe
143 device we: ether, ifnet, arp, dp8390nic
144 attach we at isa
145 file dev/isa/if_we.c we
146
147 # 3Com common probe code
148 define elink
149 file dev/isa/elink.c elink
150
151 # 3Com 3C503
152 device ec: ether, ifnet, arp, dp8390nic
153 attach ec at isa
154 file dev/isa/if_ec.c ec
155
156 # 3Com 3C505
157 device eg: ether, ifnet, arp
158 attach eg at isa
159 file dev/isa/if_eg.c eg
160
161 # 3Com 3C501
162 device el: ether, ifnet, arp
163 attach el at isa
164 file dev/isa/if_el.c el
165
166 # 3Com 3C509 Ethernet controller
167 # device declaration in sys/conf/files
168 attach ep at isa with ep_isa: elink
169 file dev/isa/if_ep_isa.c ep_isa
170
171 # Allied Telesis MB8695-based boards
172 # (Allied Telesis AT1700)
173 device ate: arp, ether, ifnet, mb86960
174 attach ate at isa
175 file dev/isa/if_ate.c ate
176
177 # Crystal Semiconductor CS8900, CS8920, and CS8920M Ethernet
178 device cs: arp, ether, ifnet, isadma
179 file dev/isa/cs89x0.c cs
180
181 attach cs at isa with cs_isa
182 file dev/isa/if_cs_isa.c cs_isa
183
184 # Fujitsu MB86960-based boards
185 # (Fujitsu FMV-180 series)
186 device fmv: arp, ether, ifnet, mb86960
187 attach fmv at isa
188 file dev/isa/if_fmv.c fmv
189
190 # HP Lan Ethernet controllers
191 # XXX currently broken
192 #device hp: ether, ifnet, arp
193 #attach hp at isa
194 #file dev/isa/if_hp.c hp
195
196 # Intel i82595-based boards.
197 # (Intel EtherExpress PRO)
198 device iy: ether, ifnet, arp
199 attach iy at isa
200 file dev/isa/if_iy.c iy
201
202 # AMD am7990 (Lance) -based boards
203 # (BICC Isolan, NE2100, DEPCA)
204 # device declaration in sys/conf/files
205 device nele {}
206 attach nele at isa
207 attach le at nele with le_nele: le24, isadma
208 device bicc {}
209 attach bicc at isa
210 attach le at bicc with le_bicc: le24, isadma
211 file dev/isa/if_le_isa.c nele | bicc
212 device depca {}
213 attach depca at isa with depca_isa
214 attach le at depca with le_depca: le24
215 file dev/isa/if_depca_isa.c depca
216
217 # DEC EtherWORKS III (LEMAC-based: DE203, DE204, DE205) cards
218 attach lc at isa with lc_isa
219 file dev/isa/if_lc_isa.c lc
220
221 # Novell NE1000, NE2000, and clones
222 attach ne at isa with ne_isa
223 file dev/isa/if_ne_isa.c ne_isa
224
225 # SMC91Cxx Ethernet Controllers
226 attach sm at isa with sm_isa
227 file dev/isa/if_sm_isa.c sm_isa
228
229 # 3Com 3C507
230 device ef: ether, ifnet, arp, elink, i82586
231 attach ef at isa
232 file dev/isa/if_ef.c ef
233
234 # AT&T StarLan boards
235 device ai: ether, ifnet, arp, i82586
236 attach ai at isa
237 file dev/isa/if_ai.c ai
238
239 # EtherExpress/16
240 device ix: ether, ifnet, arp, i82586
241 attach ix at isa
242 file dev/isa/if_ix.c ix
243
244 #
245 # ISA Sound hardware
246 #
247
248 # MPU401 MIDI UART compatibles
249 define mpu401
250 file dev/isa/mpu401.c mpu401 & midi
251
252 # the SoundBlaster DSP, or close likenesses; used by other drivers
253 define sbdsp { }
254 file dev/isa/sbdsp.c sbdsp
255
256 # SoundBlaster family
257 device sb: audio, isadma, sbdsp, mulaw, auconv, mpu401, midibus
258 file dev/isa/sb.c sb needs-flag
259
260 attach sb at isa with sb_isa
261 file dev/isa/sb_isa.c sb_isa needs-flag
262
263 attach opl at sbdsp with opl_sb
264 file dev/isa/opl_sb.c opl_sb
265
266 # ProAudio Spectrum
267 device pas: audio, isadma, sbdsp, mulaw, auconv
268 attach pas at isa
269 file dev/isa/pas.c pas needs-flag
270
271 # AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers
272 define ad1848
273 file dev/isa/ad1848.c ad1848
274
275 # ICS2101 mixer chip support; used by other drivers
276 define ics2101
277 file dev/isa/ics2101.c ics2101
278
279
280 # Audio systems based on Echo Speech Corp. ESC61[45] ASICs
281 device pss {[port = -1], [size = 0],
282 [iomem = -1], [iosiz = 0],
283 [irq = -1], [drq = -1]}
284 attach pss at isa
285 device sp: audio, isadma, ad1848, auconv
286 attach sp at pss
287 file dev/isa/pss.c pss needs-flag
288
289 # Microsoft Windows Sound System
290 device wss: audio, isadma, ad1848, auconv
291 file dev/isa/wss.c wss needs-flag
292
293 attach wss at isa with wss_isa
294 file dev/isa/wss_isa.c wss_isa needs-flag
295
296 # ESS Technology ES1887/ES888/ES1888
297 define ess { }
298 device ess: ess, audio, isadma, mulaw, auconv, midibus
299 file dev/isa/ess.c ess needs-flag
300
301 attach ess at isa with ess_isa
302 file dev/isa/ess_isa.c ess_isa needs-flag
303
304 attach opl at ess with opl_ess
305 file dev/isa/opl_ess.c opl_ess
306
307 # Yamaha OPL3-SA3
308 device ym: audio, isadma, ad1848, auconv
309 file dev/isa/ym.c ym needs-flag
310
311 # Gravis UltraSound & UltraSound MAX.
312 # Use the "drq2" keyword in a config file to specify an extra DMA
313 # channel for full-duplex operation.
314 device gus: audio, isadma, ics2101, ad1848, mulaw, auconv
315 attach gus at isa
316 file dev/isa/gus.c gus needs-flag
317
318 # Sierra's Aria chipset.
319 # (e.g. Prometheus Aria 16)
320 device aria: audio, mulaw, auconv
321 attach aria at isa
322 file dev/isa/aria.c aria needs-flag
323
324 #
325 # PlanetConnect satellite receiver driver.
326 #
327 device satlink: isadma
328 attach satlink at isa
329 file dev/isa/satlink.c satlink needs-flag
330
331 #
332 # PC keyboard controller
333 #
334 device pckbc {[slot = -1]}
335 attach pckbc at isa
336 file dev/isa/pckbc.c pckbc needs-flag
337
338 # generic ISA VGA
339 attach vga at isa with vga_isa
340 file dev/isa/vga_isa.c vga_isa needs-flag
341
342 # generic PC graphics adapter (MGA, CGA, ...)
343 device pcdisplay: wsemuldisplaydev, pcdisplayops
344 attach pcdisplay at isa
345 file dev/isa/pcdisplay.c pcdisplay needs-flag
346
347 # PC PPI + TIMER 1 (speaker interface)
348 device pcppi {}
349 attach pcppi at isa
350 file dev/isa/pcppi.c pcppi needs-flag
351 device spkr
352 attach spkr at pcppi
353 file dev/isa/spkr.c spkr needs-flag
354 attach midi at pcppi with midi_pcppi: midisyn
355 file dev/isa/midi_pcppi.c midi_pcppi
356
357 #
358 # ISA Plug 'n Play autoconfiguration glue.
359 # THIS MUST COME AFTER ALL MI ISA DEVICES ARE DEFINED. This is because
360 # ISA PnP devices often use `device' declarations listed in this file.
361 #
362 include "dev/isapnp/files.isapnp"
363