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