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