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