xref: /openbsd-src/sys/dev/pci/files.pci (revision 47911bd667ac77dc523b8a13ef40b012dbffa741)
1#	$OpenBSD: files.pci,v 1.144 2002/11/19 02:20:51 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
27# Cypress 82c693 hyperCache(tm) Stand-Alone PCI Peripheral Controller
28# with USB.  This is a combo chip:
29#
30#	PCI-ISA bridge
31#	PCI IDE controller
32#	OHCI USB controller
33#
34# There are some common subroutines that each function needs.
35define	cy82c693
36file	dev/pci/cy82c693.c		cy82c693
37
38# Adaptec 3940, 2940, and aic78[5678]0 SCSI controllers
39# device declaration in sys/conf/files
40attach	ahc at pci with ahc_pci
41file	dev/pci/ahc_pci.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
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# ESS Maestro3
121device	esa: audio, auconv, mulaw, ac97
122attach	esa at pci
123file	dev/pci/esa.c		esa
124
125# Yamaha YMF Audio
126device	yds { }: audio, auconv, mulaw, ac97
127attach	yds at pci
128file	dev/pci/yds.c			yds
129
130attach	opl at yds with opl_yds
131file	dev/pci/opl_yds.c		opl_yds
132
133# Forte Media FM801
134device	fms: audio, auconv, mulaw, ac97, midibus, tea5757, radiobus
135attach	fms at pci
136file	dev/pci/fms.c			fms
137file	dev/pci/fmsradio.c		fms & radio
138
139# VIA VT82C686A AC'97 Audio
140device	auvia: audio, auconv, mulaw, ac97
141attach	auvia at pci
142file	dev/pci/auvia.c			auvia
143
144# ICP Vortex GDT PCI RAID controllers
145# device declaration in sys/conf/files
146attach	gdt at pci with gdt_pci
147file	dev/pci/gdt_pci.c		gdt_pci
148
149# Adaptec FSA (file system accelerators) RAID adapters
150device	aac: scsi
151attach	aac at pci with aac_pci
152file	dev/pci/aac_pci.c		aac_pci
153file	dev/ic/aac.c			aac
154
155# Compaq Array Controllers
156attach	cac at pci with cac_pci
157file	dev/pci/cac_pci.c		cac_pci
158
159# Qlogic ISP 10x0 (PCI) family
160# device declaration in sys/conf/files
161attach	isp at pci with isp_pci
162file	dev/pci/isp_pci.c		isp_pci
163
164# Ethernet driver for DC21040-based boards
165device	de: ether, ifnet, ifmedia
166attach	de at pci
167file	dev/pci/if_de.c			de
168
169# ENI ATM driver
170device	en: atm, ifnet
171attach	en at pci with en_pci
172file	dev/pci/if_en_pci.c		en
173file	dev/ic/midway.c			en
174
175# 3Com 3c590 and 3c595 Ethernet controllers
176# device declaration in sys/conf/files
177attach	ep at pci with ep_pci
178file	dev/pci/if_ep_pci.c		ep_pci
179
180# Digital DEFPA PCI FDDI Controller
181device	fpa: pdq, fddi, ifnet
182attach	fpa at pci
183file	dev/pci/if_fpa.c		fpa
184
185# AMD am7990 (LANCE) -based Ethernet controllers
186# device declaration in sys/conf/files
187attach	le at pci with le_pci
188file	dev/pci/if_le_pci.c		le_pci
189
190# NCR 53c8xx SCSI chips
191device	ncr: scsi
192attach	ncr at pci
193file	dev/pci/ncr.c			ncr
194
195# common code for siop/esiop pci front end
196define siop_pci_common
197file	dev/pci/siop_pci_common.c	siop_pci_common
198
199# Symbios 53c8xx SCSI chips
200# device declaration in sys/conf/files
201attach	siop at pci with siop_pci: siop_pci_common
202file	dev/pci/siop_pci.c	siop_pci
203
204# NeoMagic 256AV and 256ZX
205device	neo: audio, auconv, mulaw, ac97
206attach	neo at pci
207file	dev/pci/neo.c			neo
208
209# PCI IDE controllers
210device	pciide {[channel = -1]}: cy82c693, wdc_base, ata, atapi
211attach	pciide at pci
212file	dev/pci/pciide.c		pciide
213
214# PCI-PCI bridge chips
215device	ppb: pcibus
216attach	ppb at pci
217file	dev/pci/ppb.c			ppb
218
219# Cyclades Cyclom-8/16/32
220attach	cy at pci with cy_pci
221file	dev/pci/cy_pci.c		cy_pci
222
223# Lan Media Corporation T1/HSSI/DS3 adapter
224device	lmc: ifnet, sppp, ifmedia
225attach	lmc at pci
226file	dev/pci/if_lmc.c		lmc
227file	dev/pci/if_lmc_common.c		lmc
228file	dev/pci/if_lmc_media.c		lmc
229file	dev/pci/if_lmc_obsd.c		lmc
230
231# RealTek 8129/8139
232attach	rl at pci with rl_pci
233file	dev/pci/if_rl_pci.c		rl_pci
234
235# Macronix
236device	mx: ether, ifnet, ifmedia
237attach	mx at pci
238file	dev/pci/if_mx.c			mx
239
240# Via Rhine
241device	vr: ether, ifnet, mii, ifmedia
242attach	vr at pci
243file	dev/pci/if_vr.c			vr
244
245# Texas Instruments ThunderLAN
246device	tl: ether, ifnet, mii, ifmedia
247attach	tl at pci
248file	dev/pci/if_tl.c			tl
249
250# 3Com 3c990
251device	txp: ether, ifnet, ifmedia
252attach	txp at pci
253file	dev/pci/if_txp.c		txp
254
255# S3 SonicVibes (S3 617)
256device	sv: audio, auconv, mulaw
257attach	sv at pci
258file	dev/pci/sv.c			sv
259
260# Brooktree Bt848 video capture
261device	bktr: pcibus, radiobus
262attach	bktr at pci
263file	dev/pci/bktr/bktr_audio.c	bktr	needs-count
264file	dev/pci/bktr/bktr_card.c	bktr
265file	dev/pci/bktr/bktr_core.c	bktr
266file	dev/pci/bktr/bktr_os.c		bktr
267file	dev/pci/bktr/bktr_tuner.c	bktr
268
269# 3C90x
270attach	xl at pci with xl_pci
271file	dev/pci/if_xl_pci.c		xl_pci
272
273# Intel EtherExpress PRO 10/100B
274attach	fxp at pci with fxp_pci
275file	dev/pci/if_fxp_pci.c		fxp_pci
276
277# Intel Pro/1000
278device	em: ether, ifnet, ifmedia
279attach	em at pci
280file	dev/pci/if_em.c			em
281file	dev/pci/if_em_hw.c		em
282
283# DEC/Intel 21143 and "tulip" clone ethernet
284attach	dc at pci with dc_pci
285file	dev/pci/if_dc_pci.c		dc_pci
286
287# SMC EPIC, 83c170
288device	tx: ether, ifnet, mii, ifmedia
289attach	tx at pci
290file	dev/pci/if_tx.c			tx
291
292# Alteon Tigon I & II
293device	ti: ether, ifnet, ifmedia
294attach	ti at pci
295file	dev/pci/if_ti.c			ti
296
297# NE2000-compatible PCI Ethernet cards
298attach	ne at pci with ne_pci: rtl80x9
299file	dev/pci/if_ne_pci.c		ne_pci
300
301# Sun GEM ethernet
302attach	gem at pci with gem_pci
303file	dev/pci/if_gem_pci.c		gem_pci
304
305# Hi/fn 6500
306device	lofn: crypto
307attach	lofn at pci
308file	dev/pci/lofn.c			lofn
309
310# Hi/fn 7751/7811/7951
311device	hifn: crypto
312attach	hifn at pci
313file	dev/pci/hifn7751.c		hifn
314
315# Hi/fn 7814/7851/7854
316device	nofn: crypto
317attach	nofn at pci
318file	dev/pci/nofn.c			nofn
319
320# Bluesteelnet (Broadcom) 5501/5601
321device	ubsec: crypto
322attach	ubsec at pci
323file	dev/pci/ubsec.c			ubsec
324
325# Netoctave NSP2000
326device	noct: crypto
327attach	noct at pci
328file	dev/pci/noct.c			noct
329
330# Pijnenburg PCC-ISES
331device	ises: crypto
332attach	ises at pci
333file	dev/pci/ises.c			ises
334
335# Winbond W89C840F ethernet
336device	wb: ether, ifnet, mii, ifmedia, mii_phy
337attach	wb at pci
338file	dev/pci/if_wb.c			wb
339
340# Adaptec AIC-6915 "Starfire" ethernet
341device	sf: ether, ifnet, mii, ifmedia
342attach	sf at pci
343file	dev/pci/if_sf.c			sf
344
345# SiS 900/7016 ethernet
346device	sis: ether, ifnet, mii, ifmedia
347attach	sis at pci
348file	dev/pci/if_sis.c		sis
349
350# Sundance ST201 ethernet
351device	ste: ether, ifnet, mii, ifmedia
352attach	ste at pci
353file	dev/pci/if_ste.c		ste
354
355# Industrial Computer Source WDT-50x
356device	wdt: pcibus
357attach	wdt at pci
358file	dev/pci/wdt.c			wdt	needs-flag
359
360# UHCI USB controller
361attach	uhci at pci with uhci_pci
362file	dev/pci/uhci_pci.c		uhci
363
364# OHCI USB controller
365attach	ohci at pci with ohci_pci
366file	dev/pci/ohci_pci.c		ohci
367
368# YENTA PCI-CardBus bridge
369#device	cbb: cbbus, pcmciabus
370device	cbb: pcmciaslot
371attach	cbb at pci with cbb_pci
372file	dev/pci/pccbb.c			cbb
373
374# SysKonnect 984x gigabit ethernet
375device	skc {}
376attach	skc at pci
377device	sk: ether, ifnet, mii, ifmedia
378attach	sk at skc
379file	dev/pci/if_sk.c			skc | sk
380
381# PCI "universal" communication device driver, for PCI com, lpt, etc. ports
382# (see documentation in the driver for what, exactly, should be supported)
383device	puc { port = -1 }
384attach	puc at pci
385file	dev/pci/puc.c			puc
386file	dev/pci/pucdata.c		puc
387
388# WaveLAN/PrismII card behind a PLX 805x dumb bridge
389# device declaration in sys/conf/files
390attach	wi at pci with wi_pci
391file	dev/pci/if_wi_pci.c		wi_pci
392
393# Aironet 4500/4800 802.11 DS WLAN
394# device declaration in sys/conf/files
395attach	an at pci with an_pci
396file	dev/pci/if_an_pci.c		an_pci
397
398# C-Media CMI8x38 Audio Chip
399device	cmpci: audio, auconv, mulaw
400attach	cmpci at pci
401file	dev/pci/cmpci.c			cmpci
402
403# Initio ULTRA WIDE/ULTRA2 WIDE SCSI Controllers
404attach	iha at pci with iha_pci
405file	dev/pci/iha_pci.c		iha_pci
406
407# Tekram TRM-S1040 SCSI Cards (DC395U/UW/F,DC315/U)
408attach	trm at pci with trm_pci
409file	dev/pci/trm_pci.c		trm_pci
410
411# AMD Am53c974 PCscsi-PCI SCSI controllers
412device	pcscp: scsi, ncr53c9x
413attach	pcscp at pci
414file	dev/pci/pcscp.c			pcscp
415
416# Gemtek/Guillemot PCI Radio Card
417device	gtp: tea5757, radiobus
418attach	gtp at pci
419file	dev/pci/gtp.c			gtp
420
421# National Semiconductor DP83820/DP83821 based GigE
422device	nge: ether, ifnet, mii, ifmedia, mii_phy
423attach	nge at pci
424file	dev/pci/if_nge.c		nge
425
426# Cyclades-Z series of intelligent multi-port serial adapters
427device	cz
428attach	cz at pci
429file	dev/pci/cz.c			cz		needs-flag
430
431# Level-1 LXT1001 Gigabit MAC
432device	lge: ether, ifnet, mii, ifmedia, mii_phy
433attach	lge at pci
434file	dev/pci/if_lge.c		lge
435
436# Broadcom BCM570x gigabit ethernet
437device	bge: ether, ifnet, mii, ifmedia, mii_phy
438attach	bge at pci
439file	dev/pci/if_bge.c		bge
440
441# Sundance Tech./Tamarack TC9021 Gigabit Ethernet
442device	stge: ether, ifnet, mii, ifmedia, mii_phy, mii_bitbang
443attach	stge at pci
444file	dev/pci/if_stge.c		stge
445
446# AMD 768MPX power management controller
447device	amdpm {}
448attach	amdpm at pci
449file	dev/pci/amdpm.c			amdpm
450
451# OHCI IEEE 1394 controller
452attach	fwohci at pci with fwohci_pci
453file	dev/pci/fwohci_pci.c		fwohci_pci
454
455# IEEE 1394 TI "Lynx" controller
456attach	fwlynx at pci with fwlynx_pci
457file	dev/pci/fwlynx_pci.c		fwlynx_pci
458