1#	$MirOS: src/sys/dev/isa/files.isa,v 1.2 2005/03/06 21:27:42 tg Exp $
2#	$OpenBSD: files.isa,v 1.86 2004/01/05 17:27:30 markus Exp $
3#	$NetBSD: files.isa,v 1.21 1996/05/16 03:45:55 mycroft Exp $
4#
5# Config file and device description for machine-independent ISA code.
6# Included by ports that need it.  Requires that the SCSI files be
7# defined first.
8
9# ports should specify appropriate major numbers for the following
10# devices:
11#	mcd, scd, wd, wt
12
13# note: do not alter the order of the elements below, they are
14# sorted by ordinal, not by locator name! (thanks miod@openbsd)
15device	isa {[port = -1], [size = 0],
16	     [iomem = -1], [iosiz = 0],
17	     [irq = -1], [drq = -1],
18	     [drq2 = -1], [irq2 = -1]}
19attach	isa at isabus
20file	dev/isa/isa.c			isa needs-flag
21
22#
23# ISA DMA capability, if it exists on this ISA bus
24#
25define	isa_dma
26device  isadma
27attach  isadma at isa: isa_dma
28file	dev/isa/isadma.c		isadma needs-flag
29
30#
31# 8250/16[45]50-based multi-port serial boards
32#
33
34define	commulti {[slave = -1]}
35
36# AST 4-port board
37device	ast: commulti
38attach	ast at isa
39file	dev/isa/ast.c			ast
40
41# BOCA 8-port board
42device	boca: commulti
43attach	boca at isa
44file	dev/isa/boca.c			boca
45
46device	addcom: commulti
47attach	addcom at isa with addcom_isa
48file	dev/isa/addcom_isa.c		addcom
49
50# IBM RT PC 4-port board
51device	rtfps: commulti
52attach	rtfps at isa
53file	dev/isa/rtfps.c			rtfps
54
55# Hostess 4-port board
56device	hsq: commulti
57attach	hsq at isa
58file	dev/isa/hsq.c			hsq
59
60#
61# Serial and parallel drivers
62#
63
64# 8250/16[45]50-based "com" ports
65attach	com at isa with com_isa
66file	dev/isa/com_isa.c		com_isa
67
68attach	com at commulti with com_commulti
69file	dev/isa/com_commulti.c		com_commulti
70
71# Cyclades Cyclom multiport serial cards
72attach	cy at isa with cy_isa
73file	dev/isa/cy_isa.c		cy_isa
74
75# ISA PC keyboard controller
76attach	pckbc at isa with pckbc_isa
77file	dev/isa/pckbc_isa.c		pckbc_isa	needs-flag
78
79# Generic ISA VGA
80attach	vga at isa with vga_isa
81file	dev/isa/vga_isa.c		vga_isa
82
83# Generic EGA
84device	ega: wsemuldisplaydev, pcdisplayops
85attach	ega at isa
86file	dev/isa/ega.c			ega	needs-flag
87
88# Generic PC graphics adapter (MGA, CGA, ...)
89device	pcdisplay: wsemuldisplaydev, pcdisplayops
90attach	pcdisplay at isa
91file	dev/isa/pcdisplay.c	pcdisplay	needs-flag
92
93#
94# SCSI host adapters
95#
96
97# BusLogic BT-74x EISA family (XXX; should be EISA.  it's special)
98attach	bha at isa with bha_isa: isa_dma
99file	dev/isa/bha_isa.c		bha_isa
100
101# Adaptec AIC-6[32]60 ICs
102attach	aic at isa with aic_isa: isa_dma
103file	dev/isa/aic_isa.c		aic_isa
104
105# Adaptec AHA-154x family
106device	aha: scsi, isa_dma
107attach	aha at isa with aha_isa
108file	dev/isa/aha.c			aha needs-flag
109
110# Seagate ST0[12] ICs
111device	sea: scsi
112attach	sea at isa
113file	dev/isa/seagate.c		sea
114
115# UltraStor UHA-[13]4f boards
116# device declaration in sys/conf/files
117attach	uha at isa with uha_isa: isa_dma
118file	dev/isa/uha_isa.c		uha_isa
119
120# Western Digital WD7000 and Future Domain TMC-7000 boards
121device	wds: scsi, isa_dma
122attach	wds at isa
123file	dev/isa/wds.c			wds
124
125# OPTi 82C929 chipset setup code
126define	opti
127file	dev/isa/opti.c			opti
128
129#
130# Other ISA disk controllers
131#
132
133# Mitsumi CD-ROM controllers
134device	mcd: disk, opti
135attach	mcd at isa
136file	dev/isa/mcd.c			mcd needs-flag
137
138# ISA "wd" (ESDI/IDE/etc.) controllers, ATAPI bus
139attach wdc at isa with wdc_isa: isa_dma
140file   dev/isa/wdc_isa.c                wdc_isa
141
142# Wangtek- and Archive-compatible tape controller boards
143device	wt: tape, isa_dma
144attach	wt at isa
145file	dev/isa/wt.c			wt needs-flag
146
147#
148# ISA networking drivers
149#
150
151# DEC EtherWORKS III (LEMAC-based: DE203, DE204, DE205) cards
152attach	lc at isa with lc_isa
153file	dev/isa/if_lc_isa.c		lc_isa
154
155# Novell NE1000, NE2000, and clones
156# Must be before the WD/SMC probe which it is hurt by.
157attach	ne at isa with ne_isa: rtl80x9
158file	dev/isa/if_ne_isa.c		ne_isa
159
160# WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ
161# MUST be second: probe is hurting some NE2k clones but otherwise kind,
162# and registers are clobbered by other drivers' probes
163device	we: ether, ifnet, dp8390nic, ifmedia
164attach	we at isa with we_isa
165file	dev/isa/if_we.c			we & (we_isa | we_isapnp) needs-flag
166
167# 3Com common probe code
168define	elink
169file	dev/isa/elink.c			elink
170
171# 3Com 3C503
172device	ec: ether, ifnet, dp8390nic, ifmedia
173attach	ec at isa
174file	dev/isa/if_ec.c			ec
175
176# National Semiconductor DS8390/WD83C690-based boards
177# (WD/SMC 80x3 family, SMC Ultra [8216], 3Com 3C503, NE[12]000, and clones)
178# XXX conflicts with amiga if_ed.c
179#device	ed: ether, ifnet
180#attach	ed at isa with ed_isa
181#attach	ed at pcmcia with ed_pcmcia
182#file	dev/isa/if_ed.c			ed & (ed_isa | ed_pcmcia) needs-flag
183
184# 3Com 3C505
185device	eg: ether, ifnet
186attach	eg at isa
187file	dev/isa/if_eg.c			eg
188
189# 3Com 3C501
190device	el: ether, ifnet
191attach	el at isa
192file	dev/isa/if_el.c			el
193
194# 3Com 3C509 Ethernet controller
195attach	ep at isa with ep_isa: elink
196file	dev/isa/if_ep_isa.c		ep_isa
197
198# Fujitsu MB8696[05]-based boards
199# (Allied Telesis AT1700)
200device	fe: ether, ifnet
201attach	fe at isa
202file	dev/isa/if_fe.c			fe
203
204# HP Lan Ethernet controllers
205# XXX currently broken
206#device hp: ether, ifnet
207#attach	hp at isa
208#file	dev/isa/if_hp.c			hp
209
210# Intel i82586-based boards
211# (AT&T StarLAN 10, AT&T EN100, AT&T StarLAN Fiber, 3Com 3C507)
212attach	ie at isa with ie_isa: elink
213file	dev/isa/if_ie.c			ie_isa
214
215# Intel i82595-based boards.
216# (Intel EtherExpress PRO/100)
217device  iy: ether, ifnet
218attach	iy at isa
219file    dev/isa/if_iy.c			iy
220
221# Intel EtherExpress PRO/10
222device	ex: ether, ifnet
223attach	ex at isa
224file	dev/isa/if_ex.c			ex needs-flag
225
226# XXX ???
227# XXX NOT IN TREE?
228#device	ix: ether, ifnet
229#attach	ix at isa
230#file	dev/isa/if_ix.c			ix
231
232# AMD am7990 (Lance) -based boards
233# (BICC Isolan, NE2100, DEPCA)
234# device declaration in sys/conf/files
235attach	le at isa with le_isa
236file	dev/isa/if_le.c			le_isa | le_pci
237file	dev/isa/if_le_isa.c		le_isa
238
239# SMC91Cxx Ethernet Controllers
240attach	sm at isa with sm_isa
241file	dev/isa/if_sm_isa.c		sm_isa
242
243# RangeLAN2 wireless network
244attach	rln at isa with rln_isa
245file	dev/isa/if_rln_isa.c		rln_isa
246
247# TROPIC based Token-Ring (IBM/3COM)
248define	tr_isa
249file	dev/isa/if_tr_isa.c		tr_isa
250attach	tr at isa with tr_isa: tr_isa, elink
251file	dev/isa/if_tribm_isa.c		tr_isa
252file	dev/isa/if_trtcm_isa.c		tr_isa
253
254#
255# ISA Sound hardware
256#
257
258# MPU401 MIDI UART compatibles
259define	mpu
260file	dev/isa/mpu401.c		mpu | midi
261
262# MPU401 generic MIDI UART for dumb MPUs like Yamaha SW60XG
263device	mpu: midibus
264attach	mpu at isa with mpu_isa
265file	dev/isa/mpu_isa.c		mpu & midi
266
267# the SoundBlaster DSP, or close likenesses; used by other drivers
268define	sbdsp { }
269file	dev/isa/sbdsp.c			sbdsp
270
271# SoundBlaster family
272device	sb: audio, isa_dma, sbdsp, mulaw, opti, auconv, mpu, midibus
273file	dev/isa/sb.c			sb needs-flag
274
275attach	sb at isa with sb_isa
276file	dev/isa/sb_isa.c		sb & (sb_isa | sb_isapnp) needs-flag
277
278attach	opl at sbdsp with opl_sb
279file	dev/isa/opl_sb.c		opl_sb
280
281# Soundcards based on Sierra's Aria chipset.
282# Such as the Prometheus Aria 16 or the Diamond
283# sonic sound.
284device	aria: audio, mulaw
285attach	aria at isa
286file	dev/isa/aria.c			aria needs-flag
287
288# ProAudio Spectrum
289device	pas: audio, isa_dma, sbdsp, mulaw, auconv
290attach	pas at isa
291file	dev/isa/pas.c			pas needs-flag
292
293# AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers
294define	ad1848
295file	dev/isa/ad1848.c		ad1848
296
297# ICS2101 mixer chip support; used by other drivers
298define	ics2101
299file	dev/isa/ics2101.c		ics2101
300
301
302# Audio systems based on Echo Speech Corp. ESC61[45] ASICs
303device	pss {[port = -1], [size = 0],
304	     [iomem = -1], [iosiz = 0],
305	     [irq = -1], [drq = -1]}
306attach	pss at isa
307device	sp: audio, isa_dma, ad1848, auconv
308attach	sp at pss
309file	dev/isa/pss.c			pss needs-flag
310
311# Microsoft Windows Sound System
312device	wss: audio, isa_dma, ad1848, auconv
313file	dev/isa/wss.c			wss needs-flag
314
315attach	wss at isa with wss_isa
316file	dev/isa/wss_isa.c		wss & (wss_isa | wss_isapnp) needs-flag
317
318# ESS Technology ES1887/ES888/ES1888
319device	ess { } : audio, isa_dma, mulaw, auconv, midibus
320file	dev/isa/ess.c			ess needs-flag
321
322attach	opl at ess with opl_ess
323file	dev/isa/opl_ess.c		opl_ess
324
325# Gravis UltraSound & UltraSound MAX.
326# Use the "flags" keyword in a config file to specify an extra DMA
327# channel for full-duplex operation.
328
329device	gus: audio, isa_dma, ics2101, ad1848, mulaw, auconv
330file	dev/isa/gus.c			gus needs-flag
331
332attach	gus at isa with gus_isa
333file	dev/isa/gus_isa.c		gus & (gus_isa | gus_isapnp) needs-flag
334
335# Yamaha OPL2/OPL3 FM synth
336attach	opl at isa with opl_isa
337file	dev/isa/opl_isa.c		opl_isa
338
339# Sound Forte RadioLink SF16-FMR FM Radio Card
340device sfr: radiobus, tc921x, pt2254a
341attach sfr at isa
342file	dev/isa/sf16fmr.c		sfr
343
344# Sound Forte RadioLink SF16-FMR2 FM Radio Card
345device sf2r: radiobus, tea5757, pt2254a
346attach sf2r at isa
347file	dev/isa/sf16fmr2.c		sf2r
348
349# Aztech/PackardBell FM Radio Card
350device az: radiobus, lm700x
351attach az at isa
352file	dev/isa/aztech.c		az
353
354# AIMS Lab Radiotrack & compatible
355device	rt: radiobus, lm700x
356file	dev/isa/radiotrack.c		rt & (rt_isa | rt_isapnp)
357
358attach	rt at isa with rt_isa
359file	dev/isa/rt_isa.c		rt_isa
360
361# AIMS Lab Radiotrack II FM Radio Card
362device	rtii: radiobus, tea5757
363attach	rtii at isa
364file	dev/isa/radiotrack2.c		rtii
365
366# PC PPI + TIMER 1 (speaker interface)
367device  pcppi {}
368attach  pcppi at isa
369file	dev/isa/pcppi.c	pcppi	needs-flag
370device	spkr
371attach	spkr at pcppi
372file	dev/isa/spkr.c		spkr	needs-flag
373attach	midi at pcppi with midi_pcppi: midisyn
374file	dev/isa/midi_pcppi.c    midi_pcppi
375
376# ISDN devices
377attach	isic at isa with isic_isa
378file	dev/isa/isic_isa.c		isic_isa
379attach	daic at isa with daic_isa
380file	dev/isa/daic_isa.c		daic_isa
381
382file	dev/isa/isic_isa_tel_s08.c	isic_isa
383file	dev/isa/isic_isa_tel_s016.c	isic_isa
384file	dev/isa/isic_isa_tel_s0163.c	isic_isa
385file	dev/isa/isic_isa_avm_a1.c	isic_isa
386file	dev/isa/isic_isa_usr_sti.c	isic_isa
387file	dev/isa/isic_isa_itk_ix1.c	isic_isa
388
389# 8255A-based PC parallel ports
390attach	lpt at isa with lpt_isa
391file	dev/isa/lpt_isa.c		lpt_isa needs-flag
392
393# National Semiconductor LM7[89] and compatible hardware monitors
394attach	lm at isa with lm_isa
395file	dev/isa/lm_isa.c		lm_isa
396
397# NSC PC87366 Super IO / monitor chip
398device	nsclpcsio
399attach	nsclpcsio at isa with nsclpcsio_isa
400file	dev/isa/nsclpcsio_isa.c		nsclpcsio_isa
401
402# IT8705F, IT8712F and SiS970 hardware monitors
403device	it
404attach	it at isa
405file	dev/isa/it.c			it
406
407#
408# PCMCIA PCIC (i82365SL and compatibles):
409#
410#device pcicmaster { [irq = -1], [iomem = -1], [iosiz = 0] }
411#attach pcicmaster at isa
412#device pcic: pcmciabus
413#attach pcic at pcicmaster
414#file dev/isa/pcmcia_pcic.c  pcic | pcicmaster
415
416#file dev/isa/pcmcia_isa.c  pcmcia
417