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