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