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
11device	isa {[port = -1], [size = 0],
12	     [iomem = -1], [iosiz = 0],
13	     [irq = -1], [drq = -1], [drq2 = -1]}
14attach	isa at isabus
15file	dev/isa/isa.c			isa needs-flag
16
17# ISA DMA controller
18define	isadma
19file	dev/isa/isadma.c		isadma needs-flag
20
21#
22# 8250/16[45]50-based multi-port serial boards
23#
24
25define	commulti {[slave = -1]}
26
27# AST 4-port board
28device	ast: commulti
29attach	ast at isa
30file	dev/isa/ast.c			ast
31
32# BOCA 8-port board
33device	boca: commulti
34attach	boca at isa
35file	dev/isa/boca.c			boca
36
37# IBM RT PC 4-port board
38device	rtfps: commulti
39attach	rtfps at isa
40file	dev/isa/rtfps.c			rtfps
41
42#
43# Serial and parallel drivers
44#
45
46attach	com at isa with com_isa
47file	dev/isa/com_isa.c		com_isa
48
49attach	com at commulti with com_multi
50file	dev/isa/com_multi.c		com_multi
51
52# Cyclades Cyclom-8/16/32 
53attach	cy at isa with cy_isa
54file	dev/isa/cy_isa.c		cy_isa
55
56# PC-style parallel ports (XXX what chip?)
57# XXX chip driver should be defined elsewhere
58device	lpt
59file	dev/ic/lpt.c			lpt needs-flag
60
61# PC-style parallel ports: ISA bus attachment
62attach	lpt at isa with lpt_isa
63file	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
71attach	aha at isa with aha_isa: isadma
72file	dev/isa/aha_isa.c		aha_isa
73
74# Adaptec AIC-6[32]60 ICs
75# device declaration in sys/conf/files
76attach	aic at isa with aic_isa: isadma
77file	dev/isa/aic_isa.c		aic_isa
78
79# Qlogic ESP406/FAS408 boards
80# ncr53c9x device declaration in sys/conf/files
81device	esp: scsi, ncr53c9x, isadma
82attach	esp at isa with esp_isa
83file	dev/isa/esp_isa.c		esp_isa
84
85# BusLogic BT-[45]4x ISA family
86# device declaration in sys/conf/files
87attach	bha at isa with bha_isa: isadma
88file	dev/isa/bha_isa.c		bha_isa
89
90# Seagate ST0[12] ICs
91device	sea: scsi, isadma
92attach	sea at isa
93file	dev/isa/seagate.c		sea
94
95# UltraStor UHA-[13]4f boards
96# device declaration in sys/conf/files
97attach	uha at isa with uha_isa: isadma
98file	dev/isa/uha_isa.c		uha_isa
99
100# Western Digital WD7000 and Future Domain TMC-7000 boards
101device	wds: scsi, isadma
102attach	wds at isa
103file	dev/isa/wds.c			wds
104
105# NCR 5380-based boards
106device	nca: scsi, ncr5380sbc
107attach	nca at isa
108file	dev/isa/nca.c			nca
109
110#
111# Other ISA disk controllers
112#
113
114# Mitsumi CD-ROM controllers
115device	mcd: disk
116attach	mcd at isa
117file	dev/isa/mcd.c			mcd needs-flag
118defopt	MCD_PROMISC			# enable "promiscuous" match
119
120# Sony CDU-3[13]A CD-ROM drives
121device	scd: disk
122attach	scd at isa
123file	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
129device  wdc: ata, atapi, wdc_base
130
131attach	wdc at isa with wdc_isa: isadma
132file    dev/isa/wdc_isa.c           	wdc_isa
133
134# Wangtek- and Archive-compatible tape controller boards
135device	wt: tape, isadma
136attach	wt at isa
137file	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
146device	we: ether, ifnet, arp, dp8390nic
147attach	we at isa
148file	dev/isa/if_we.c			we
149
150# 3Com common probe code
151define	elink
152file	dev/isa/elink.c			elink
153
154# 3Com 3C503
155device	ec: ether, ifnet, arp, dp8390nic
156attach	ec at isa
157file	dev/isa/if_ec.c			ec
158
159# 3Com 3C505
160device	eg: ether, ifnet, arp
161attach	eg at isa
162file	dev/isa/if_eg.c			eg
163
164# 3Com 3C501
165device	el: ether, ifnet, arp
166attach	el at isa
167file	dev/isa/if_el.c			el
168
169# 3Com 3C509 Ethernet controller
170# device declaration in sys/conf/files
171attach	ep at isa with ep_isa: elink
172file	dev/isa/if_ep_isa.c		ep_isa
173
174# Allied Telesis MB8695-based boards
175# (Allied Telesis AT1700)
176device	ate: arp, ether, ifnet, mb86960
177attach	ate at isa
178file	dev/isa/if_ate.c		ate
179
180# Crystal Semiconductor CS8900, CS8920, and CS8920M Ethernet
181device	cs: arp, ether, ifnet, isadma
182file	dev/isa/cs89x0.c		cs
183
184attach	cs at isa with cs_isa
185file	dev/isa/if_cs_isa.c		cs_isa
186
187# Fujitsu MB86960-based boards
188# (Fujitsu FMV-180 series)
189device	fmv: arp, ether, ifnet, mb86960
190attach	fmv at isa
191file	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)
201device  iy: ether, ifnet, arp
202attach	iy at isa
203file    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
208device nele {}
209attach nele at isa
210attach le at nele with le_nele: le24, isadma
211device bicc {}
212attach bicc at isa
213attach le at bicc with le_bicc: le24, isadma
214file	dev/isa/if_le_isa.c	nele | bicc
215device depca {}
216attach	depca at isa with depca_isa
217attach	le at depca with le_depca: le24
218file	dev/isa/if_depca_isa.c	depca
219
220# DEC EtherWORKS III (LEMAC-based: DE203, DE204, DE205) cards
221attach  lc at isa with lc_isa
222file    dev/isa/if_lc_isa.c		lc
223
224# Novell NE1000, NE2000, and clones
225attach	ne at isa with ne_isa
226file	dev/isa/if_ne_isa.c		ne_isa
227
228# SMC91Cxx Ethernet Controllers 
229attach	sm at isa with sm_isa
230file	dev/isa/if_sm_isa.c		sm_isa
231
232# 3Com 3C507
233device	ef: ether, ifnet, arp, elink, i82586
234attach	ef at isa
235file	dev/isa/if_ef.c		ef
236
237# AT&T StarLan boards
238device	ai: ether, ifnet, arp, i82586
239attach	ai at isa
240file	dev/isa/if_ai.c		ai
241
242# EtherExpress/16
243device	ix: ether, ifnet, arp, i82586
244attach	ix at isa
245file	dev/isa/if_ix.c		ix
246
247#
248# ISA Sound hardware
249#
250
251# MPU401 MIDI UART compatibles
252define	mpu401
253file	dev/isa/mpu401.c		mpu401 & midi
254
255# the SoundBlaster DSP, or close likenesses; used by other drivers
256define	sbdsp { }
257file	dev/isa/sbdsp.c			sbdsp
258
259# SoundBlaster family
260device	sb: audio, isadma, sbdsp, mulaw, auconv, mpu401, midibus
261file	dev/isa/sb.c			sb needs-flag
262
263attach	sb at isa with sb_isa
264file	dev/isa/sb_isa.c		sb_isa needs-flag
265
266attach	opl at sbdsp with opl_sb
267file	dev/isa/opl_sb.c		opl_sb
268
269# ProAudio Spectrum
270device	pas: audio, isadma, sbdsp, mulaw, auconv
271attach	pas at isa
272file	dev/isa/pas.c			pas needs-flag
273
274# AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers
275file	dev/isa/ad1848_isa.c		ad1848
276
277# ICS2101 mixer chip support; used by other drivers
278define	ics2101
279file	dev/isa/ics2101.c		ics2101
280
281
282# Audio systems based on Echo Speech Corp. ESC61[45] ASICs
283device	pss {[port = -1], [size = 0],
284	     [iomem = -1], [iosiz = 0],
285	     [irq = -1], [drq = -1]}
286attach	pss at isa
287device	sp: audio, isadma, ad1848, auconv
288attach	sp at pss
289file	dev/isa/pss.c			pss needs-flag
290
291# Microsoft Windows Sound System
292device	wss: audio, isadma, ad1848, auconv
293file	dev/isa/wss.c			wss needs-flag
294
295attach	wss at isa with wss_isa
296file	dev/isa/wss_isa.c		wss_isa needs-flag
297
298# ESS Technology ES1887/ES888/ES1888
299device	ess { } : audio, isadma, mulaw, auconv, midibus
300file	dev/isa/ess.c			ess needs-flag
301
302attach	ess at isa with ess_isa
303file	dev/isa/ess_isa.c		ess_isa needs-flag
304
305attach	opl at ess with opl_ess
306file	dev/isa/opl_ess.c		opl_ess
307
308# Yamaha OPL2/OPL3 FM synth
309attach	opl at isa with opl_isa
310file	dev/isa/opl_isa.c		opl_isa
311
312# Yamaha OPL3-SA3
313device	ym: audio, isadma, ad1848, auconv
314file	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. 
319device	gus: audio, isadma, ics2101, ad1848, mulaw, auconv
320attach	gus at isa
321file	dev/isa/gus.c			gus needs-flag
322
323# Sierra's Aria chipset.
324# (e.g. Prometheus Aria 16)
325device	aria: audio, mulaw, auconv
326attach	aria at isa
327file	dev/isa/aria.c			aria needs-flag
328
329#
330# PlanetConnect satellite receiver driver.
331#
332device satlink: isadma
333attach satlink at isa
334file dev/isa/satlink.c			satlink	needs-flag
335
336#
337# PC keyboard controller
338#
339device  pckbc {[slot = -1]}
340attach  pckbc at isa
341file    dev/isa/pckbc.c          pckbc	needs-flag
342
343# generic ISA VGA
344attach	vga at isa with vga_isa
345file	dev/isa/vga_isa.c	vga_isa	needs-flag
346
347# generic PC graphics adapter (MGA, CGA, ...)
348device pcdisplay: wsemuldisplaydev, pcdisplayops
349attach	pcdisplay at isa
350file	dev/isa/pcdisplay.c	pcdisplay	needs-flag
351
352# PC PPI + TIMER 1 (speaker interface)
353device  pcppi {}
354attach  pcppi at isa
355file	dev/isa/pcppi.c	pcppi	needs-flag
356device spkr
357attach spkr at pcppi
358file	dev/isa/spkr.c		spkr	needs-flag
359attach midi at pcppi with midi_pcppi: midisyn
360file	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#
367include "dev/isapnp/files.isapnp"
368