files.isa revision 1.109
1#	$NetBSD: files.isa,v 1.109 2001/02/18 13:54:32 martin Exp $
2#
3# Config file and device description for machine-independent ISA code.
4# Included by ports that need it.  Requires that the SCSI files be
5# defined first.
6
7# ports should specify appropriate major numbers for the following
8# devices:
9#	mcd, scd, wd, wt
10
11device	isa {[port = -1], [size = 0],
12	     [iomem = -1], [iosiz = 0],
13	     [irq = -1], [drq = -1], [drq2 = -1]}
14attach	isa at isabus
15file	dev/isa/isa.c			isa needs-flag
16
17# ISA DMA controller
18define	isadma
19file	dev/isa/isadma.c		isadma needs-flag
20
21#
22# 8250/16[45]50-based multi-port serial boards
23#
24
25define	commulti {[slave = -1]}
26
27# AST 4-port board
28device	ast: commulti
29attach	ast at isa
30file	dev/isa/ast.c			ast
31
32# TC-800 8-port board
33device	tcom: commulti
34attach	tcom at isa
35file	dev/isa/tcom.c			tcom
36
37# BOCA 8-port board
38device	boca: commulti
39attach	boca at isa
40file	dev/isa/boca.c			boca
41
42# Addonics FlexPort multiport serial card
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# BOCA 6-port board (3x 16552)
53device  ioat: commulti
54attach  ioat at isa
55file    dev/isa/ioat66.c		ioat
56
57# MOXA 8-port board
58device  moxa: commulti
59attach	moxa at isa with moxa_isa
60file	dev/isa/moxa_isa.c		moxa
61
62#
63# Serial and parallel drivers
64#
65
66attach	com at isa with com_isa
67file	dev/isa/com_isa.c		com_isa
68
69attach	com at commulti with com_multi
70file	dev/isa/com_multi.c		com_multi
71
72# Cyclades Cyclom-8/16/32 
73attach	cy at isa with cy_isa
74file	dev/isa/cy_isa.c		cy_isa
75
76# PC-style parallel ports (XXX what chip?)
77# XXX chip driver should be defined elsewhere
78device	lpt
79file	dev/ic/lpt.c			lpt needs-flag
80
81# PC-style parallel ports: ISA bus attachment
82attach	lpt at isa with lpt_isa
83file	dev/isa/lpt_isa.c		lpt_isa
84
85#
86# SCSI host adapters
87#
88
89# AdvanSys 514x family
90# device declaration in sys/conf/files
91attach  adv at isa with adv_isa: isadma
92file    dev/isa/adv_isa.c               adv_isa
93
94# Adaptec AHA-154x family
95# device declaration in sys/conf/files
96attach	aha at isa with aha_isa: isadma
97file	dev/isa/aha_isa.c		aha_isa
98
99# Adaptec AIC-6[32]60 ICs
100# device declaration in sys/conf/files
101attach	aic at isa with aic_isa: isadma
102file	dev/isa/aic_isa.c		aic_isa
103
104# Qlogic ESP406/FAS408 boards
105# device declaration in sys/conf/files
106attach	esp at isa with esp_isa: isadma
107file	dev/isa/esp_isa.c		esp_isa
108
109# BusLogic BT-[45]4x ISA family
110# device declaration in sys/conf/files
111attach	bha at isa with bha_isa: isadma
112file	dev/isa/bha_isa.c		bha_isa
113
114# DPT SmartCache/SmartRAID III/IV ISA family
115# device declaration in sys/conf/files
116attach	dpt at isa with dpt_isa: isadma
117file	dev/isa/dpt_isa.c		dpt_isa
118
119# Seagate ST0[12] ICs
120device	sea: scsi, isadma
121attach	sea at isa
122file	dev/isa/seagate.c		sea
123
124# UltraStor UHA-[13]4f boards
125# device declaration in sys/conf/files
126attach	uha at isa with uha_isa: isadma
127file	dev/isa/uha_isa.c		uha_isa
128
129# Western Digital WD7000 and Future Domain TMC-7000 boards
130device	wds: scsi, isadma
131attach	wds at isa
132file	dev/isa/wds.c			wds
133
134#
135# Other ISA disk controllers
136#
137
138# Mitsumi CD-ROM controllers
139device	mcd: disk
140attach	mcd at isa
141file	dev/isa/mcd.c			mcd needs-flag
142defopt	MCD_PROMISC			# enable "promiscuous" match
143
144# Sony CDU-3[13]A CD-ROM drives
145device	scd: disk
146attach	scd at isa
147file	dev/isa/scd.c			scd needs-flag
148
149attach	wdc at isa with wdc_isa: isadma
150file    dev/isa/wdc_isa.c           	wdc_isa
151
152# Wangtek- and Archive-compatible tape controller boards
153device	wt: tape, isadma
154attach	wt at isa
155file	dev/isa/wt.c			wt needs-flag
156
157#
158# ISA networking drivers
159#
160
161# WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ
162# MUST be first: probe is non invasive, and registers are clobbered
163# by other drivers's probe
164device	we: ether, ifnet, arp, dp8390nic
165attach	we at isa
166file	dev/isa/if_we.c			we
167
168# 3Com common probe code
169define	elink
170file	dev/isa/elink.c			elink
171
172# 3Com 3C503
173device	ec: ether, ifnet, arp, dp8390nic
174attach	ec at isa
175file	dev/isa/if_ec.c			ec
176
177# 3Com 3C505
178device	eg: ether, ifnet, arp
179attach	eg at isa
180file	dev/isa/if_eg.c			eg
181
182# 3Com 3C501
183device	el: ether, ifnet, arp
184attach	el at isa
185file	dev/isa/if_el.c			el
186
187# 3Com 3C509 Ethernet controller
188# device declaration in sys/conf/files
189attach	ep at isa with ep_isa: elink
190file	dev/isa/if_ep_isa.c		ep_isa
191
192# SDL Communications N2 PCI Network Interface
193# device in sys/conf/files
194attach	ntwoc at isa with ntwoc_isa
195file	dev/isa/if_ntwoc_isa.c          ntwoc_isa
196
197
198# Allied Telesis MB8695-based boards
199# (Allied Telesis AT1700)
200device	ate: arp, ether, ifnet, mb86960
201attach	ate at isa
202file	dev/isa/if_ate.c		ate
203
204# Crystal Semiconductor CS8900, CS8920, and CS8920M Ethernet
205device	cs: arp, ether, ifnet, isadma
206file	dev/isa/cs89x0.c		cs
207
208attach	cs at isa with cs_isa
209file	dev/isa/if_cs_isa.c		cs_isa
210
211# Fujitsu MB86960-based boards
212# (Fujitsu FMV-180 series)
213device	fmv: arp, ether, ifnet, mb86960
214attach	fmv at isa
215file	dev/isa/if_fmv.c		fmv
216
217# HP Lan Ethernet controllers
218# XXX currently broken
219#device hp: ether, ifnet, arp
220#attach	hp at isa
221#file	dev/isa/if_hp.c			hp
222
223# Intel i82595-based boards.
224# (Intel EtherExpress PRO)
225device  iy: ether, ifnet, arp
226attach	iy at isa
227file    dev/isa/if_iy.c			iy
228
229# the probe routine of this "recognizes" the iy. Probe after it.
230# NCR 5380-based boards
231attach	nca at isa with nca_isa
232file	dev/isa/nca_isa.c		nca_isa
233
234# AMD am7990 (Lance) -based boards
235# (BICC Isolan, NE2100, DEPCA)
236# device declaration in sys/conf/files
237device nele {}
238attach nele at isa
239attach le at nele with le_nele: le24, isadma
240device bicc {}
241attach bicc at isa
242attach le at bicc with le_bicc: le24, isadma
243file	dev/isa/if_le_isa.c	nele | bicc
244attach	depca at isa with depca_isa
245file	dev/isa/depca_isa.c	depca
246
247# DEC EtherWORKS III (LEMAC-based: DE203, DE204, DE205) cards
248attach  lc at isa with lc_isa
249file    dev/isa/if_lc_isa.c		lc_isa
250
251# Novell NE1000, NE2000, and clones
252attach	ne at isa with ne_isa: rtl80x9
253file	dev/isa/if_ne_isa.c		ne_isa
254
255# SMC91Cxx Ethernet Controllers 
256attach	sm at isa with sm_isa
257file	dev/isa/if_sm_isa.c		sm_isa
258
259# 3Com 3C507
260device	ef: ether, ifnet, arp, elink, i82586
261attach	ef at isa
262file	dev/isa/if_ef.c		ef
263
264# AT&T StarLan boards
265device	ai: ether, ifnet, arp, i82586
266attach	ai at isa
267file	dev/isa/if_ai.c		ai
268
269# EtherExpress/16
270device	ix: ether, ifnet, arp, i82586
271attach	ix at isa
272file	dev/isa/if_ix.c		ix
273
274# TROPIC based Token-Ring (IBM/3COM)
275define	tr_isa
276file	dev/isa/if_tr_isa.c		tr_isa
277attach	tr at isa with tr_isa: tr_isa, elink
278file	dev/isa/if_tribm_isa.c		tr_isa
279file	dev/isa/if_trtcm_isa.c		tr_isa
280
281# ISA NCR/AT&T/Lucent WaveLAN (non-802.11) card
282attach	wl at isa with wl_isa: i82586, wavelan
283file	dev/isa/if_wl_isa.c		wl_isa
284
285#
286# ISA Sound hardware
287#
288
289# MPU401 MIDI UART compatibles
290attach	mpu at isa with mpu_isa
291file	dev/isa/mpu_isa.c		mpu_isa
292
293# the SoundBlaster DSP, or close likenesses; used by other drivers
294define	sbdsp { }
295file	dev/isa/sbdsp.c			sbdsp
296
297# SoundBlaster family
298device	sb: audio, isadma, sbdsp, mulaw, auconv, midibus
299file	dev/isa/sb.c			sb needs-flag
300
301attach	sb at isa with sb_isa
302file	dev/isa/sb_isa.c		sb_isa needs-flag
303
304attach	opl at sbdsp with opl_sb
305file	dev/isa/opl_sb.c		opl_sb
306
307attach	mpu at sbdsp with mpu_sb
308file	dev/isa/mpu_sb.c		mpu_sb
309
310# ProAudio Spectrum
311device	pas: audio, isadma, sbdsp, mulaw, auconv
312attach	pas at isa
313file	dev/isa/pas.c			pas needs-flag
314
315# AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers
316file	dev/isa/ad1848_isa.c		ad1848
317
318# ICS2101 mixer chip support; used by other drivers
319define	ics2101
320file	dev/isa/ics2101.c		ics2101
321
322
323# Audio systems based on Echo Speech Corp. ESC61[45] ASICs
324device	pss {[port = -1], [size = 0],
325	     [iomem = -1], [iosiz = 0],
326	     [irq = -1], [drq = -1]}
327attach	pss at isa
328device	sp: audio, isadma, ad1848, auconv
329attach	sp at pss
330file	dev/isa/pss.c			pss needs-flag
331
332# Microsoft Windows Sound System
333device	wss { } : audio, isadma, ad1848, auconv
334file	dev/isa/wss.c			wss needs-flag
335
336attach	wss at isa with wss_isa
337file	dev/isa/wss_isa.c		wss_isa needs-flag
338
339attach	opl at wss with opl_wss
340file	dev/isa/opl_wss.c		opl_wss
341
342# ESS Technology ES1887/ES888/ES1888
343device	ess { } : audio, isadma, mulaw, auconv, midibus
344file	dev/isa/ess.c			ess needs-flag
345
346attach	ess at isa with ess_isa
347file	dev/isa/ess_isa.c		ess_isa needs-flag
348
349attach	opl at ess with opl_ess
350file	dev/isa/opl_ess.c		opl_ess
351
352# Yamaha OPL2/OPL3 FM synth
353attach	opl at isa with opl_isa
354file	dev/isa/opl_isa.c		opl_isa
355
356# Yamaha OPL3-SA3
357device	ym { }: audio, isadma, ad1848, auconv
358file	dev/isa/ym.c			ym
359defopt	opt_ym.h	YM_POWER_MODE YM_POWER_OFF_SEC
360
361attach	opl at ym with opl_ym
362file	dev/isa/opl_ym.c		opl_ym
363
364attach	mpu at ym with mpu_ym
365file	dev/isa/mpu_ym.c		mpu_ym needs-flag
366
367# Gravis UltraSound & UltraSound MAX.
368# Use the "drq2" keyword in a config file to specify an extra DMA
369# channel for full-duplex operation. 
370device	gus: audio, isadma, ics2101, ad1848, mulaw, auconv
371attach	gus at isa
372file	dev/isa/gus.c			gus needs-flag
373
374# Sierra's Aria chipset.
375# (e.g. Prometheus Aria 16)
376device	aria: audio, mulaw, auconv
377attach	aria at isa
378file	dev/isa/aria.c			aria needs-flag
379
380# Creative Music System (CMS)
381device	cms: midibus
382attach	cms at isa
383file	dev/isa/cms.c			cms needs-flag
384
385#
386# PlanetConnect satellite receiver driver.
387#
388device satlink: isadma
389attach satlink at isa
390file dev/isa/satlink.c			satlink	needs-flag
391
392# ISA PC keyboard controller
393attach  pckbc at isa with pckbc_isa
394file    dev/isa/pckbc_isa.c		pckbc	needs-flag
395
396# generic ISA VGA
397attach	vga at isa with vga_isa
398file	dev/isa/vga_isa.c	vga_isa	needs-flag
399
400# generic EGA
401device ega: wsemuldisplaydev, pcdisplayops
402attach	ega at isa
403file	dev/isa/ega.c		ega	needs-flag
404
405# generic PC graphics adapter (MGA, CGA, ...)
406device pcdisplay: wsemuldisplaydev, pcdisplayops
407attach	pcdisplay at isa
408file	dev/isa/pcdisplay.c	pcdisplay	needs-flag
409
410# Middle Digital, Inc. PC-Weasel serial console board.
411# XXX This is a little gross... this is to conditionally compile
412# support for the PC-Weasel into the `pcdisplay' driver,
413# but we can't use an `option', because options can't have
414# attributes.
415defpseudo pcweasel: sysmon_wdog
416file dev/isa/weasel.c		pcweasel	needs-flag
417
418# PC PPI + TIMER 1 (speaker interface)
419device  pcppi {}
420attach  pcppi at isa
421file	dev/isa/pcppi.c	pcppi	needs-flag
422device spkr
423attach spkr at pcppi
424file	dev/isa/spkr.c		spkr	needs-flag
425attach midi at pcppi with midi_pcppi: midisyn
426file	dev/isa/midi_pcppi.c    midi_pcppi
427
428#
429# Environmental monitors
430#
431
432# LM78 temp/fanspeed monitor
433attach  lm at isa with lm_isa
434file    dev/isa/lm_isa.c	lm_isa
435
436# ISDN devices
437attach isic at isa with isic_isa
438file dev/isa/isic_isa.c			isic_isa
439attach daic at isa with daic_isa
440file dev/isa/daic_isa.c			daic_isa
441
442defopt	opt_isicisa.h	ISICISA_TEL_S0_8 ISICISA_TEL_S0_16 ISICISA_TEL_S0_16_3
443			ISICISA_AVM_A1 ISICISA_USR_STI ISICISA_ITKIX1
444
445file dev/isa/isic_isa_tel_s08.c		isic_isa
446file dev/isa/isic_isa_tel_s016.c	isic_isa
447file dev/isa/isic_isa_tel_s0163.c	isic_isa
448file dev/isa/isic_isa_avm_a1.c		isic_isa
449file dev/isa/isic_isa_usr_sti.c		isic_isa
450file dev/isa/isic_isa_itk_ix1.c		isic_isa
451
452#
453# ISA Plug 'n Play autoconfiguration glue.
454# THIS MUST COME AFTER ALL MI ISA DEVICES ARE DEFINED.  This is because
455# ISA PnP devices often use `device' declarations listed in this file.
456#
457include "dev/isapnp/files.isapnp"
458
459