xref: /openbsd-src/sys/dev/pci/files.pci (revision 11efff7f3ac2b3cfeff0c0cddc14294d9b3aca4f)
1#	$OpenBSD: files.pci,v 1.168 2004/12/19 16:06:23 deraadt 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
25file	dev/ic/ibm561.c			tga
26
27attach	sti at pci with sti_pci
28file	dev/pci/sti_pci.c		sti_pci
29
30# Cypress 82c693 hyperCache(tm) Stand-Alone PCI Peripheral Controller
31# with USB.  This is a combo chip:
32#
33#	PCI-ISA bridge
34#	PCI IDE controller
35#	OHCI USB controller
36#
37# There are some common subroutines that each function needs.
38define	cy82c693
39file	dev/pci/cy82c693.c		cy82c693
40
41# Adaptec 3940, 2940, and aic78[5678]0 SCSI controllers
42# device declaration in sys/conf/files
43attach	ahc at pci with ahc_pci
44file	dev/pci/ahc_pci.c		ahc_pci
45
46# Adaptec U320 SCSI controllers
47attach	ahd at pci with ahd_pci
48file	dev/pci/ahd_pci.c		ahd_pci
49
50# DPT EATA SCSI controllers
51attach	dpt at pci with dpt_pci
52file	dev/pci/dpt_pci.c		dpt_pci
53
54# AdvanSys 1200A, 1200B, and ULTRA SCSI controllers
55# device declaration in sys/conf/files
56attach	adv at pci with adv_pci
57file	dev/pci/adv_pci.c		adv_pci
58file	dev/ic/advlib.c			adv_pci
59file	dev/ic/advmcode.c		adv_pci
60
61# AdvanSys ULTRA WIDE SCSI controllers
62# device declaration in sys/conf/files
63attach	adw at pci with adw_pci
64file	dev/pci/adw_pci.c		adw_pci
65file	dev/ic/adwlib.c			adw_pci
66file	dev/microcode/adw/adwmcode.c	adw_pci
67
68# BusLogic BT-9xx PCI family
69attach	bha at pci with bha_pci
70file	dev/pci/bha_pci.c		bha_pci
71
72# 3ware 5x000/6x000 RAID controllers
73attach	twe at pci with twe_pci
74file	dev/pci/twe_pci.c		twe_pci
75
76# AMI MegaRAID Express x00/Elite 1500/Express 1x00 RAID Controllers
77attach	ami at pci with ami_pci
78file	dev/pci/ami_pci.c		ami_pci
79
80# I2O
81attach	iop at pci with iop_pci
82file	dev/pci/iop_pci.c		iop_pci
83
84# Ensoniq AudioPCI S5016, 1371
85device	eap: audio, auconv, mulaw, ac97, midibus
86attach	eap at pci
87file	dev/pci/eap.c			eap
88
89# ESS Solo-1 PCI AudioDrive
90device	eso { }: audio, auconv, mulaw, midibus
91attach	eso at pci
92file	dev/pci/eso.c			eso
93
94attach	opl at eso with opl_eso
95file	dev/pci/opl_eso.c		opl_eso
96
97# Intel 810/820/440MX ICH audio with AC'97
98device	auich: audio, auconv, mulaw, ac97
99attach	auich at pci
100file	dev/pci/auich.c			auich
101
102# Creative Labs EMU10k1 (SBLive! series and PCI512)
103device	emu: audio, auconv, mulaw, ac97
104attach	emu at pci
105file	dev/pci/emuxki.c		emu
106
107# Trident 4DWAVE based PCI audio (including SiS 7018, ALi M5451)
108device	autri: audio, auconv, mulaw, ac97, midibus
109attach	autri at pci
110file	dev/pci/autri.c			autri
111
112# CS4280 CrystalClear Audio
113device	clcs: audio, auconv, mulaw, ac97, firmload
114attach	clcs at pci
115file	dev/pci/cs4280.c		clcs
116
117# CS4281 CrystalClear Audio
118device	clct: audio, auconv, mulaw, ac97
119attach	clct at pci
120file	dev/pci/cs4281.c		clct
121
122# ESS Maestro
123device	maestro: audio, auconv, mulaw, ac97
124attach	maestro at pci
125file	dev/pci/maestro.c		maestro
126
127# ESS Maestro3
128device	esa: audio, auconv, mulaw, ac97
129attach	esa at pci
130file	dev/pci/esa.c		esa
131
132# Yamaha YMF Audio
133device	yds { }: audio, auconv, mulaw, ac97, firmload
134attach	yds at pci
135file	dev/pci/yds.c			yds
136
137attach	opl at yds with opl_yds
138file	dev/pci/opl_yds.c		opl_yds
139
140# Forte Media FM801
141device	fms: audio, auconv, mulaw, ac97, midibus, tea5757, radiobus
142attach	fms at pci
143file	dev/pci/fms.c			fms
144file	dev/pci/fmsradio.c		fms & radio
145
146# VIA VT82C686A AC'97 Audio
147device	auvia: audio, auconv, mulaw, ac97
148attach	auvia at pci
149file	dev/pci/auvia.c			auvia
150
151# ICP Vortex GDT PCI RAID controllers
152# device declaration in sys/conf/files
153attach	gdt at pci with gdt_pci
154file	dev/pci/gdt_pci.c		gdt_pci
155
156# Adaptec FSA (file system accelerators) RAID adapters
157device	aac: scsi
158attach	aac at pci with aac_pci
159file	dev/pci/aac_pci.c		aac_pci
160file	dev/ic/aac.c			aac
161
162# Compaq Array Controllers
163attach	cac at pci with cac_pci
164file	dev/pci/cac_pci.c		cac_pci
165
166# Qlogic ISP 10x0 (PCI) family
167# device declaration in sys/conf/files
168attach	isp at pci with isp_pci
169file	dev/pci/isp_pci.c		isp_pci
170
171# LSILogic Fusion-MPT I/O Processor SCSI/FC family
172attach	mpt at pci with mpt_pci
173file	dev/pci/mpt_pci.c		mpt_pci
174
175# Ethernet driver for DC21040-based boards
176device	de: ether, ifnet, ifmedia
177attach	de at pci
178file	dev/pci/if_de.c			de
179
180# ENI ATM driver
181device	en: atm, ifnet
182attach	en at pci with en_pci
183file	dev/pci/if_en_pci.c		en
184file	dev/ic/midway.c			en
185
186# 3Com 3c590 and 3c595 Ethernet controllers
187# device declaration in sys/conf/files
188attach	ep at pci with ep_pci
189file	dev/pci/if_ep_pci.c		ep_pci
190
191# Digital DEFPA PCI FDDI Controller
192device	fpa: pdq, fddi, ifnet
193attach	fpa at pci
194file	dev/pci/if_fpa.c		fpa
195
196# AMD am7990 (LANCE) -based Ethernet controllers
197# device declaration in sys/conf/files
198attach	le at pci with le_pci
199file	dev/pci/if_le_pci.c		le_pci
200
201# NCR 53c8xx SCSI chips
202device	ncr: scsi
203attach	ncr at pci
204file	dev/pci/ncr.c			ncr
205
206# common code for siop/esiop pci front end
207define siop_pci_common
208file	dev/pci/siop_pci_common.c	siop_pci_common
209
210# Symbios 53c8xx SCSI chips
211# device declaration in sys/conf/files
212attach	siop at pci with siop_pci: siop_pci_common
213file	dev/pci/siop_pci.c	siop_pci
214
215# NeoMagic 256AV and 256ZX
216device	neo: audio, auconv, mulaw, ac97, firmload
217attach	neo at pci
218file	dev/pci/neo.c			neo
219
220# PCI IDE controllers
221device	pciide {[channel = -1]}: cy82c693, wdc_base, ata, atapi
222attach	pciide at pci
223file	dev/pci/pciide.c		pciide
224
225# PCI-PCI bridge chips
226device	ppb: pcibus
227attach	ppb at pci
228file	dev/pci/ppb.c			ppb
229
230# Cyclades Cyclom-8/16/32
231attach	cy at pci with cy_pci
232file	dev/pci/cy_pci.c		cy_pci
233
234# Lan Media Corporation T1/HSSI/DS3 adapter
235device	lmc: ifnet, sppp, ifmedia
236attach	lmc at pci
237file	dev/pci/if_lmc.c		lmc
238file	dev/pci/if_lmc_common.c		lmc
239file	dev/pci/if_lmc_media.c		lmc
240file	dev/pci/if_lmc_obsd.c		lmc
241
242# Myson Century MTD800/MTD803/MTD891
243attach	mtd at pci with mtd_pci
244file	dev/pci/if_mtd_pci.c		mtd_pci
245
246# RealTek 8129/8139
247attach	rl at pci with rl_pci
248file	dev/pci/if_rl_pci.c		rl_pci
249
250# Macronix
251device	mx: ether, ifnet, ifmedia
252attach	mx at pci
253file	dev/pci/if_mx.c			mx
254
255# Via Rhine
256device	vr: ether, ifnet, mii, ifmedia
257attach	vr at pci
258file	dev/pci/if_vr.c			vr
259
260# Texas Instruments ThunderLAN
261device	tl: ether, ifnet, mii, ifmedia
262attach	tl at pci
263file	dev/pci/if_tl.c			tl
264
265# 3Com 3c990
266device	txp: ether, ifnet, ifmedia, firmload
267attach	txp at pci
268file	dev/pci/if_txp.c		txp
269
270# S3 SonicVibes (S3 617)
271device	sv: audio, auconv, mulaw
272attach	sv at pci
273file	dev/pci/sv.c			sv
274
275# Brooktree Bt848 video capture
276device	bktr: pcibus, radiobus
277attach	bktr at pci
278file	dev/pci/bktr/bktr_audio.c	bktr	needs-count
279file	dev/pci/bktr/bktr_card.c	bktr
280file	dev/pci/bktr/bktr_core.c	bktr
281file	dev/pci/bktr/bktr_os.c		bktr
282file	dev/pci/bktr/bktr_tuner.c	bktr
283
284# 3C90x
285attach	xl at pci with xl_pci
286file	dev/pci/if_xl_pci.c		xl_pci
287
288# Intel EtherExpress PRO 10/100B
289attach	fxp at pci with fxp_pci
290file	dev/pci/if_fxp_pci.c		fxp_pci
291
292# Intel Pro/1000
293device	em: ether, ifnet, ifmedia
294attach	em at pci
295file	dev/pci/if_em.c			em
296file	dev/pci/if_em_hw.c		em
297
298# DEC/Intel 21143 and "tulip" clone ethernet
299attach	dc at pci with dc_pci
300file	dev/pci/if_dc_pci.c		dc_pci
301
302# SMC EPIC, 83c170
303device	tx: ether, ifnet, mii, ifmedia
304attach	tx at pci
305file	dev/pci/if_tx.c			tx
306
307# Alteon Tigon I & II
308device	ti: ether, ifnet, ifmedia, firmload
309attach	ti at pci
310file	dev/pci/if_ti.c			ti
311
312# NE2000-compatible PCI Ethernet cards
313attach	ne at pci with ne_pci: rtl80x9
314file	dev/pci/if_ne_pci.c		ne_pci
315
316# Sun GEM ethernet
317attach	gem at pci with gem_pci
318file	dev/pci/if_gem_pci.c		gem_pci
319
320# Hi/fn 6500
321device	lofn: crypto
322attach	lofn at pci
323file	dev/pci/lofn.c			lofn
324
325# Hi/fn 7751/7811/7951
326device	hifn: crypto
327attach	hifn at pci
328file	dev/pci/hifn7751.c		hifn
329
330# Hi/fn 7814/7851/7854
331device	nofn: crypto
332attach	nofn at pci
333file	dev/pci/nofn.c			nofn
334
335# Bluesteelnet (Broadcom) 5501/5601
336device	ubsec: crypto
337attach	ubsec at pci
338file	dev/pci/ubsec.c			ubsec
339
340# Netoctave NSP2000
341device	noct: crypto
342attach	noct at pci
343file	dev/pci/noct.c			noct
344
345# Pijnenburg PCC-ISES
346device	ises: crypto
347attach	ises at pci
348file	dev/pci/ises.c			ises
349
350# Safenet SafeXcel 1141
351device	safe: crypto
352attach	safe at pci
353file	dev/pci/safe.c			safe
354
355# Winbond W89C840F ethernet
356device	wb: ether, ifnet, mii, ifmedia, mii_phy
357attach	wb at pci
358file	dev/pci/if_wb.c			wb
359
360# Adaptec AIC-6915 "Starfire" ethernet
361device	sf: ether, ifnet, mii, ifmedia
362attach	sf at pci
363file	dev/pci/if_sf.c			sf
364
365# SiS 900/7016 ethernet
366device	sis: ether, ifnet, mii, ifmedia
367attach	sis at pci
368file	dev/pci/if_sis.c		sis
369
370# Sundance ST201 ethernet
371device	ste: ether, ifnet, mii, ifmedia
372attach	ste at pci
373file	dev/pci/if_ste.c		ste
374
375# Industrial Computer Source WDT-50x
376device	wdt: pcibus
377attach	wdt at pci
378file	dev/pci/wdt.c			wdt	needs-flag
379
380# UHCI USB controller
381attach	uhci at pci with uhci_pci
382file	dev/pci/uhci_pci.c		uhci
383
384# OHCI USB controller
385attach	ohci at pci with ohci_pci
386file	dev/pci/ohci_pci.c		ohci
387
388# EHCI USB controller
389attach	ehci at pci with ehci_pci
390file	dev/pci/ehci_pci.c		ehci
391file	dev/pci/usb_pci.c		ehci | uhci | ohci
392
393# YENTA PCI-CardBus bridge
394#device	cbb: cbbus, pcmciabus
395device	cbb: pcmciaslot
396attach	cbb at pci with cbb_pci
397file	dev/pci/pccbb.c			cbb
398
399# SysKonnect 984x gigabit ethernet
400device	skc {}
401attach	skc at pci
402device	sk: ether, ifnet, mii, ifmedia
403attach	sk at skc
404file	dev/pci/if_sk.c			skc | sk
405
406# PCI "universal" communication device driver, for PCI com, lpt, etc. ports
407# (see documentation in the driver for what, exactly, should be supported)
408device	puc {[port = -1]}
409attach	puc at pci
410file	dev/pci/puc.c			puc
411file	dev/pci/pucdata.c		puc
412
413# WaveLAN/PrismII card behind a PLX 805x dumb bridge
414# device declaration in sys/conf/files
415attach	wi at pci with wi_pci
416file	dev/pci/if_wi_pci.c		wi_pci
417
418# Aironet 4500/4800 802.11 DS WLAN
419# device declaration in sys/conf/files
420attach	an at pci with an_pci
421file	dev/pci/if_an_pci.c		an_pci
422
423# Intel PRO/Wireless 2100
424device  ipw: ifnet, wlan, firmload
425attach  ipw at pci
426file    dev/pci/if_ipw.c                ipw
427
428# Intel PRO/Wireless 2200BG/2915ABG
429device	iwi: ifnet, wlan, firmload
430attach	iwi at pci
431file	dev/pci/if_iwi.c		iwi
432
433# C-Media CMI8x38 Audio Chip
434device	cmpci: audio, auconv, mulaw
435attach	cmpci at pci
436file	dev/pci/cmpci.c			cmpci
437
438# Initio ULTRA WIDE/ULTRA2 WIDE SCSI Controllers
439attach	iha at pci with iha_pci
440file	dev/pci/iha_pci.c		iha_pci
441
442# Tekram TRM-S1040 SCSI Cards (DC395U/UW/F,DC315/U)
443attach	trm at pci with trm_pci
444file	dev/pci/trm_pci.c		trm_pci
445
446# AMD Am53c974 PCscsi-PCI SCSI controllers
447device	pcscp: scsi, ncr53c9x
448attach	pcscp at pci
449file	dev/pci/pcscp.c			pcscp
450
451# Gemtek/Guillemot PCI Radio Card
452device	gtp: tea5757, radiobus
453attach	gtp at pci
454file	dev/pci/gtp.c			gtp
455
456# National Semiconductor DP83820/DP83821 based GigE
457device	nge: ether, ifnet, mii, ifmedia, mii_phy
458attach	nge at pci
459file	dev/pci/if_nge.c		nge
460
461# Cyclades-Z series of intelligent multi-port serial adapters
462device	cz
463attach	cz at pci
464file	dev/pci/cz.c			cz		needs-flag
465
466# Level-1 LXT1001 Gigabit MAC
467device	lge: ether, ifnet, mii, ifmedia, mii_phy
468attach	lge at pci
469file	dev/pci/if_lge.c		lge
470
471# Broadcom BCM570x gigabit ethernet
472device	bge: ether, ifnet, mii, ifmedia, mii_phy
473attach	bge at pci
474file	dev/pci/if_bge.c		bge
475
476# Realtek 8139C+/8169/8169S/8110S
477device	re: ether, ifnet, mii, ifmedia, mii_phy
478attach	re at pci
479file	dev/pci/if_re.c			re
480
481# VIA VT6122
482device	vge: ether, ifnet, mii, ifmedia, mii_phy
483attach	vge at pci
484file	dev/pci/if_vge.c		vge
485
486# Sundance Tech./Tamarack TC9021 Gigabit Ethernet
487device	stge: ether, ifnet, mii, ifmedia, mii_phy, mii_bitbang
488attach	stge at pci
489file	dev/pci/if_stge.c		stge
490
491# AMD 768MPX power management controller
492device	amdpm {}
493attach	amdpm at pci
494file	dev/pci/amdpm.c			amdpm
495
496# VIA VT82C686A hardware monitor
497device	viaenv
498attach	viaenv at pci
499file	dev/pci/viaenv.c		viaenv
500
501# OHCI IEEE 1394 controller
502attach	fwohci at pci with fwohci_pci
503file	dev/pci/fwohci_pci.c		fwohci_pci
504
505# IEEE 1394 TI "Lynx" controller
506attach	fwlynx at pci with fwlynx_pci
507file	dev/pci/fwlynx_pci.c		fwlynx_pci
508
509# Broadcom BCM4401 gigabit ethernet
510device	bce: ether, ifnet, mii, ifmedia, mii_phy
511attach	bce at pci
512file	dev/pci/if_bce.c		bce
513
514# Atheros AR5k (802.11a/b/g) PCI/Mini-PCI
515attach	ath at pci with ath_pci
516file	dev/pci/if_ath_pci.c		ath_pci
517
518# ADMtek ADM8211 PCI/Mini-PCI
519attach	atw at pci with atw_pci
520file	dev/pci/if_atw_pci.c		atw_pci
521
522# Sangoma PCI card
523device	san: ifnet, ifmedia
524attach	san at pci
525file dev/pci/if_sandrv.c 	san
526file dev/pci/if_san_common.c 	san
527file dev/pci/if_san_obsd.c 	san
528file dev/pci/if_san_te1.c 	san
529file dev/pci/if_san_xilinx.c 	san
530
531# PIIX4 power management controller
532device	piixpm {}
533attach	piixpm at pci
534file	dev/pci/piixpm.c		piixpm
535