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