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