files.pci revision 1.84
1#	$NetBSD: files.pci,v 1.84 2000/04/05 02:31:19 mrg 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# PCI IDE controllers
94device	pciide {[channel = -1]}: wdc_base, ata, atapi
95attach	pciide at pci
96file	dev/pci/pciide.c		pciide
97
98# PCI-PCI bridge chips
99device	ppb: pcibus
100attach	ppb at pci
101file	dev/pci/ppb.c			ppb
102
103# Cyclades Cyclom-8/16/32 
104attach	cy at pci with cy_pci
105file	dev/pci/cy_pci.c		cy_pci
106
107# Intel EtherExpress PRO 10/100B
108attach	fxp at pci with fxp_pci
109file	dev/pci/if_fxp_pci.c		fxp_pci
110
111# Sun HME-network
112attach	hme at pci with hme_pci
113file	dev/pci/if_hme_pci.c		hme_pci
114
115# NE2000-compatible PCI Ethernet cards
116defparam opt_ipkdb.h	IPKDB_NE_PCISLOT	: IPKDB_NE_PCI
117defopt	opt_ipkdb.h	IPKDB_NE_PCI		: IPKDB_NE IPKDB_NE_PCISLOT
118attach	ne at pci with ne_pci: rtl80x9
119file	dev/pci/if_ne_pci.c		ne_pci | IPKDB_NE_PCI
120
121# Texas Instruments ThunderLAN Chip.
122device  tl: ether, ifnet, arp, i2c, i2c_eeprom, mii, mii_bitbang
123attach  tl at pci
124file    dev/pci/if_tl.c     		tl
125
126# SDL Communications N2 PCI Network Interface
127# device declaration in sys/conf/files
128attach	ntwoc at pci with ntwoc_pci
129file	dev/pci/if_ntwoc_pci.c		ntwoc_pci
130
131# Lan Media Corporation T1/HSSI/DS3 driver
132device	lmc: ifnet, sppp
133attach	lmc at pci
134file	dev/pci/if_lmc.c		lmc
135file	dev/pci/if_lmc_common.c		lmc
136file	dev/pci/if_lmc_media.c		lmc
137file	dev/pci/if_lmc_nbsd.c		lmc
138
139# Essential Communications HIPPI interface
140# device declaration in sys/conf/files
141attach  esh at pci with esh_pci
142file    dev/pci/if_esh_pci.c            esh_pci
143
144# generic PCI VGA
145attach	vga at pci with vga_pci
146file	dev/pci/vga_pci.c		vga_pci	needs-flag
147
148# DEC TGA
149device	tga: wsemuldisplaydev, wsrasteremulops
150attach	tga at pci
151file	dev/pci/tga.c			tga needs-flag
152file	dev/pci/tga_conf.c		tga
153file	dev/ic/bt485.c			tga
154file	dev/ic/bt463.c			tga
155
156# Cirrus Logic CrystalClear PCI Audio CS4280
157device clcs: audio, auconv, mulaw, ac97, midibus
158attach  clcs at pci
159file dev/pci/cs4280.c			clcs
160
161# Forte Media FM801
162device  fms { }: audio, auconv, mulaw, ac97, midibus
163attach  fms at pci
164file    dev/pci/fms.c                   fms
165
166attach	opl at fms with opl_fms
167file	dev/pci/opl_fms.c		opl_fms
168
169attach	mpu at fms with mpu_fms
170file	dev/pci/mpu_fms.c		mpu_fms
171
172# Ensoniq AudioPCI S5016
173device	eap: audio, auconv, mulaw, ac97, midibus
174attach	eap at pci
175file	dev/pci/eap.c			eap
176
177# VIA VT82C686A AC'97 Audio
178device  auvia: audio, auconv, mulaw, ac97
179attach  auvia at pci
180file    dev/pci/auvia.c			auvia
181
182# ESS Solo-1 PCI AudioDrive
183device	eso { }: audio, auconv, mulaw, midibus
184attach	eso at pci
185file	dev/pci/eso.c			eso
186
187attach	opl at eso with opl_eso
188file	dev/pci/opl_eso.c		opl_eso
189
190attach	mpu at eso with mpu_eso
191file	dev/pci/mpu_eso.c		mpu_eso
192
193# S3 SonicVibes (S3 617)
194device	sv { }: audio, auconv, mulaw, midibus
195attach	sv at pci
196file	dev/pci/sv.c			sv
197
198attach	opl at sv with opl_sv
199file	dev/pci/opl_sv.c		opl_sv
200
201# SMC EPIC/100 Fast Ethernet on PCI
202attach	epic at pci with epic_pci
203file	dev/pci/if_epic_pci.c		epic_pci
204
205# PCI "universal" communication device driver, for PCI com, lpt, etc. ports
206# (see documentation in the driver for what, exactly, should be supported)
207device	puc { port = -1 }
208attach	puc at pci
209file	dev/pci/puc.c			puc
210file	dev/pci/pucdata.c		puc
211
212attach	com at puc with com_puc
213file	dev/pci/com_puc.c		com_puc
214
215# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT
216# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files.
217# XXX (when the conf/files and files.isa bogons are fixed, this can
218# XXX be fixed as well.)
219
220# attach	lpt at puc with lpt_puc
221# file	dev/pci/lpt_puc.c		lpt_puc
222
223# UHCI USB controller
224attach	uhci at pci with uhci_pci
225file	dev/pci/uhci_pci.c		uhci_pci
226
227# OHCI USB controller
228attach	ohci at pci with ohci_pci
229file	dev/pci/ohci_pci.c		ohci_pci
230
231# VIA Rhine/Rhine II Fast Ethernet controllers
232device	vr: ether, ifnet, arp, mii, mii_bitbang
233attach	vr at pci
234file	dev/pci/if_vr.c			vr
235
236# SiS 900 Fast Ethernet controllers
237device	sip: ether, ifnet, arp, mii
238attach	sip at pci
239file	dev/pci/if_sip.c		sip
240
241# Realtek 8129/8139 Ethernet controllers
242device	rl: ether, ifnet, arp, mii
243attach	rl at pci
244file	dev/pci/if_rl.c			rl
245
246# DECchip 21x4x Ethernet controller family, and assorted clones.
247attach	tlp at pci with tlp_pci
248file	dev/pci/if_tlp_pci.c		tlp_pci
249
250# Bit3 PCI-VME mod. 617
251device	btvmei: vmebus
252attach	btvmei at pci
253file	dev/pci/btvmei.c		btvmei
254#file	dev/pci/btvmei_dma.c		btvmei
255#file	dev/pci/btvmei_cntlrdma.c	btvmei
256
257# Alteon ACEnic Gigabit Ethernet controller
258device	ti: ether, ifnet, arp
259attach	ti at pci
260file	dev/pci/if_ti.c			ti
261
262# Adaptec AIC-6915 Ethernet interface
263attach	sf at pci with sf_pci
264file	dev/pci/if_sf_pci.c		sf_pci
265
266# YENTA PCI-Cardbus bridge 
267#device  cbb: cbbus, pcmciabus
268device  cbb: pcmciaslot
269attach	cbb at pci with cbb_pci
270file	dev/pci/pccbb.c			cbb
271
272# Tundra Universe PCI-VME adapter
273define univ_pci
274file dev/pci/universe_pci.c univ_pci
275
276# Bit3 PCI-VME mod. 2706
277device btvmeii: vmebus, univ_pci
278attach btvmeii at pci
279file dev/pci/btvmeii.c btvmeii
280