summaryrefslogtreecommitdiff
path: root/sys/dev/pci/files.pci
blob: 2c8df1bd2f2896e496b6306623829edb8f196ef6 (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
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
#	$OpenBSD: files.pci,v 1.207 2006/05/28 17:21:14 uwe 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
file	dev/pci/agp.c			vga_pci & pciagp

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

attach	sti at pci with sti_pci
file	dev/pci/sti_pci.c		sti_pci

# 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

# Adaptec U320 SCSI controllers
attach	ahd at pci with ahd_pci
file	dev/pci/ahd_pci.c		ahd_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/microcode/adw/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

# LSI MegaRAID SAS RAID controllers
attach	mfi at pci with mfi_pci
file	dev/pci/mfi_pci.c		mfi_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, midibus
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

# Intel 82801 HDA
device	azalia: audio, auconv, mulaw, ac97
attach	azalia at pci
file	dev/pci/azalia.c		azalia
file	dev/pci/azalia_codec.c		azalia

# 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

# ATI IXP 200/300/400 series AC'97 Audio
device	auixp: audio, auconv, mulaw, ac97
attach	auixp at pci
file	dev/pci/auixp.c			auixp

# CS4280 CrystalClear Audio
device	clcs: audio, auconv, mulaw, ac97, firmload
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, firmload
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 Smart ARRAY [234]* RAID controllers
attach	cac at pci with cac_pci
file	dev/pci/cac_pci.c		cac_pci

# Compaq Smart ARRAY [56]* RAID controllers
attach	ciss at pci with ciss_pci
file	dev/pci/ciss_pci.c		ciss_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

# LSILogic Fusion-MPT I/O Processor SCSI/FC family
attach	mpt at pci with mpt_pci
file	dev/pci/mpt_pci.c		mpt_pci

# LSI Logic Fusion-MPT Message Passing Interface
attach	mpi at pci with mpi_pci
file	dev/pci/mpi_pci.c		mpi_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 PCnet-PCI Ethernet controller family
device pcn: ether, ifnet, ifmedia, mii
attach pcn at pci
file	dev/pci/if_pcn.c		pcn

# 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, firmload
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

# Myson Century MTD800/MTD803/MTD891
attach	mtd at pci with mtd_pci
file	dev/pci/if_mtd_pci.c		mtd_pci

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

# Realtek 8169/8169S/8110S
attach	re at pci with re_pci
file	dev/pci/if_re_pci.c		re_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, firmload
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

# Intel Pro/1000
device	em: ether, ifnet, ifmedia
attach	em at pci
file	dev/pci/if_em.c			em
file	dev/pci/if_em_hw.c		em

# Intel Pro/10GbE
device	ixgb: ether, ifnet, ifmedia
attach	ixgb at pci
file	dev/pci/if_ixgb.c		ixgb   
file	dev/pci/ixgb_ee.c		ixgb
file	dev/pci/ixgb_hw.c		ixgb

# Neterion Xframe 10 Gigabit ethernet 
device	xge: ether, ifnet, ifmedia
attach	xge  at pci
file	dev/pci/if_xge.c		xge

# 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/100 Fast Ethernet on PCI
attach	epic at pci with epic_pci
file	dev/pci/if_epic_pci.c		epic_pci

# Alteon Tigon I & II
device	ti: ether, ifnet, ifmedia, firmload
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

# Safenet SafeXcel 1141
device	safe: crypto
attach	safe at pci
file	dev/pci/safe.c			safe

# 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

# EHCI USB controller
attach	ehci at pci with ehci_pci
file	dev/pci/ehci_pci.c		ehci

# 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

# Intel PRO/Wireless 2100
device	ipw: ifnet, wlan, firmload
attach	ipw at pci
file	dev/pci/if_ipw.c		ipw

# Intel PRO/Wireless 2200BG/2915ABG
device	iwi: ifnet, wlan, firmload
attach	iwi at pci
file	dev/pci/if_iwi.c		iwi

# Intel PRO/Wireless 3945ABG
device	wpi: ifnet, wlan, firmload
attach	wpi at pci
file	dev/pci/if_wpi.c		wpi

# 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

# Gemtek/Guillemot PCI Radio Card
device	gtp: tea5757, radiobus
attach	gtp at pci
file	dev/pci/gtp.c			gtp

# 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

# VIA VT6122
device	vge: ether, ifnet, mii, ifmedia, mii_phy
attach	vge at pci
file	dev/pci/if_vge.c		vge

# 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

# NVIDIA nForce Ethernet 
device	nfe: ether, ifnet, mii, ifmedia, mii_phy
attach	nfe at pci
file	dev/pci/if_nfe.c		nfe

# AMD-76x PM and SMBus controller
device	amdpm: i2cbus
attach	amdpm at pci
file	dev/pci/amdpm.c			amdpm

# VIA VT82C686A hardware monitor
device	viaenv
attach	viaenv at pci
file	dev/pci/viaenv.c		viaenv

# Broadcom BCM4401 gigabit ethernet
device	bce: ether, ifnet, mii, ifmedia, mii_phy
attach	bce at pci
file	dev/pci/if_bce.c		bce

# Atheros AR5k (802.11a/b/g) PCI/Mini-PCI
attach	ath at pci with ath_pci
file	dev/pci/if_ath_pci.c		ath_pci

# ADMtek ADM8211 PCI/Mini-PCI
attach	atw at pci with atw_pci
file	dev/pci/if_atw_pci.c		atw_pci

# Realtek RTL8180 PCI/Mini-PCI
attach	rtw at pci with rtw_pci
file	dev/pci/if_rtw_pci.c		rtw_pci

# Ralink RT2500 PCI/Mini-PCI
attach	ral at pci with ral_pci
file	dev/pci/if_ral_pci.c		ral_pci

# Sangoma PCI card
device	san: ifnet, ifmedia, sppp
attach	san at pci
file	dev/pci/if_sandrv.c		san
file	dev/pci/if_san_common.c		san
file	dev/pci/if_san_obsd.c		san
file	dev/pci/if_san_te1.c		san
file	dev/pci/if_san_xilinx.c		san

# PIIX4 power management controller
device	piixpm: i2cbus
attach	piixpm at pci
file	dev/pci/piixpm.c		piixpm

# Intel 6300ESB ICH watchdog timer
device	ichwdt {}
attach	ichwdt at pci
file	dev/pci/ichwdt.c		ichwdt

# Mindspeed/Conexant MUSYCC HDLC controller
device	musycc {} : ifnet
attach	musycc at pci
file	dev/pci/musycc.c		musycc
file	dev/pci/musycc_obsd.c		musycc

# Accoom Artery PCI card
device	art: musycc, ifnet, ifmedia, sppp
attach	art at musycc
file	dev/pci/if_art.c		art
file	dev/pci/bt8370.c		art

# VMware Virtual NIC
device	vic: ether, ifnet, ifmedia
attach	vic at pci
file	dev/pci/if_vic.c		vic

# Intel ICH SMBus controller
device	ichiic: i2cbus
attach	ichiic at pci
file	dev/pci/ichiic.c		ichiic

# Acer Labs M7101 power management controller
device	alipm: i2cbus
attach	alipm at pci
file	dev/pci/alipm.c			alipm

# VIA VT8237 bus control and power management controller
device	viapm: i2cbus
attach	viapm at pci
file	dev/pci/viapm.c			viapm

# AMD-8111 SMBus controller
device	amdiic: i2cbus
attach	amdiic at pci
file	dev/pci/amdiic.c		amdiic

# NVIDIA nForce2/3/4 SMBus controller
device	nviic: i2cbus
attach	nviic at pci
file	dev/pci/nviic.c			nviic

# SD Host Controller
attach	sdhc at pci with sdhc_pci
file	dev/pci/sdhc_pci.c		sdhc