files.isa revision 1.99 1 # $NetBSD: files.isa,v 1.99 2000/03/20 11:03:43 pk 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 attach nca at isa with nca_isa
223 file dev/isa/nca_isa.c nca_isa
224
225 # AMD am7990 (Lance) -based boards
226 # (BICC Isolan, NE2100, DEPCA)
227 # device declaration in sys/conf/files
228 device nele {}
229 attach nele at isa
230 attach le at nele with le_nele: le24, isadma
231 device bicc {}
232 attach bicc at isa
233 attach le at bicc with le_bicc: le24, isadma
234 file dev/isa/if_le_isa.c nele | bicc
235 device depca {}
236 attach depca at isa with depca_isa
237 attach le at depca with le_depca: le24
238 file dev/isa/if_depca_isa.c depca
239
240 # DEC EtherWORKS III (LEMAC-based: DE203, DE204, DE205) cards
241 attach lc at isa with lc_isa
242 file dev/isa/if_lc_isa.c lc_isa
243
244 # Novell NE1000, NE2000, and clones
245 attach ne at isa with ne_isa: rtl80x9
246 file dev/isa/if_ne_isa.c ne_isa
247
248 # SMC91Cxx Ethernet Controllers
249 attach sm at isa with sm_isa
250 file dev/isa/if_sm_isa.c sm_isa
251
252 # 3Com 3C507
253 device ef: ether, ifnet, arp, elink, i82586
254 attach ef at isa
255 file dev/isa/if_ef.c ef
256
257 # AT&T StarLan boards
258 device ai: ether, ifnet, arp, i82586
259 attach ai at isa
260 file dev/isa/if_ai.c ai
261
262 # EtherExpress/16
263 device ix: ether, ifnet, arp, i82586
264 attach ix at isa
265 file dev/isa/if_ix.c ix
266
267 # TROPIC based Token-Ring (IBM/3COM)
268 define tr_isa
269 file dev/isa/if_tr_isa.c tr_isa
270 attach tr at isa with tr_isa: tr_isa, elink
271 file dev/isa/if_tribm_isa.c tr_isa
272 file dev/isa/if_trtcm_isa.c tr_isa
273
274 # ISA NCR/AT&T/Lucent WaveLAN (non-802.11) card
275 attach wl at isa with wl_isa: i82586, wavelan
276 file dev/isa/if_wl_isa.c wl_isa
277
278 #
279 # ISA Sound hardware
280 #
281
282 # MPU401 MIDI UART compatibles
283 attach mpu at isa with mpu_isa
284 file dev/isa/mpu_isa.c mpu_isa
285
286 # the SoundBlaster DSP, or close likenesses; used by other drivers
287 define sbdsp { }
288 file dev/isa/sbdsp.c sbdsp
289
290 # SoundBlaster family
291 device sb: audio, isadma, sbdsp, mulaw, auconv, midibus
292 file dev/isa/sb.c sb needs-flag
293
294 attach sb at isa with sb_isa
295 file dev/isa/sb_isa.c sb_isa needs-flag
296
297 attach opl at sbdsp with opl_sb
298 file dev/isa/opl_sb.c opl_sb
299
300 attach mpu at sbdsp with mpu_sb
301 file dev/isa/mpu_sb.c mpu_sb
302
303 # ProAudio Spectrum
304 device pas: audio, isadma, sbdsp, mulaw, auconv
305 attach pas at isa
306 file dev/isa/pas.c pas needs-flag
307
308 # AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers
309 file dev/isa/ad1848_isa.c ad1848
310
311 # ICS2101 mixer chip support; used by other drivers
312 define ics2101
313 file dev/isa/ics2101.c ics2101
314
315
316 # Audio systems based on Echo Speech Corp. ESC61[45] ASICs
317 device pss {[port = -1], [size = 0],
318 [iomem = -1], [iosiz = 0],
319 [irq = -1], [drq = -1]}
320 attach pss at isa
321 device sp: audio, isadma, ad1848, auconv
322 attach sp at pss
323 file dev/isa/pss.c pss needs-flag
324
325 # Microsoft Windows Sound System
326 device wss { } : audio, isadma, ad1848, auconv
327 file dev/isa/wss.c wss needs-flag
328
329 attach wss at isa with wss_isa
330 file dev/isa/wss_isa.c wss_isa needs-flag
331
332 attach opl at wss with opl_wss
333 file dev/isa/opl_wss.c opl_wss
334
335 # ESS Technology ES1887/ES888/ES1888
336 device ess { } : audio, isadma, mulaw, auconv, midibus
337 file dev/isa/ess.c ess needs-flag
338
339 attach ess at isa with ess_isa
340 file dev/isa/ess_isa.c ess_isa needs-flag
341
342 attach opl at ess with opl_ess
343 file dev/isa/opl_ess.c opl_ess
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 { }: audio, isadma, ad1848, auconv
351 file dev/isa/ym.c ym
352 defopt 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: audio, 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: audio, mulaw, auconv
370 attach aria at isa
371 file dev/isa/aria.c aria needs-flag
372
373 #
374 # PlanetConnect satellite receiver driver.
375 #
376 device satlink: isadma
377 attach satlink at isa
378 file dev/isa/satlink.c satlink needs-flag
379
380 # ISA PC keyboard controller
381 attach pckbc at isa with pckbc_isa
382 file dev/isa/pckbc_isa.c pckbc needs-flag
383
384 # generic ISA VGA
385 attach vga at isa with vga_isa
386 file dev/isa/vga_isa.c vga_isa needs-flag
387
388 # generic EGA
389 device ega: wsemuldisplaydev, pcdisplayops
390 attach ega at isa
391 file dev/isa/ega.c ega needs-flag
392
393 # generic PC graphics adapter (MGA, CGA, ...)
394 device pcdisplay: wsemuldisplaydev, pcdisplayops
395 attach pcdisplay at isa
396 file dev/isa/pcdisplay.c pcdisplay needs-flag
397
398 # PC PPI + TIMER 1 (speaker interface)
399 device pcppi {}
400 attach pcppi at isa
401 file dev/isa/pcppi.c pcppi needs-flag
402 device spkr
403 attach spkr at pcppi
404 file dev/isa/spkr.c spkr needs-flag
405 attach midi at pcppi with midi_pcppi: midisyn
406 file dev/isa/midi_pcppi.c midi_pcppi
407
408 #
409 # Environmental monitors
410 #
411
412 # LM78 temp/fanspeed monitor
413 attach lm at isa with lm_isa
414 file dev/isa/lm_isa.c lm_isa
415
416
417 #
418 # ISA Plug 'n Play autoconfiguration glue.
419 # THIS MUST COME AFTER ALL MI ISA DEVICES ARE DEFINED. This is because
420 # ISA PnP devices often use `device' declarations listed in this file.
421 #
422 include "dev/isapnp/files.isapnp"
423