summaryrefslogtreecommitdiff
path: root/sys/dev/pci/files.pci
blob: 308fe5b849405af2e6615399adc98fef92e508f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
#	$OpenBSD: files.pci,v 1.135 2002/06/02 18:15:03 jason Exp $
#	$NetBSD: files.pci,v 1.20 1996/09/24 17:47:15 christos Exp $
#
# Config file and device description for machine-independent PCI code.
# Included by ports that need it.  Requires that the SCSI files be
# defined first.

device	pci {[dev = -1], [function = -1]}
attach	pci at pcibus
file	dev/pci/pci.c			pci needs-flag
file	dev/pci/pci_map.c		pci
file	dev/pci/pci_quirks.c		pci
file	dev/pci/pci_subr.c		pci

# Generic VGA
attach	vga at pci with vga_pci
file	dev/pci/vga_pci.c		vga_pci

device	tga: wsemuldisplaydev, rasops8, rasops32
attach	tga at pci
file	dev/pci/tga.c			tga		needs-flag
file	dev/pci/tga_conf.c		tga
file	dev/ic/bt463.c			tga
file	dev/ic/bt485.c			tga
file	dev/ic/ibm561.c			tga

# Cypress 82c693 hyperCache(tm) Stand-Alone PCI Peripheral Controller
# with USB.  This is a combo chip:
#
#	PCI-ISA bridge
#	PCI IDE controller
#	OHCI USB controller
#
# There are some common subroutines that each function needs.
define	cy82c693
file	dev/pci/cy82c693.c		cy82c693

# Adaptec 3940, 2940, and aic78[5678]0 SCSI controllers
# device declaration in sys/conf/files
attach	ahc at pci with ahc_pci
file	dev/pci/ahc_pci.c		ahc_pci

# DPT EATA SCSI controllers
attach	dpt at pci with dpt_pci
file	dev/pci/dpt_pci.c		dpt_pci

# AdvanSys 1200A, 1200B, and ULTRA SCSI controllers
# device declaration in sys/conf/files
attach	adv at pci with adv_pci
file	dev/pci/adv_pci.c		adv_pci
file	dev/ic/advlib.c			adv_pci
file	dev/ic/advmcode.c		adv_pci

# AdvanSys ULTRA WIDE SCSI controllers
# device declaration in sys/conf/files
attach	adw at pci with adw_pci
file	dev/pci/adw_pci.c		adw_pci
file	dev/ic/adwlib.c			adw_pci
file	dev/microcode/adw/adwmcode.c	adw_pci

# BusLogic BT-9xx PCI family
attach	bha at pci with bha_pci
file	dev/pci/bha_pci.c		bha_pci

# 3ware 5x000/6x000 RAID controllers
attach	twe at pci with twe_pci
file	dev/pci/twe_pci.c		twe_pci

# AMI MegaRAID Express x00/Elite 1500/Express 1x00 RAID Controllers
attach	ami at pci with ami_pci
file	dev/pci/ami_pci.c		ami_pci

# I2O
attach	iop at pci with iop_pci
file	dev/pci/iop_pci.c		iop_pci

# Ensoniq AudioPCI S5016, 1371
device	eap: audio, auconv, mulaw, ac97
attach	eap at pci
file	dev/pci/eap.c			eap

# ESS Solo-1 PCI AudioDrive
device	eso { }: audio, auconv, mulaw, midibus
attach	eso at pci
file	dev/pci/eso.c			eso

attach	opl at eso with opl_eso
file	dev/pci/opl_eso.c		opl_eso

# Intel 810/820/440MX ICH audio with AC'97
device	auich: audio, auconv, mulaw, ac97
attach	auich at pci
file	dev/pci/auich.c			auich

# Creative Labs EMU10k1 (SBLive! series and PCI512)
device	emu: audio, auconv, mulaw, ac97
attach	emu at pci
file	dev/pci/emuxki.c		emu

