xref: /openbsd-src/sys/dev/isa/files.isa (revision a28daedfc357b214be5c701aa8ba8adb29a7f1c2)
1#	$OpenBSD: files.isa,v 1.105 2009/01/23 20:32:22 mk 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
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# ISA "wd" (ESDI/IDE/etc.) controllers, ATAPI bus
136attach	wdc at isa with wdc_isa: isa_dma
137file	dev/isa/wdc_isa.c		wdc_isa
138
139#
140# ISA networking drivers
141#
142
143# DEC EtherWORKS III (LEMAC-based: DE203, DE204, DE205) cards
144attach	lc at isa with lc_isa
145file	dev/isa/if_lc_isa.c		lc_isa
146
147# Novell NE1000, NE2000, and clones
148# Must be before the WD/SMC probe which it is hurt by.
149attach	ne at isa with ne_isa: rtl80x9
150file	dev/isa/if_ne_isa.c		ne_isa
151
152# WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ
153# MUST be second: probe is hurting some NE2k clones but otherwise kind,
154# and registers are clobbered by other drivers' probes
155device	we: ether, ifnet, dp8390nic, ifmedia
156attach	we at isa with we_isa
157file	dev/isa/if_we.c			we & (we_isa | we_isapnp) needs-flag
158
159# 3Com common probe code
160define	elink
161file	dev/isa/elink.c			elink
162
163# 3Com 3C503
164device	ec: ether, ifnet, dp8390nic, ifmedia
165attach	ec at isa
166file	dev/isa/if_ec.c			ec
167
168# 3Com 3C505
169device	eg: ether, ifnet
170attach	eg at isa
171file	dev/isa/if_eg.c			eg
172
173# 3Com 3C501
174device	el: ether, ifnet
175attach	el at isa
176file	dev/isa/if_el.c			el
177
178# 3Com 3C509 Ethernet controller
179attach	ep at isa with ep_isa: elink
180file	dev/isa/if_ep_isa.c		ep_isa
181
182# Intel i82586-based boards
183# (AT&T StarLAN 10, AT&T EN100, AT&T StarLAN Fiber, 3Com 3C507)
184attach	ie at isa with ie_isa: elink
185file	dev/isa/if_ie.c			ie_isa
186
187# Intel i82595-based boards.
188# (Intel EtherExpress PRO/100)
189device	iy: ether, ifnet
190attach	iy at isa
191file	dev/isa/if_iy.c			iy
192
193# Intel EtherExpress PRO/10
194device	ex: ether, ifnet
195attach	ex at isa
196file	dev/isa/if_ex.c			ex needs-flag
197
198# AMD am7990 (Lance) -based boards
199# (BICC Isolan, NE2100, DEPCA)
200# device declaration in sys/conf/files
201attach	le at isa with le_isa
202file	dev/isa/if_le.c			le_isa | le_pci
203file	dev/isa/if_le_isa.c		le_isa
204
205# SMC91Cxx Ethernet Controllers
206attach	sm at isa with sm_isa
207file	dev/isa/if_sm_isa.c		sm_isa
208
209#
210# ISA Sound hardware
211#
212
213# MPU401 MIDI UART compatibles
214define	mpu
215file	dev/isa/mpu401.c		mpu | midi
216
217# MPU401 generic MIDI UART for dumb MPUs like Yamaha SW60XG
218device	mpu: midibus
219attach	mpu at isa with mpu_isa
220file	dev/isa/mpu_isa.c		mpu & midi
221
222# the SoundBlaster DSP, or close likenesses; used by other drivers
223define	sbdsp {}
224file	dev/isa/sbdsp.c			sbdsp
225
226# SoundBlaster family
227device	sb: audio, isa_dma, sbdsp, mulaw, opti, auconv, mpu, midibus
228file	dev/isa/sb.c			sb needs-flag
229
230attach	sb at isa with sb_isa
231file	dev/isa/sb_isa.c		sb & (sb_isa | sb_isapnp) needs-flag
232
233attach	opl at sbdsp with opl_sb
234file	dev/isa/opl_sb.c		opl_sb
235
236# Soundcards based on Sierra's Aria chipset.
237# Such as the Prometheus Aria 16 or the Diamond
238# sonic sound.
239device	aria: audio, mulaw
240attach	aria at isa
241file	dev/isa/aria.c			aria needs-flag
242
243# ProAudio Spectrum
244device	pas: audio, isa_dma, sbdsp, mulaw, auconv
245attach	pas at isa
246file	dev/isa/pas.c			pas needs-flag
247
248# AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers
249define	ad1848
250file	dev/isa/ad1848.c		ad1848
251
252# ICS2101 mixer chip support; used by other drivers
253define	ics2101
254file	dev/isa/ics2101.c		ics2101
255
256
257# Audio systems based on Echo Speech Corp. ESC61[45] ASICs
258device	pss {[port = -1], [size = 0],
259	     [iomem = -1], [iosiz = 0],
260	     [irq = -1], [drq = -1]}
261attach	pss at isa
262device	sp: audio, isa_dma, ad1848, auconv
263attach	sp at pss
264file	dev/isa/pss.c			pss needs-flag
265
266# Microsoft Windows Sound System
267device	wss: audio, isa_dma, ad1848, auconv
268file	dev/isa/wss.c			wss needs-flag
269
270attach	wss at isa with wss_isa
271file	dev/isa/wss_isa.c		wss & (wss_isa | wss_isapnp) needs-flag
272
273# ESS Technology ES1887/ES888/ES1888
274device	ess {} : audio, isa_dma, mulaw, auconv, midibus
275file	dev/isa/ess.c			ess needs-flag
276
277attach	opl at ess with opl_ess
278file	dev/isa/opl_ess.c		opl_ess
279
280# Gravis UltraSound & UltraSound MAX.
281# Use the "flags" keyword in a config file to specify an extra DMA
282# channel for full-duplex operation.
283
284device	gus: audio, isa_dma, ics2101, ad1848, mulaw, auconv
285file	dev/isa/gus.c			gus needs-flag
286
287attach	gus at isa with gus_isa
288file	dev/isa/gus_isa.c		gus & (gus_isa | gus_isapnp) needs-flag
289
290# Yamaha OPL2/OPL3 FM synth
291attach	opl at isa with opl_isa
292file	dev/isa/opl_isa.c		opl_isa
293
294# Sound Forte RadioLink SF16-FMR FM Radio Card
295device sfr: radiobus, tc921x, pt2254a
296attach sfr at isa
297file	dev/isa/sf16fmr.c		sfr
298
299# Sound Forte RadioLink SF16-FMR2 FM Radio Card
300device sf2r: radiobus, tea5757, pt2254a
301attach sf2r at isa
302file	dev/isa/sf16fmr2.c		sf2r
303
304# Aztech/PackardBell FM Radio Card
305device az: radiobus, lm700x
306attach az at isa
307file	dev/isa/aztech.c		az
308
309# AIMS Lab Radiotrack & compatible
310device	rt: radiobus, lm700x
311file	dev/isa/radiotrack.c		rt & (rt_isa | rt_isapnp)
312
313attach	rt at isa with rt_isa
314file	dev/isa/rt_isa.c		rt_isa
315
316# AIMS Lab Radiotrack II FM Radio Card
317device	rtii: radiobus, tea5757
318attach	rtii at isa
319file	dev/isa/radiotrack2.c		rtii
320
321# PC PPI + TIMER 1 (speaker interface)
322device	pcppi {}
323attach	pcppi at isa
324file	dev/isa/pcppi.c	pcppi	needs-flag
325device	spkr
326attach	spkr at pcppi
327file	dev/isa/spkr.c			spkr	needs-flag
328attach	midi at pcppi with midi_pcppi: midisyn
329file	dev/isa/midi_pcppi.c		midi_pcppi
330
331# 8255A-based PC parallel ports
332attach	lpt at isa with lpt_isa
333file	dev/isa/lpt_isa.c		lpt_isa needs-flag
334
335# Winbond LPC Super I/O
336device	wbsio {}
337attach	wbsio at isa
338file	dev/isa/wbsio.c			wbsio
339
340# SMSC SCH311x Super I/O
341device	schsio {}
342attach	schsio at isa
343file	dev/isa/sch311x.c		schsio
344
345# National Semiconductor LM78/79/81 and compatible hardware monitors
346attach	lm at isa with lm_isa
347attach	lm at wbsio with lm_wbsio
348file	dev/isa/lm78_isa.c		lm_isa | lm_wbsio
349
350# Fintek (Feature Integration Technology) F71805F hardware monitor subfunction
351device	fins
352attach	fins at isa
353file	dev/isa/fins.c			fins
354
355# NSC PC87366 Super IO / monitor chip
356device	nsclpcsio: gpiobus
357attach	nsclpcsio at isa with nsclpcsio_isa
358file	dev/isa/nsclpcsio_isa.c		nsclpcsio_isa
359
360# National Semiconductor Geode SC1100 Super I/O
361device	gscsio: i2cbus
362attach	gscsio at isa
363file	dev/isa/gscsio.c		gscsio
364
365# ITE IT8705F, IT8712F, IT8716F, IT8718F, IT8726F and SiS SiS950 hardware
366# monitors and watchdog timers
367device	it
368attach	it at isa
369file	dev/isa/it.c			it
370
371# VIA VT1211 LPC Super I/O
372device	viasio
373attach	viasio at isa
374file	dev/isa/viasio.c		viasio
375
376# ThinkPad Active Protection System accelerometer
377device	aps
378attach	aps at isa
379file	dev/isa/aps.c			aps
380
381# ISA I/O mapped as GPIO
382device	isagpio: gpiobus
383attach	isagpio at isa
384file	dev/isa/isagpio.c		isagpio
385
386#
387# PCMCIA PCIC (i82365SL and compatibles):
388#
389#device	pcicmaster {[irq = -1], [iomem = -1], [iosiz = 0]}
390#attach	pcicmaster at isa
391#device	pcic: pcmciabus
392#attach	pcic at pcicmaster
393#file	dev/isa/pcmcia_pcic.c		pcic | pcicmaster
394
395#file	dev/isa/pcmcia_isa.c		pcmcia
396