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