# Trident 4DWAVE based PCI audio (including SiS 7018, ALi M5451)
device	autri: audio, auconv, mulaw, ac97, midibus
attach	autri at pci
file	dev/pci/autri.c			autri

# CS4280 CrystalClear Audio
device	clcs: audio, auconv, mulaw, ac97
attach	clcs at pci
file	dev/pci/cs4280.c		clcs

# CS4281 CrystalClear Audio
device	clct: audio, auconv, mulaw, ac97
attach	clct at pci
file	dev/pci/cs4281.c		clct

# ESS Maestro
device	maestro: audio, auconv, mulaw, ac97
attach	maestro at pci
file	dev/pci/maestro.c		maestro

# ESS Maestro3
device	esa: audio, auconv, mulaw, ac97
attach	esa at pci
file	dev/pci/esa.c		esa

# Yamaha YMF Audio
device	yds { }: audio, auconv, mulaw, ac97
attach	yds at pci
file	dev/pci/yds.c			yds

attach	opl at yds with opl_yds
file	dev/pci/opl_yds.c		opl_yds

# Forte Media FM801
device	fms: audio, auconv, mulaw, ac97, midibus, tea5757, radiobus
attach	fms at pci
file	dev/pci/fms.c			fms
file	dev/pci/fmsradio.c		fms & radio

# VIA VT82C686A AC'97 Audio
device	auvia: audio, auconv, mulaw, ac97
attach	auvia at pci
file	dev/pci/auvia.c			auvia

# ICP Vortex GDT PCI RAID controllers
# device declaration in sys/conf/files
attach	gdt at pci with gdt_pci
file	dev/pci/gdt_pci.c		gdt_pci

# Adaptec FSA (file system accelerators) RAID adapters
device	aac: scsi
attach	aac at pci with aac_pci
file	dev/pci/aac_pci.c		aac_pci
file	dev/ic/aac.c			aac

# Compaq Array Controllers
attach	cac at pci with cac_pci
file	dev/pci/cac_pci.c		cac_pci

# Qlogic ISP 10x0 (PCI) family
# device declaration in sys/conf/files
attach	isp at pci with isp_pci
file	dev/pci/isp_pci.c		isp_pci

# Ethernet driver for DC21040-based boards
device	de: ether, ifnet, ifmedia
attach	de at pci
file	dev/pci/if_de.c			de

# ENI ATM driver
device	en: atm, ifnet
attach	en at pci with en_pci
file	dev/pci/if_en_pci.c		en
file	dev/ic/midway.c			en

# 3Com 3c590 and 3c595 Ethernet controllers
# device declaration in sys/conf/files
attach	ep at pci with ep_pci
file	dev/pci/if_ep_pci.c		ep_pci

# Digital DEFPA PCI FDDI Controller
device	fpa: pdq, fddi, ifnet
attach	fpa at pci
file	dev/pci/if_fpa.c		fpa

# AMD am7990 (LANCE) -based Ethernet controllers
# device declaration in sys/conf/files
attach	le at pci with le_pci
file	dev/pci/if_le_pci.c		le_pci

# NCR 53c8xx SCSI chips
device	ncr: scsi
attach	ncr at pci
file	dev/pci/ncr.c			ncr

# common code for siop/esiop pci front end
define siop_pci_common
file	dev/pci/siop_pci_common.c	siop_pci_common

# Symbios 53c8xx SCSI chips
# device declaration in sys/conf/files
attach	siop at pci with siop_pci: siop_pci_common
file	dev/pci/siop_pci.c	siop_pci

# NeoMagic 256AV and 256ZX
device	neo: audio, auconv, mulaw, ac97
attach	neo at pci
file	dev/pci/neo.c			neo

# PCI IDE controllers
device	pciide {[channel = -1]}: cy82c693, wdc_base, ata, atapi
attach	pciide at pci
file	dev/pci/pciide.c		pciide

# PCI-PCI bridge chips
device	ppb: pcibus
attach	ppb at pci
file	dev/pci/ppb.c			ppb

