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