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