files.isa revision 1.83.2.1 1 # $NetBSD: files.isa,v 1.83.2.1 1999/09/10 22:42:56 he 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 #
48 # Serial and parallel drivers
49 #
50
51 attach com at isa with com_isa
52 file dev/isa/com_isa.c com_isa
53
54 attach com at commulti with com_multi
55 file dev/isa/com_multi.c com_multi
56
57 # Cyclades Cyclom-8/16/32
58 attach cy at isa with cy_isa
59 file dev/isa/cy_isa.c cy_isa
60
61 # PC-style parallel ports (XXX what chip?)
62 # XXX chip driver should be defined elsewhere
63 device lpt
64 file dev/ic/lpt.c lpt needs-flag
65
66 # PC-style parallel ports: ISA bus attachment
67 attach lpt at isa with lpt_isa
68 file dev/isa/lpt_isa.c lpt_isa
69
70 #
71 # SCSI host adapters
72 #
73
74 # Adaptec AHA-154x family
75 # device declaration in sys/conf/files
76 attach aha at isa with aha_isa: isadma
77 file dev/isa/aha_isa.c aha_isa
78
79 # Adaptec AIC-6[32]60 ICs
80 # device declaration in sys/conf/files
81 attach aic at isa with aic_isa: isadma
82 file dev/isa/aic_isa.c aic_isa
83
84 # Qlogic ESP406/FAS408 boards
85 # ncr53c9x device declaration in sys/conf/files
86 device esp: scsi, ncr53c9x, isadma
87 attach esp at isa with esp_isa
88 file dev/isa/esp_isa.c esp_isa
89
90 # BusLogic BT-[45]4x ISA family
91 # device declaration in sys/conf/files
92 attach bha at isa with bha_isa: isadma
93 file dev/isa/bha_isa.c bha_isa
94
95 # Seagate ST0[12] ICs
96 device sea: scsi, isadma
97 attach sea at isa
98 file dev/isa/seagate.c sea
99
100 # UltraStor UHA-[13]4f boards
101 # device declaration in sys/conf/files
102 attach uha at isa with uha_isa: isadma
103 file dev/isa/uha_isa.c uha_isa
104
105 # Western Digital WD7000 and Future Domain TMC-7000 boards
106 device wds: scsi, isadma
107 attach wds at isa
108 file dev/isa/wds.c wds
109
110 #
111 # Other ISA disk controllers
112 #
113
114 # Mitsumi CD-ROM controllers
115 device mcd: disk
116 attach mcd at isa
117 file dev/isa/mcd.c mcd needs-flag
118 defopt MCD_PROMISC # enable "promiscuous" match
119
120 # Sony CDU-3[13]A CD-ROM drives
121 device scd: disk
122 attach scd at isa
123 file dev/isa/scd.c scd needs-flag
124
125 attach wdc at isa with wdc_isa: isadma
126 file dev/isa/wdc_isa.c wdc_isa
127
128 # Wangtek- and Archive-compatible tape controller boards
129 device wt: tape, isadma
130 attach wt at isa
131 file dev/isa/wt.c wt needs-flag
132
133 #
134 # ISA networking drivers
135 #
136
137 # WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ
138 # MUST be first: probe is non invasive, and registers are clobbered
139 # by other drivers's probe
140 device we: ether, ifnet, arp, dp8390nic
141 attach we at isa
142 file dev/isa/if_we.c we
143
144 # 3Com common probe code
145 define elink
146 file dev/isa/elink.c elink
147
148 # 3Com 3C503
149 device ec: ether, ifnet, arp, dp8390nic
150 attach ec at isa
151 file dev/isa/if_ec.c ec
152
153 # 3Com 3C505
154 device eg: ether, ifnet, arp
155 attach eg at isa
156 file dev/isa/if_eg.c eg
157
158 # 3Com 3C501
159 device el: ether, ifnet, arp
160 attach el at isa
161 file dev/isa/if_el.c el
162
163 # 3Com 3C509 Ethernet controller
164 # device declaration in sys/conf/files
165 attach ep at isa with ep_isa: elink
166 file dev/isa/if_ep_isa.c ep_isa
167
168 # Allied Telesis MB8695-based boards
169 # (Allied Telesis AT1700)
170 device ate: arp, ether, ifnet, mb86960
171 attach ate at isa
172 file dev/isa/if_ate.c ate
173
174 # Crystal Semiconductor CS8900, CS8920, and CS8920M Ethernet
175 device cs: arp, ether, ifnet, isadma
176 file dev/isa/cs89x0.c cs
177
178 attach cs at isa with cs_isa
179 file dev/isa/if_cs_isa.c cs_isa
180
181 # Fujitsu MB86960-based boards
182 # (Fujitsu FMV-180 series)
183 device fmv: arp, ether, ifnet, mb86960
184 attach fmv at isa
185 file dev/isa/if_fmv.c fmv
186
187 # HP Lan Ethernet controllers
188 # XXX currently broken
189 #device hp: ether, ifnet, arp
190 #attach hp at isa
191 #file dev/isa/if_hp.c hp
192
193 # Intel i82595-based boards.
194 # (Intel EtherExpress PRO)
195 device iy: ether, ifnet, arp
196 attach iy at isa
197 file dev/isa/if_iy.c iy
198
199 # the probe routine of this "recognizes" the iy. Probe after it.
200 # NCR 5380-based boards
201 device nca: scsi, ncr5380sbc
202 attach nca at isa
203 file dev/isa/nca.c nca
204
205 # AMD am7990 (Lance) -based boards
206 # (BICC Isolan, NE2100, DEPCA)
207 # device declaration in sys/conf/files
208 device nele {}
209 attach nele at isa
210 attach le at nele with le_nele: le24, isadma
211 device bicc {}
212 attach bicc at isa
213 attach le at bicc with le_bicc: le24, isadma
214 file dev/isa/if_le_isa.c nele | bicc
215 device depca {}
216 attach depca at isa with depca_isa
217 attach le at depca with le_depca: le24
218 file dev/isa/if_depca_isa.c depca
219
220 # DEC EtherWORKS III (LEMAC-based: DE203, DE204, DE205) cards
221 attach lc at isa with lc_isa
222 file dev/isa/if_lc_isa.c lc
223
224 # Novell NE1000, NE2000, and clones
225 attach ne at isa with ne_isa: rtl80x9
226 file dev/isa/if_ne_isa.c ne_isa
227
228 # SMC91Cxx Ethernet Controllers
229 attach sm at isa with sm_isa
230 file dev/isa/if_sm_isa.c sm_isa
231
232 # 3Com 3C507
233 device ef: ether, ifnet, arp, elink, i82586
234 attach ef at isa
235 file dev/isa/if_ef.c ef
236
237 # AT&T StarLan boards
238 device ai: ether, ifnet, arp, i82586
239 attach ai at isa
240 file dev/isa/if_ai.c ai
241
242 # EtherExpress/16
243 device ix: ether, ifnet, arp, i82586
244 attach ix at isa
245 file dev/isa/if_ix.c ix
246
247 # TROPIC based Token-Ring (IBM/3COM)
248 define tr_isa
249 file dev/isa/if_tr_isa.c tr_isa
250 attach tr at isa with tr_isa: tr_isa, elink
251 file dev/isa/if_tribm_isa.c tr_isa
252 file dev/isa/if_trtcm_isa.c tr_isa
253
254 #
255 # ISA Sound hardware
256 #
257
258 # MPU401 MIDI UART compatibles
259 device mpu: midibus
260 file dev/isa/mpu.c (mpu | sb) needs-flag
261
262 # the SoundBlaster DSP, or close likenesses; used by other drivers
263 define sbdsp { }
264 file dev/isa/sbdsp.c sbdsp
265
266 # SoundBlaster family
267 device sb: audio, isadma, sbdsp, mulaw, auconv, midibus
268 file dev/isa/sb.c sb needs-flag
269
270 attach sb at isa with sb_isa
271 file dev/isa/sb_isa.c sb_isa needs-flag
272
273 attach opl at sbdsp with opl_sb
274 file dev/isa/opl_sb.c opl_sb
275
276 # ProAudio Spectrum
277 device pas: audio, isadma, sbdsp, mulaw, auconv
278 attach pas at isa
279 file dev/isa/pas.c pas needs-flag
280
281 # AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers
282 file dev/isa/ad1848_isa.c ad1848
283
284 # ICS2101 mixer chip support; used by other drivers
285 define ics2101
286 file dev/isa/ics2101.c ics2101
287
288
289 # Audio systems based on Echo Speech Corp. ESC61[45] ASICs
290 device pss {[port = -1], [size = 0],
291 [iomem = -1], [iosiz = 0],
292 [irq = -1], [drq = -1]}
293 attach pss at isa
294 device sp: audio, isadma, ad1848, auconv
295 attach sp at pss
296 file dev/isa/pss.c pss needs-flag
297
298 # Microsoft Windows Sound System
299 device wss: audio, isadma, ad1848, auconv
300 file dev/isa/wss.c wss needs-flag
301
302 attach wss at isa with wss_isa
303 file dev/isa/wss_isa.c wss_isa needs-flag
304
305 # ESS Technology ES1887/ES888/ES1888
306 device ess { } : audio, isadma, mulaw, auconv, midibus
307 file dev/isa/ess.c ess needs-flag
308
309 attach ess at isa with ess_isa
310 file dev/isa/ess_isa.c ess_isa needs-flag
311
312 attach opl at ess with opl_ess
313 file dev/isa/opl_ess.c opl_ess
314
315 # Yamaha OPL2/OPL3 FM synth
316 attach opl at isa with opl_isa
317 file dev/isa/opl_isa.c opl_isa
318
319 # Yamaha OPL3-SA3
320 device ym: audio, isadma, ad1848, auconv
321 file dev/isa/ym.c ym needs-flag
322
323 # Gravis UltraSound & UltraSound MAX.
324 # Use the "drq2" keyword in a config file to specify an extra DMA
325 # channel for full-duplex operation.
326 device gus: audio, isadma, ics2101, ad1848, mulaw, auconv
327 attach gus at isa
328 file dev/isa/gus.c gus needs-flag
329
330 # Sierra's Aria chipset.
331 # (e.g. Prometheus Aria 16)
332 device aria: audio, mulaw, auconv
333 attach aria at isa
334 file dev/isa/aria.c aria needs-flag
335
336 #
337 # PlanetConnect satellite receiver driver.
338 #
339 device satlink: isadma
340 attach satlink at isa
341 file dev/isa/satlink.c satlink needs-flag
342
343 #
344 # PC keyboard controller
345 #
346 device pckbc {[slot = -1]}
347 attach pckbc at isa
348 file dev/isa/pckbc.c pckbc needs-flag
349
350 # generic ISA VGA
351 attach vga at isa with vga_isa
352 file dev/isa/vga_isa.c vga_isa needs-flag
353
354 # generic PC graphics adapter (MGA, CGA, ...)
355 device pcdisplay: wsemuldisplaydev, pcdisplayops
356 attach pcdisplay at isa
357 file dev/isa/pcdisplay.c pcdisplay needs-flag
358
359 # PC PPI + TIMER 1 (speaker interface)
360 device pcppi {}
361 attach pcppi at isa
362 file dev/isa/pcppi.c pcppi needs-flag
363 device spkr
364 attach spkr at pcppi
365 file dev/isa/spkr.c spkr needs-flag
366 attach midi at pcppi with midi_pcppi: midisyn
367 file dev/isa/midi_pcppi.c midi_pcppi
368
369 #
370 # ISA Plug 'n Play autoconfiguration glue.
371 # THIS MUST COME AFTER ALL MI ISA DEVICES ARE DEFINED. This is because
372 # ISA PnP devices often use `device' declarations listed in this file.
373 #
374 include "dev/isapnp/files.isapnp"
375