# Cyclades Cyclom-8/16/32
attach	cy at pci with cy_pci
file	dev/pci/cy_pci.c		cy_pci

# Lan Media Corporation T1/HSSI/DS3 adapter
device	lmc: ifnet, sppp, ifmedia
attach	lmc at pci
file	dev/pci/if_lmc.c		lmc
file	dev/pci/if_lmc_common.c		lmc
file	dev/pci/if_lmc_media.c		lmc
file	dev/pci/if_lmc_obsd.c		lmc

# RealTek 8129/8139
attach	rl at pci with rl_pci
file	dev/pci/if_rl_pci.c		rl_pci

# Macronix
device	mx: ether, ifnet, ifmedia
attach	mx at pci
file	dev/pci/if_mx.c			mx

# Via Rhine
device	vr: ether, ifnet, mii, ifmedia
attach	vr at pci
file	dev/pci/if_vr.c			vr

# Texas Instruments ThunderLAN
device	tl: ether, ifnet, mii, ifmedia
attach	tl at pci
file	dev/pci/if_tl.c			tl

# 3Com 3c990
device	txp: ether, ifnet, ifmedia
attach	txp at pci
file	dev/pci/if_txp.c		txp

# S3 SonicVibes (S3 617)
device	sv: audio, auconv, mulaw
attach	sv at pci
file	dev/pci/sv.c			sv

# Brooktree Bt848 video capture
device	bktr: pcibus, radiobus
attach	bktr at pci
file	dev/pci/bktr/bktr_audio.c	bktr	needs-count
file	dev/pci/bktr/bktr_card.c	bktr
file	dev/pci/bktr/bktr_core.c	bktr
file	dev/pci/bktr/bktr_os.c		bktr
file	dev/pci/bktr/bktr_tuner.c	bktr

# 3C90x
attach	xl at pci with xl_pci
file	dev/pci/if_xl_pci.c		xl_pci

# Intel EtherExpress PRO 10/100B
attach	fxp at pci with fxp_pci
file	dev/pci/if_fxp_pci.c		fxp_pci

# DEC/Intel 21143 and "tulip" clone ethernet
attach	dc at pci with dc_pci
file	dev/pci/if_dc_pci.c		dc_pci

# SMC EPIC, 83c170
device	tx: ether, ifnet, mii, ifmedia
attach	tx at pci
file	dev/pci/if_tx.c			tx

# Alteon Tigon I & II
device	ti: ether, ifnet, ifmedia
attach	ti at pci
file	dev/pci/if_ti.c			ti

# NE2000-compatible PCI Ethernet cards
attach	ne at pci with ne_pci: rtl80x9
file	dev/pci/if_ne_pci.c		ne_pci

# Sun GEM ethernet
attach	gem at pci with gem_pci
file	dev/pci/if_gem_pci.c		gem_pci

# Hi/fn 6500
device	lofn: crypto
attach	lofn at pci
file	dev/pci/lofn.c			lofn

# Hi/fn 7751/7811/7951
device	hifn: crypto
attach	hifn at pci
file	dev/pci/hifn7751.c		hifn

# Hi/fn 7814/7851/7854
device	nofn: crypto
attach	nofn at pci
file	dev/pci/nofn.c			nofn

# Bluesteelnet (Broadcom) 5501/5601
device	ubsec: crypto
attach	ubsec at pci
file	dev/pci/ubsec.c			ubsec

# Netoctave NSP2000
device	noct: crypto
attach	noct at pci
file	dev/pci/noct.c			noct

# Pijnenburg PCC-ISES
device	ises: crypto
attach	ises at pci
file	dev/pci/ises.c			ises

# Winbond W89C840F ethernet
device	wb: ether, ifnet, mii, ifmedia, mii_phy
attach	wb at pci
file	dev/pci/if_wb.c			wb

