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