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