xref: /openbsd-src/sys/dev/pci/files.pci (revision 3a3fbb3f2e2521ab7c4a56b7ff7462ebd9095ec5)
1#	$OpenBSD: files.pci,v 1.122 2001/12/05 10:34:44 mickey Exp $
2#	$NetBSD: files.pci,v 1.20 1996/09/24 17:47:15 christos Exp $
3#
4# Config file and device description for machine-independent PCI code.
5# Included by ports that need it.  Requires that the SCSI files be
6# defined first.
7
8device	pci {[dev = -1], [function = -1]}
9attach	pci at pcibus
10file	dev/pci/pci.c			pci needs-flag
11file	dev/pci/pci_map.c		pci
12file	dev/pci/pci_quirks.c		pci
13file	dev/pci/pci_subr.c		pci
14
15# Generic VGA
16attach	vga at pci with vga_pci
17file	dev/pci/vga_pci.c		vga_pci
18
19device	tga: wsemuldisplaydev, rasops8, rasops32
20attach	tga at pci
21file	dev/pci/tga.c			tga		needs-flag
22file	dev/pci/tga_conf.c		tga
23file	dev/ic/bt463.c			tga
24file	dev/ic/bt485.c			tga
25
26# Cypress 82c693 hyperCache(tm) Stand-Alone PCI Peripheral Controller
27# with USB.  This is a combo chip:
28#
29#	PCI-ISA bridge
30#	PCI IDE controller
31#	OHCI USB controller
32#
33# There are some common subroutines that each function needs.
34define	cy82c693
35file	dev/pci/cy82c693.c		cy82c693
36
37# Adaptec 3940, 2940, and aic78[5678]0 SCSI controllers
38# device declaration in sys/conf/files
39attach	ahc at pci with ahc_pci
40file	dev/pci/ahc_pci.c		ahc_pci
41
42# DPT EATA SCSI controllers
43attach	dpt at pci with dpt_pci
44file	dev/pci/dpt_pci.c		dpt_pci
45
46# AdvanSys 1200A, 1200B, and ULTRA SCSI controllers
47# device declaration in sys/conf/files
48attach	adv at pci with adv_pci
49file	dev/pci/adv_pci.c		adv_pci
50file	dev/ic/advlib.c			adv_pci
51file	dev/ic/advmcode.c		adv_pci
52
53# AdvanSys ULTRA WIDE SCSI controllers
54# device declaration in sys/conf/files
55attach	adw at pci with adw_pci
56file	dev/pci/adw_pci.c		adw_pci
57file	dev/ic/adwlib.c			adw_pci
58file	dev/microcode/adw/adwmcode.c	adw_pci
59
60# BusLogic BT-9xx PCI family
61# device declaration in sys/dev/isa/files.isa
62attach	bha at pci with bha_pci
63file	dev/pci/bha_pci.c		bha_pci
64
65# 3ware 5x000/6x000 RAID controllers
66attach	twe at pci with twe_pci
67file	dev/pci/twe_pci.c		twe_pci
68
69# AMI MegaRAID Express x00/Elite 1500/Express 1x00 RAID Controllers
70attach	ami at pci with ami_pci
71file	dev/pci/ami_pci.c		ami_pci
72
73# I2O
74attach	iop at pci with iop_pci
75file	dev/pci/iop_pci.c		iop_pci
76
77# Ensoniq AudioPCI S5016, 1371
78device	eap: audio, auconv, mulaw, ac97
79attach	eap at pci
80file	dev/pci/eap.c			eap
81
82# ESS Solo-1 PCI AudioDrive
83device	eso { }: audio, auconv, mulaw, midibus
84attach	eso at pci
85file	dev/pci/eso.c			eso
86
87attach	opl at eso with opl_eso
88file	dev/pci/opl_eso.c		opl_eso
89
90# Intel 810/820/440MX ICH audio with AC'97
91device	auich: audio, auconv, mulaw, ac97
92attach	auich at pci
93file	dev/pci/auich.c			auich
94
95# Creative Labs EMU10k1 (SBLive! series and PCI512)
96device	emu: audio, auconv, mulaw, ac97
97attach	emu at pci
98file	dev/pci/emuxki.c		emu
99
100# Trident 4DWAVE based PCI audio (including SiS 7018, ALi M5451)
101device	autri: audio, auconv, mulaw, ac97, midibus
102attach	autri at pci
103file	dev/pci/autri.c			autri
104
105# CS4280 CrystalClear Audio
106device	clcs: audio, auconv, mulaw, ac97
107attach	clcs at pci
108file	dev/pci/cs4280.c		clcs
109
110# CS4281 CrystalClear Audio
111device	clct: audio, auconv, mulaw, ac97
112attach	clct at pci
113file	dev/pci/cs4281.c		clct
114
115# ESS Maestro
116device	maestro: audio, auconv, mulaw, ac97
117attach	maestro at pci
118file	dev/pci/maestro.c		maestro
119
120# Yamaha YMF Audio
121device	yds { }: audio, auconv, mulaw, ac97
122attach	yds at pci
123file	dev/pci/yds.c			yds
124
125attach	opl at yds with opl_yds
126file	dev/pci/opl_yds.c		opl_yds
127
128# Forte Media FM801
129device	fms: audio, auconv, mulaw, ac97, midibus
130attach	fms at pci
131file	dev/pci/fms.c			fms
132
133# VIA VT82C686A AC'97 Audio
134device	auvia: audio, auconv, mulaw, ac97
135attach	auvia at pci
136file	dev/pci/auvia.c			auvia
137
138# ICP Vortex GDT PCI RAID controllers
139# device declaration in sys/conf/files
140attach	gdt at pci with gdt_pci
141file	dev/pci/gdt_pci.c		gdt_pci
142
143# Adaptec FSA (file system accelerators) RAID adapters
144device	aac: scsi
145attach	aac at pci with aac_pci
146file	dev/pci/aac_pci.c		aac_pci
147file	dev/ic/aac.c			aac
148
149# Compaq Array Controllers
150attach	cac at pci with cac_pci
151file	dev/pci/cac_pci.c		cac_pci
152
153# Qlogic ISP 10x0 (PCI) family
154# device declaration in sys/conf/files
155attach	isp at pci with isp_pci
156file	dev/pci/isp_pci.c		isp_pci
157
158# Ethernet driver for DC21040-based boards
159device	de: ether, ifnet, ifmedia
160attach	de at pci
161file	dev/pci/if_de.c			de
162
163# ENI ATM driver
164device	en: atm, ifnet
165attach	en at pci with en_pci
166file	dev/pci/if_en_pci.c		en
167file	dev/ic/midway.c			en
168
169# 3Com 3c590 and 3c595 Ethernet controllers
170# device declaration in sys/conf/files
171attach	ep at pci with ep_pci
172file	dev/pci/if_ep_pci.c		ep_pci
173
174# Digital DEFPA PCI FDDI Controller
175device	fpa: pdq, fddi, ifnet
176attach	fpa at pci
177file	dev/pci/if_fpa.c		fpa
178
179# AMD am7990 (LANCE) -based Ethernet controllers
180# device declaration in sys/conf/files
181attach	le at pci with le_pci
182file	dev/pci/if_le_pci.c		le_pci
183
184# NCR 53c8xx SCSI chips
185device	ncr: scsi
186attach	ncr at pci
187file	dev/pci/ncr.c			ncr
188
189# common code for siop/esiop pci front end
190define siop_pci_common
191file	dev/pci/siop_pci_common.c	siop_pci_common
192
193# Symbios 53c8xx SCSI chips
194# device declaration in sys/conf/files
195attach	siop at pci with siop_pci: siop_pci_common
196file	dev/pci/siop_pci.c	siop_pci
197
198# NeoMagic 256AV and 256ZX
199device	neo: audio, auconv, mulaw, ac97
200attach	neo at pci
201file	dev/pci/neo.c			neo
202
203# PCI IDE controllers
204device	pciide {[channel = -1]}: cy82c693, wdc_base, ata, atapi
205attach	pciide at pci
206file	dev/pci/pciide.c		pciide
207
208# PCI-PCI bridge chips
209device	ppb: pcibus
210attach	ppb at pci
211file	dev/pci/ppb.c			ppb
212
213# Cyclades Cyclom-8/16/32
214attach	cy at pci with cy_pci
215file	dev/pci/cy_pci.c		cy_pci
216
217# Lan Media Corporation T1/HSSI/DS3 adapter
218device	lmc: ifnet, sppp, ifmedia
219attach	lmc at pci
220file	dev/pci/if_lmc.c		lmc
221file	dev/pci/if_lmc_common.c		lmc
222file	dev/pci/if_lmc_media.c		lmc
223file	dev/pci/if_lmc_obsd.c		lmc
224
225# RealTek 8129/8139
226attach	rl at pci with rl_pci
227file	dev/pci/if_rl_pci.c		rl_pci
228
229# Macronix
230device	mx: ether, ifnet, ifmedia
231attach	mx at pci
232file	dev/pci/if_mx.c			mx
233
234# Via Rhine
235device	vr: ether, ifnet, mii, ifmedia
236attach	vr at pci
237file	dev/pci/if_vr.c			vr
238
239# Texas Instruments ThunderLAN
240device	tl: ether, ifnet, mii, ifmedia
241attach	tl at pci
242file	dev/pci/if_tl.c			tl
243
244# 3Com 3c990
245device	txp: ether, ifnet, ifmedia
246attach	txp at pci
247file	dev/pci/if_txp.c		txp
248
249# S3 SonicVibes (S3 617)
250device	sv: audio, auconv, mulaw
251attach	sv at pci
252file	dev/pci/sv.c			sv
253
254# Brooktree Bt848 video capture
255device	bktr: pcibus
256attach	bktr at pci
257file	dev/pci/bktr/bktr_audio.c	bktr	needs-count
258file	dev/pci/bktr/bktr_card.c	bktr
259file	dev/pci/bktr/bktr_core.c	bktr
260file	dev/pci/bktr/bktr_os.c		bktr
261file	dev/pci/bktr/bktr_tuner.c	bktr
262
263# 3C90x
264attach	xl at pci with xl_pci
265file	dev/pci/if_xl_pci.c		xl_pci
266
267# Intel EtherExpress PRO 10/100B
268attach	fxp at pci with fxp_pci
269file	dev/pci/if_fxp_pci.c		fxp_pci
270
271# DEC/Intel 21143 and "tulip" clone ethernet
272attach	dc at pci with dc_pci
273file	dev/pci/if_dc_pci.c		dc_pci
274
275# SMC EPIC, 83c170
276device	tx: ether, ifnet, mii, ifmedia
277attach	tx at pci
278file	dev/pci/if_tx.c			tx
279
280# Alteon Tigon I & II
281device	ti: ether, ifnet, ifmedia
282attach	ti at pci
283file	dev/pci/if_ti.c			ti
284
285# NE2000-compatible PCI Ethernet cards
286attach	ne at pci with ne_pci: rtl80x9
287file	dev/pci/if_ne_pci.c		ne_pci
288
289# Sun GEM ethernet
290attach	gem at pci with gem_pci
291file	dev/pci/if_gem_pci.c		gem_pci
292
293# Hi/fn 6500
294device	lofn: crypto
295attach	lofn at pci
296file	dev/pci/lofn.c			lofn
297
298# Hi/fn 7751
299device	hifn: crypto
300attach	hifn at pci
301file	dev/pci/hifn7751.c		hifn
302
303# Bluesteelnet (Broadcom) 5501/5601
304device	ubsec: crypto
305attach	ubsec at pci
306file	dev/pci/ubsec.c			ubsec
307
308# Pijnenburg PCC-ISES
309device	ises: crypto
310attach	ises at pci
311file	dev/pci/ises.c			ises
312
313# Winbond W89C840F ethernet
314device	wb: ether, ifnet, mii, ifmedia, mii_phy
315attach	wb at pci
316file	dev/pci/if_wb.c			wb
317
318# Adaptec AIC-6915 "Starfire" ethernet
319device	sf: ether, ifnet, mii, ifmedia
320attach	sf at pci
321file	dev/pci/if_sf.c			sf
322
323# SiS 900/7016 ethernet
324device	sis: ether, ifnet, mii, ifmedia
325attach	sis at pci
326file	dev/pci/if_sis.c		sis
327
328# Sundance ST201 ethernet
329device	ste: ether, ifnet, mii, ifmedia
330attach	ste at pci
331file	dev/pci/if_ste.c		ste
332
333# Industrial Computer Source WDT-50x
334device	wdt: pcibus
335attach	wdt at pci
336file	dev/pci/wdt.c			wdt	needs-flag
337
338# UHCI USB controller
339attach	uhci at pci with uhci_pci
340file	dev/pci/uhci_pci.c		uhci
341
342# OHCI USB controller
343attach	ohci at pci with ohci_pci
344file	dev/pci/ohci_pci.c		ohci
345
346# YENTA PCI-CardBus bridge
347#device	cbb: cbbus, pcmciabus
348device	cbb: pcmciaslot
349attach	cbb at pci with cbb_pci
350file	dev/pci/pccbb.c			cbb
351
352# SysKonnect 984x gigabit ethernet
353device	skc {}
354attach	skc at pci
355device	sk: ether, ifnet, mii, ifmedia
356attach	sk at skc
357file	dev/pci/if_sk.c			skc | sk
358
359# Intel 82452 (Pro/1000 gigabit server adapter)
360device wx: ether, ifnet, mii, ifmedia, mii_phy
361attach wx at pci
362file	dev/pci/if_wx.c			wx
363
364# PCI "universal" communication device driver, for PCI com, lpt, etc. ports
365# (see documentation in the driver for what, exactly, should be supported)
366device	puc { port = -1 }
367attach	puc at pci
368file	dev/pci/puc.c			puc
369file	dev/pci/pucdata.c		puc
370
371# WaveLAN/PrismII card behind a PLX 805x dumb bridge
372# device declaration in sys/conf/files
373attach	wi at pci with wi_pci
374file	dev/pci/if_wi_pci.c		wi_pci
375
376# Aironet 4500/4800 802.11 DS WLAN
377# device declaration in sys/conf/files
378attach	an at pci with an_pci
379file	dev/pci/if_an_pci.c		an_pci
380
381# C-Media CMI8x38 Audio Chip
382device	cmpci: audio, auconv, mulaw
383attach	cmpci at pci
384file	dev/pci/cmpci.c			cmpci
385
386# Initio ULTRA WIDE/ULTRA2 WIDE SCSI Controllers
387attach	iha at pci with iha_pci
388file	dev/pci/iha_pci.c		iha_pci
389
390# AMD Am53c974 PCscsi-PCI SCSI controllers
391device	pcscp: scsi, ncr53c9x
392attach	pcscp at pci
393file	dev/pci/pcscp.c			pcscp
394
395# Guillemot Maxi Radio FM 2000 Radio Card
396device	mr: radio
397attach	mr at pci
398file	dev/pci/maxiradio.c		mr
399
400# MediaForte SoundForte SF64-PCR Radio card
401device	sf4r: radio, tea5757
402attach	sf4r at pci
403file	dev/pci/sf64pcr.c		sf4r
404
405# National Semiconductor DP83820/DP83821 based GigE
406device	nge: ether, ifnet, mii, ifmedia, mii_phy
407attach	nge at pci
408file	dev/pci/if_nge.c		nge
409
410# Cyclades-Z series of intelligent multi-port serial adapters
411device	cz
412attach	cz at pci
413file	dev/pci/cz.c			cz		needs-flag
414
415# Level-1 LXT1001 Gigabit MAC
416device	lge: ether, ifnet, mii, ifmedia, mii_phy
417attach	lge at pci
418file	dev/pci/if_lge.c		lge
419
420# Broadcom BCM570x gigabit ethernet
421device	bge: ether, ifnet, mii, ifmedia, mii_phy
422attach	bge at pci
423file	dev/pci/if_bge.c		bge
424
425# Sundance Tech./Tamarack TC9021 Gigabit Ethernet
426device	stge: ether, ifnet, mii, ifmedia, mii_phy, mii_bitbang
427attach	stge at pci
428file	dev/pci/if_stge.c		stge
429