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