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