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