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