files.pci revision 1.91
1#	$NetBSD: files.pci,v 1.91 2000/05/08 16:40:44 joda Exp $
2#
3# Config file and device description for machine-independent PCI code.
4# Included by ports that need it.  Requires that the SCSI files be
5# defined first.
6
7defopt	opt_pci.h	PCIVERBOSE PCI_CONFIG_DUMP
8
9defopt	opt_bktr.h	BKTR_OVERRIDE_CARD BKTR_OVERRIDE_TUNER BKTR_OVERRIDE_DBX
10			BKTR_OVERRIDE_MSP BKTR_SYSTEM_DEFAULT
11			BKTR_USE_PLL BKTR_GPIO_ACCESS BKTR_NO_MSP_RESET
12			BKTR_430_FX_MODE BKTR_SIS_VIA_MODE
13
14device	pci {[dev = -1], [function = -1]}
15attach	pci at pcibus
16file	dev/pci/pci.c			pci needs-flag
17file	dev/pci/pci_map.c		pci
18file	dev/pci/pci_quirks.c		pci
19file	dev/pci/pci_subr.c		pci
20
21# Adaptec 3940, 2940, and aic78[5678]0 SCSI controllers
22# device declaration in sys/conf/files
23attach	ahc at pci with ahc_pci: ahc_seeprom, smc93cx6
24file	dev/pci/ahc_pci.c		ahc_pci
25
26# Compaq RAID controllers
27attach	cac at pci with cac_pci
28file	dev/pci/cac_pci.c		cac_pci
29
30# DPT EATA SCSI controllers
31attach	dpt at pci with dpt_pci
32file	dev/pci/dpt_pci.c		dpt_pci
33
34# AdvanSys 1200A, 1200B, and ULTRA SCSI controllers
35# device declaration in sys/conf/files
36attach	adv at pci with adv_pci
37file	dev/pci/adv_pci.c		adv_pci
38file	dev/ic/advlib.c			adv_pci
39file	dev/ic/advmcode.c		adv_pci
40
41# AdvanSys ULTRA WIDE SCSI controllers
42# device declaration in sys/conf/files
43attach  adw at pci with adw_pci
44file    dev/pci/adw_pci.c               adw_pci
45file    dev/ic/adwlib.c                 adw_pci
46file    dev/ic/adwmcode.c               adw_pci
47
48# AMD Am53c974 PCscsi-PCI SCSI controllers
49device	pcscp: scsi, ncr53c9x
50attach	pcscp at pci
51file	dev/pci/pcscp.c			pcscp
52
53# BusLogic BT-9xx PCI family
54# device declaration in sys/conf/files
55attach	bha at pci with bha_pci
56file	dev/pci/bha_pci.c		bha_pci
57
58# Qlogic ISP 10x0 (PCI) family
59# device declaration in sys/conf/files
60attach	isp at pci with isp_pci
61file	dev/pci/isp_pci.c		isp_pci
62
63# Ethernet driver for DC21040-based boards
64device	de: ether, ifnet, arp
65attach	de at pci
66file	dev/pci/if_de.c			de
67
68# Efficient Networks, Inc. ATM interface
69# device declaration in sys/conf/files
70attach	en at pci with en_pci
71file    dev/pci/if_en_pci.c		en_pci
72
73# 3Com 3c590 and 3c595 Ethernet controllers
74# device declaration in sys/conf/files
75attach	ep at pci with ep_pci
76file	dev/pci/if_ep_pci.c		ep_pci
77
78# 3Com 3c90x[B] Ethernet controllers
79# device declaration in sys/conf/files
80attach	ex at pci with ex_pci
81file	dev/pci/if_ex_pci.c		ex_pci
82
83# Digital DEFPA PCI FDDI Controller
84device	fpa: pdq, fddi, ifnet, arp
85attach	fpa at pci
86file	dev/pci/if_fpa.c		fpa
87
88# AMD am7990 (LANCE) -based Ethernet controllers
89# device declaration in sys/conf/files
90attach	le at pci with le_pci: le32
91file	dev/pci/if_le_pci.c		le_pci
92
93# NCR 53c8xx SCSI chips
94device	ncr: scsi
95attach	ncr at pci
96file	dev/pci/ncr.c			ncr
97
98# Symbios 53c8xx SCSI chips
99# device declaration in sys/conf/files
100attach	siop at pci with siop_pci
101file	dev/pci/siop_pci.c	siop_pci
102
103# PCI IDE controllers
104device	pciide {[channel = -1]}: wdc_base, ata, atapi
105attach	pciide at pci
106file	dev/pci/pciide.c		pciide
107
108# PCI-PCI bridge chips
109device	ppb: pcibus
110attach	ppb at pci
111file	dev/pci/ppb.c			ppb
112
113# Cyclades Cyclom-8/16/32 
114attach	cy at pci with cy_pci
115file	dev/pci/cy_pci.c		cy_pci
116
117# Intel EtherExpress PRO 10/100B
118attach	fxp at pci with fxp_pci
119file	dev/pci/if_fxp_pci.c		fxp_pci
120
121# Sun HME-network
122attach	hme at pci with hme_pci
123file	dev/pci/if_hme_pci.c		hme_pci
124
125# NE2000-compatible PCI Ethernet cards
126defparam opt_ipkdb.h	IPKDB_NE_PCISLOT	: IPKDB_NE_PCI
127defopt	opt_ipkdb.h	IPKDB_NE_PCI		: IPKDB_NE IPKDB_NE_PCISLOT
128attach	ne at pci with ne_pci: rtl80x9
129file	dev/pci/if_ne_pci.c		ne_pci | IPKDB_NE_PCI
130
131# Texas Instruments ThunderLAN Chip.
132device  tl: ether, ifnet, arp, i2c, i2c_eeprom, mii, mii_bitbang
133attach  tl at pci
134file    dev/pci/if_tl.c     		tl
135
136# SDL Communications N2 PCI Network Interface
137# device declaration in sys/conf/files
138attach	ntwoc at pci with ntwoc_pci
139file	dev/pci/if_ntwoc_pci.c		ntwoc_pci
140
141# Lan Media Corporation T1/HSSI/DS3 driver
142device	lmc: ifnet, sppp
143attach	lmc at pci
144file	dev/pci/if_lmc.c		lmc
145file	dev/pci/if_lmc_common.c		lmc
146file	dev/pci/if_lmc_media.c		lmc
147file	dev/pci/if_lmc_nbsd.c		lmc
148
149# Essential Communications HIPPI interface
150# device declaration in sys/conf/files
151attach  esh at pci with esh_pci
152file    dev/pci/if_esh_pci.c            esh_pci
153
154# generic PCI VGA
155attach	vga at pci with vga_pci
156file	dev/pci/vga_pci.c		vga_pci	needs-flag
157
158# DEC TGA
159device	tga: wsemuldisplaydev, rasops8, rasops32
160attach	tga at pci
161file	dev/pci/tga.c			tga needs-flag
162file	dev/pci/tga_conf.c		tga
163file	dev/ic/bt485.c			tga
164file	dev/ic/bt463.c			tga
165
166# Brooktree Bt848 video capture
167device bktr: pcibus
168attach bktr at pci
169file dev/pci/bktr/bktr_audio.c		bktr
170file dev/pci/bktr/bktr_card.c		bktr
171file dev/pci/bktr/bktr_core.c		bktr
172file dev/pci/bktr/bktr_os.c		bktr    needs-flag
173file dev/pci/bktr/bktr_tuner.c		bktr
174
175# Cirrus Logic CrystalClear PCI Audio CS4280
176device clcs: audio, auconv, mulaw, ac97, midibus
177attach  clcs at pci
178file dev/pci/cs4280.c			clcs
179
180# Forte Media FM801
181device  fms { }: audio, auconv, mulaw, ac97, midibus
182attach  fms at pci
183file    dev/pci/fms.c                   fms
184
185attach	opl at fms with opl_fms
186file	dev/pci/opl_fms.c		opl_fms
187
188attach	mpu at fms with mpu_fms
189file	dev/pci/mpu_fms.c		mpu_fms
190
191# Ensoniq AudioPCI S5016
192device	eap: audio, auconv, mulaw, ac97, midibus
193attach	eap at pci
194file	dev/pci/eap.c			eap
195
196# VIA VT82C686A AC'97 Audio
197device  auvia: audio, auconv, mulaw, ac97
198attach  auvia at pci
199file    dev/pci/auvia.c			auvia
200
201# ESS Solo-1 PCI AudioDrive
202device	eso { }: audio, auconv, mulaw, midibus
203attach	eso at pci
204file	dev/pci/eso.c			eso
205
206attach	opl at eso with opl_eso
207file	dev/pci/opl_eso.c		opl_eso
208
209attach	mpu at eso with mpu_eso
210file	dev/pci/mpu_eso.c		mpu_eso
211
212# S3 SonicVibes (S3 617)
213device	sv { }: audio, auconv, mulaw, midibus
214attach	sv at pci
215file	dev/pci/sv.c			sv
216
217attach	opl at sv with opl_sv
218file	dev/pci/opl_sv.c		opl_sv
219
220# C-Media CMI8x38 Audio Chip
221device	cmpci { }: audio, auconv
222attach	cmpci at pci
223file	dev/pci/cmpci.c			cmpci
224
225# SMC EPIC/100 Fast Ethernet on PCI
226attach	epic at pci with epic_pci
227file	dev/pci/if_epic_pci.c		epic_pci
228
229# PCI "universal" communication device driver, for PCI com, lpt, etc. ports
230# (see documentation in the driver for what, exactly, should be supported)
231device	puc { port = -1 }
232attach	puc at pci
233file	dev/pci/puc.c			puc
234file	dev/pci/pucdata.c		puc
235
236attach	com at puc with com_puc
237file	dev/pci/com_puc.c		com_puc
238
239# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT
240# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files.
241# XXX (when the conf/files and files.isa bogons are fixed, this can
242# XXX be fixed as well.)
243
244# attach	lpt at puc with lpt_puc
245# file	dev/pci/lpt_puc.c		lpt_puc
246
247# UHCI USB controller
248attach	uhci at pci with uhci_pci
249file	dev/pci/uhci_pci.c		uhci_pci
250
251# OHCI USB controller
252attach	ohci at pci with ohci_pci
253file	dev/pci/ohci_pci.c		ohci_pci
254
255# VIA Rhine/Rhine II Fast Ethernet controllers
256device	vr: ether, ifnet, arp, mii, mii_bitbang
257attach	vr at pci
258file	dev/pci/if_vr.c			vr
259
260# SiS 900 Fast Ethernet controllers
261device	sip: ether, ifnet, arp, mii
262attach	sip at pci
263file	dev/pci/if_sip.c		sip
264
265# Realtek 8129/8139 Ethernet controllers
266attach	rtk at pci with rtk_pci
267file	dev/pci/if_rl_pci.c		rtk_pci
268
269# DECchip 21x4x Ethernet controller family, and assorted clones.
270attach	tlp at pci with tlp_pci
271file	dev/pci/if_tlp_pci.c		tlp_pci
272
273# Bit3 PCI-VME mod. 617
274device	btvmei: vmebus
275attach	btvmei at pci
276file	dev/pci/btvmei.c		btvmei
277#file	dev/pci/btvmei_dma.c		btvmei
278#file	dev/pci/btvmei_cntlrdma.c	btvmei
279
280# Alteon ACEnic Gigabit Ethernet controller
281device	ti: ether, ifnet, arp
282attach	ti at pci
283file	dev/pci/if_ti.c			ti
284
285# Adaptec AIC-6915 Ethernet interface
286attach	sf at pci with sf_pci
287file	dev/pci/if_sf_pci.c		sf_pci
288
289# YENTA PCI-Cardbus bridge 
290#device  cbb: cbbus, pcmciabus
291device  cbb: pcmciaslot
292attach	cbb at pci with cbb_pci
293file	dev/pci/pccbb.c			cbb
294
295# Tundra Universe PCI-VME adapter
296define univ_pci
297file dev/pci/universe_pci.c univ_pci
298
299# Bit3 PCI-VME mod. 2706
300device btvmeii: vmebus, univ_pci
301attach btvmeii at pci
302file dev/pci/btvmeii.c btvmeii
303
304# VT86C686A power management
305device viapm {}
306attach viapm at pci
307file dev/pci/viapm.c	viapm
308
309# hardware monitoring part of viapm
310device viaenv
311attach viaenv at viapm
312file dev/pci/viaenv.c	viaenv needs-flag
313