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