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