files.isa revision 1.78 1 # $NetBSD: files.isa,v 1.78 1998/10/25 18:41:56 christos 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 # BOCA 8-port board
33 device boca: commulti
34 attach boca at isa
35 file dev/isa/boca.c boca
36
37 # IBM RT PC 4-port board
38 device rtfps: commulti
39 attach rtfps at isa
40 file dev/isa/rtfps.c rtfps
41
42 #
43 # Serial and parallel drivers
44 #
45
46 attach com at isa with com_isa
47 file dev/isa/com_isa.c com_isa
48
49 attach com at commulti with com_multi
50 file dev/isa/com_multi.c com_multi
51
52 # Cyclades Cyclom-8/16/32
53 attach cy at isa with cy_isa
54 file dev/isa/cy_isa.c cy_isa
55
56 # PC-style parallel ports (XXX what chip?)
57 # XXX chip driver should be defined elsewhere
58 device lpt
59 file dev/ic/lpt.c lpt needs-flag
60
61 # PC-style parallel ports: ISA bus attachment
62 attach lpt at isa with lpt_isa
63 file dev/isa/lpt_isa.c lpt_isa
64
65 #
66 # SCSI host adapters
67 #
68
69 # Adaptec AHA-154x family
70 # device declaration in sys/conf/files
71 attach aha at isa with aha_isa: isadma
72 file dev/isa/aha_isa.c aha_isa
73
74 # Adaptec AIC-6[32]60 ICs
75 # device declaration in sys/conf/files
76 attach aic at isa with aic_isa: isadma
77 file dev/isa/aic_isa.c aic_isa
78
79 # Qlogic ESP406/FAS408 boards
80 # ncr53c9x device declaration in sys/conf/files
81 device esp: scsi, ncr53c9x, isadma
82 attach esp at isa with esp_isa
83 file dev/isa/esp_isa.c esp_isa
84
85 # BusLogic BT-[45]4x ISA family
86 # device declaration in sys/conf/files
87 attach bha at isa with bha_isa: isadma
88 file dev/isa/bha_isa.c bha_isa
89
90 # Seagate ST0[12] ICs
91 device sea: scsi, isadma
92 attach sea at isa
93 file dev/isa/seagate.c sea
94
95 # UltraStor UHA-[13]4f boards
96 # device declaration in sys/conf/files
97 attach uha at isa with uha_isa: isadma
98 file dev/isa/uha_isa.c uha_isa
99
100 # Western Digital WD7000 and Future Domain TMC-7000 boards
101 device wds: scsi, isadma
102 attach wds at isa
103 file dev/isa/wds.c wds
104
105 # NCR 5380-based boards
106 device nca: scsi, ncr5380sbc
107 attach nca at isa
108 file dev/isa/nca.c nca
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 # XXX THE FOLLOWING BLOCK SHOULD GO INTO conf/files, BUT CANNOT
126 # XXX BECAUSE NOT ALL PORTS USE THE MI DRIVER YET.
127
128 # ESDI/IDE/etc. controllers
129 device wdc: ata, atapi, wdc_base
130
131 attach wdc at isa with wdc_isa: isadma
132 file dev/isa/wdc_isa.c wdc_isa
133
134 # Wangtek- and Archive-compatible tape controller boards
135 device wt: tape, isadma
136 attach wt at isa
137 file dev/isa/wt.c wt needs-flag
138
139 #
140 # ISA networking drivers
141 #
142
143 # WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ
144 # MUST be first: probe is non invasive, and registers are clobbered
145 # by other drivers's probe
146 device we: ether, ifnet, arp, dp8390nic
147 attach we at isa
148 file dev/isa/if_we.c we
149
150 # 3Com common probe code
151 define elink
152 file dev/isa/elink.c elink
153
154 # 3Com 3C503
155 device ec: ether, ifnet, arp, dp8390nic
156 attach ec at isa
157 file dev/isa/if_ec.c ec
158
159 # 3Com 3C505
160 device eg: ether, ifnet, arp
161 attach eg at isa
162 file dev/isa/if_eg.c eg
163
164 # 3Com 3C501
165 device el: ether, ifnet, arp
166 attach el at isa
167 file dev/isa/if_el.c el
168
169 # 3Com 3C509 Ethernet controller
170 # device declaration in sys/conf/files
171 attach ep at isa with ep_isa: elink
172 file dev/isa/if_ep_isa.c ep_isa
173
174 # Allied Telesis MB8695-based boards
175 # (Allied Telesis AT1700)
176 device ate: arp, ether, ifnet, mb86960
177 attach ate at isa
178 file dev/isa/if_ate.c ate
179
180 # Crystal Semiconductor CS8900, CS8920, and CS8920M Ethernet
181 device cs: arp, ether, ifnet, isadma
182 file dev/isa/cs89x0.c cs
183
184 attach cs at isa with cs_isa
185 file dev/isa/if_cs_isa.c cs_isa
186
187 # Fujitsu MB86960-based boards
188 # (Fujitsu FMV-180 series)
189 device fmv: arp, ether, ifnet, mb86960
190 attach fmv at isa
191 file dev/isa/if_fmv.c fmv
192
193 # HP Lan Ethernet controllers
194 # XXX currently broken
195 #device hp: ether, ifnet, arp
196 #attach hp at isa
197 #file dev/isa/if_hp.c hp
198
199 # Intel i82595-based boards.
200 # (Intel EtherExpress PRO)
201 device iy: ether, ifnet, arp
202 attach iy at isa
203 file dev/isa/if_iy.c iy
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
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 #
248 # ISA Sound hardware
249 #
250
251 # MPU401 MIDI UART compatibles
252 define mpu401
253 file dev/isa/mpu401.c mpu401 & midi
254
255 # the SoundBlaster DSP, or close likenesses; used by other drivers
256 define sbdsp { }
257 file dev/isa/sbdsp.c sbdsp
258
259 # SoundBlaster family
260 device sb: audio, isadma, sbdsp, mulaw, auconv, mpu401, midibus
261 file dev/isa/sb.c sb needs-flag
262
263 attach sb at isa with sb_isa
264 file dev/isa/sb_isa.c sb_isa needs-flag
265
266 attach opl at sbdsp with opl_sb
267 file dev/isa/opl_sb.c opl_sb
268
269 # ProAudio Spectrum
270 device pas: audio, isadma, sbdsp, mulaw, auconv
271 attach pas at isa
272 file dev/isa/pas.c pas needs-flag
273
274 # AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers
275 file dev/isa/ad1848_isa.c ad1848
276
277 # ICS2101 mixer chip support; used by other drivers
278 define ics2101
279 file dev/isa/ics2101.c ics2101
280
281
282 # Audio systems based on Echo Speech Corp. ESC61[45] ASICs
283 device pss {[port = -1], [size = 0],
284 [iomem = -1], [iosiz = 0],
285 [irq = -1], [drq = -1]}
286 attach pss at isa
287 device sp: audio, isadma, ad1848, auconv
288 attach sp at pss
289 file dev/isa/pss.c pss needs-flag
290
291 # Microsoft Windows Sound System
292 device wss: audio, isadma, ad1848, auconv
293 file dev/isa/wss.c wss needs-flag
294
295 attach wss at isa with wss_isa
296 file dev/isa/wss_isa.c wss_isa needs-flag
297
298 # ESS Technology ES1887/ES888/ES1888
299 device ess { } : audio, isadma, mulaw, auconv, midibus
300 file dev/isa/ess.c ess needs-flag
301
302 attach ess at isa with ess_isa
303 file dev/isa/ess_isa.c ess_isa needs-flag
304
305 attach opl at ess with opl_ess
306 file dev/isa/opl_ess.c opl_ess
307
308 # Yamaha OPL2/OPL3 FM synth
309 attach opl at isa with opl_isa
310 file dev/isa/opl_isa.c opl_isa
311
312 # Yamaha OPL3-SA3
313 device ym: audio, isadma, ad1848, auconv
314 file dev/isa/ym.c ym needs-flag
315
316 # Gravis UltraSound & UltraSound MAX.
317 # Use the "drq2" keyword in a config file to specify an extra DMA
318 # channel for full-duplex operation.
319 device gus: audio, isadma, ics2101, ad1848, mulaw, auconv
320 attach gus at isa
321 file dev/isa/gus.c gus needs-flag
322
323 # Sierra's Aria chipset.
324 # (e.g. Prometheus Aria 16)
325 device aria: audio, mulaw, auconv
326 attach aria at isa
327 file dev/isa/aria.c aria needs-flag
328
329 #
330 # PlanetConnect satellite receiver driver.
331 #
332 device satlink: isadma
333 attach satlink at isa
334 file dev/isa/satlink.c satlink needs-flag
335
336 #
337 # PC keyboard controller
338 #
339 device pckbc {[slot = -1]}
340 attach pckbc at isa
341 file dev/isa/pckbc.c pckbc needs-flag
342
343 # generic ISA VGA
344 attach vga at isa with vga_isa
345 file dev/isa/vga_isa.c vga_isa needs-flag
346
347 # generic PC graphics adapter (MGA, CGA, ...)
348 device pcdisplay: wsemuldisplaydev, pcdisplayops
349 attach pcdisplay at isa
350 file dev/isa/pcdisplay.c pcdisplay needs-flag
351
352 # PC PPI + TIMER 1 (speaker interface)
353 device pcppi {}
354 attach pcppi at isa
355 file dev/isa/pcppi.c pcppi needs-flag
356 device spkr
357 attach spkr at pcppi
358 file dev/isa/spkr.c spkr needs-flag
359 attach midi at pcppi with midi_pcppi: midisyn
360 file dev/isa/midi_pcppi.c midi_pcppi
361
362 #
363 # ISA Plug 'n Play autoconfiguration glue.
364 # THIS MUST COME AFTER ALL MI ISA DEVICES ARE DEFINED. This is because
365 # ISA PnP devices often use `device' declarations listed in this file.
366 #
367 include "dev/isapnp/files.isapnp"
368