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