# Adaptec AIC-6915 "Starfire" ethernet
device	sf: ether, ifnet, mii, ifmedia
attach	sf at pci
file	dev/pci/if_sf.c			sf

# SiS 900/7016 ethernet
device	sis: ether, ifnet, mii, ifmedia
attach	sis at pci
file	dev/pci/if_sis.c		sis

# Sundance ST201 ethernet
device	ste: ether, ifnet, mii, ifmedia
attach	ste at pci
file	dev/pci/if_ste.c		ste

# Industrial Computer Source WDT-50x
device	wdt: pcibus
attach	wdt at pci
file	dev/pci/wdt.c			wdt	needs-flag

# UHCI USB controller
attach	uhci at pci with uhci_pci
file	dev/pci/uhci_pci.c		uhci

# OHCI USB controller
attach	ohci at pci with ohci_pci
file	dev/pci/ohci_pci.c		ohci

# YENTA PCI-CardBus bridge
#device	cbb: cbbus, pcmciabus
device	cbb: pcmciaslot
attach	cbb at pci with cbb_pci
file	dev/pci/pccbb.c			cbb

# SysKonnect 984x gigabit ethernet
device	skc {}
attach	skc at pci
device	sk: ether, ifnet, mii, ifmedia
attach	sk at skc
file	dev/pci/if_sk.c			skc | sk

# PCI "universal" communication device driver, for PCI com, lpt, etc. ports
# (see documentation in the driver for what, exactly, should be supported)
device	puc { port = -1 }
attach	puc at pci
file	dev/pci/puc.c			puc
file	dev/pci/pucdata.c		puc

# WaveLAN/PrismII card behind a PLX 805x dumb bridge
# device declaration in sys/conf/files
attach	wi at pci with wi_pci
file	dev/pci/if_wi_pci.c		wi_pci

# Aironet 4500/4800 802.11 DS WLAN
# device declaration in sys/conf/files
attach	an at pci with an_pci
file	dev/pci/if_an_pci.c		an_pci

# C-Media CMI8x38 Audio Chip
device	cmpci: audio, auconv, mulaw
attach	cmpci at pci
file	dev/pci/cmpci.c			cmpci

# Initio ULTRA WIDE/ULTRA2 WIDE SCSI Controllers
attach	iha at pci with iha_pci
file	dev/pci/iha_pci.c		iha_pci

# Tekram TRM-S1040 SCSI Cards (DC395U/UW/F,DC315/U)
attach	trm at pci with trm_pci
file	dev/pci/trm_pci.c		trm_pci

# AMD Am53c974 PCscsi-PCI SCSI controllers
device	pcscp: scsi, ncr53c9x
attach	pcscp at pci
file	dev/pci/pcscp.c			pcscp

# Guillemot Maxi Radio FM 2000 Radio Card
device	mr: radiobus
attach	mr at pci
file	dev/pci/maxiradio.c		mr

# National Semiconductor DP83820/DP83821 based GigE
device	nge: ether, ifnet, mii, ifmedia, mii_phy
attach	nge at pci
file	dev/pci/if_nge.c		nge

# Cyclades-Z series of intelligent multi-port serial adapters
device	cz
attach	cz at pci
file	dev/pci/cz.c			cz		needs-flag

# Level-1 LXT1001 Gigabit MAC
device	lge: ether, ifnet, mii, ifmedia, mii_phy
attach	lge at pci
file	dev/pci/if_lge.c		lge

# Broadcom BCM570x gigabit ethernet
device	bge: ether, ifnet, mii, ifmedia, mii_phy
attach	bge at pci
file	dev/pci/if_bge.c		bge

# Sundance Tech./Tamarack TC9021 Gigabit Ethernet
device	stge: ether, ifnet, mii, ifmedia, mii_phy, mii_bitbang
attach	stge at pci
file	dev/pci/if_stge.c		stge

# Intel gigabit ethernet
device	gx: ether, ifnet, mii, ifmedia, mii_phy
attach	gx at pci
file	dev/pci/if_gx.c			gx