files.pci revision 1.408
1#	$NetBSD: files.pci,v 1.408 2018/11/14 06:56:30 skrll 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
7defflag	opt_pci.h	PCIVERBOSE PCI_CONFIG_DUMP PCI_NETBSD_CONFIGURE
8defparam opt_pci.h	PCI_NETBSD_ENABLE_IDE
9
10defflag	opt_bktr.h	BKTR_430_FX_MODE BKTR_GPIO_ACCESS BKTR_NO_MSP_RESET
11			BKTR_REVERSE_MUTE BKTR_SIS_VIA_MODE BKTR_USE_PLL
12defparam opt_bktr.h	BKTR_OVERRIDE_CARD BKTR_OVERRIDE_TUNER BKTR_OVERRIDE_DBX
13			BKTR_OVERRIDE_MSP BKTR_SYSTEM_DEFAULT
14
15defflag	opt_pciide.h	PCIIDE_CMD064x_DISABLE PCIIDE_AMD756_ENABLEDMA
16			PCIIDE_CMD0646U_ENABLEUDMA PCIIDE_I31244_DISABLEDMA
17
18device	pci {[dev = -1], [function = -1]}
19attach	pci at pcibus
20file	dev/pci/pci.c			pci			needs-flag
21file	dev/pci/pci_map.c		pci
22file	dev/pci/pci_quirks.c		pci
23file	dev/pci/pci_subr.c		pci
24file	dev/pci/pci_stub.c		pci
25file	dev/pci/pci_usrreq.c		pci
26file	dev/pci/pciconf.c		pci & pci_netbsd_configure
27
28file	dev/pci/pcibusprint.c		pcibus
29
30file	dev/pci/pci_verbose.c		pci & pciverbose
31
32file	dev/pci/wsdisplay_pci.c		wsdisplay & pci
33
34# Cypress 82c693 hyperCache(tm) Stand-Alone PCI Peripheral Controller
35# with USB.  This is a combo chip:
36#
37#	PCI-ISA bridge
38#	PCI IDE controller
39#	OHCI USB controller
40#
41# There are some common subroutines that each function needs.
42define	cy82c693
43file	dev/pci/cy82c693.c		cy82c693
44
45# Adaptec 3940, 2940, and aic78[5678]0 SCSI controllers
46# device declaration in sys/conf/files
47attach	ahc at pci with ahc_pci: ahc_seeprom, smc93cx6
48file	dev/pci/ahc_pci.c		ahc_pci
49
50attach	ahd at pci with ahd_pci
51file	dev/pci/ahd_pci.c		ahd_pci
52
53# I2O adapters
54attach	iop at pci with iop_pci
55file	dev/pci/iop_pci.c		iop_pci
56
57# 3ware RAID controllers
58device	twe {unit = -1}
59attach	twe at pci
60file	dev/pci/twe.c			twe
61
62attach	ld at twe with ld_twe
63file	dev/pci/ld_twe.c		ld_twe
64
65device	twa {unit = -1}
66attach	twa at pci
67file	dev/pci/twa.c			twa
68
69attach	ld at twa with ld_twa
70file	dev/pci/ld_twa.c		ld_twa
71
72# AMI RAID controllers
73device	amr {unit = -1}
74attach	amr at pci
75file	dev/pci/amr.c			amr
76
77attach	ld at amr with ld_amr
78file	dev/pci/ld_amr.c		ld_amr
79
80# Areca SATA RAID Controllers
81device	arcmsr: scsi, sysmon_envsys
82attach	arcmsr at pci
83file	dev/pci/arcmsr.c		arcmsr
84
85# Compaq RAID controllers
86attach	cac at pci with cac_pci
87file	dev/pci/cac_pci.c		cac_pci
88
89# Mylex DAC960 RAID controllers
90attach	mlx at pci with mlx_pci
91file	dev/pci/mlx_pci.c		mlx_pci
92
93# Newer Mylex AcceleRAID and eXtremeRAID controllers
94device	mly: scsi
95attach	mly at pci
96file	dev/pci/mly.c			mly			needs-flag
97
98# Myson-Century Technology MTD803 3-in-1 Fast Ethernet Controller
99attach	mtd at pci with mtd_pci
100file	dev/pci/if_mtd_pci.c		mtd_pci
101
102# ICP-Vortex/Intel RAID controllers
103attach	icp at pci with icp_pci
104file	dev/pci/icp_pci.c		icp_pci
105
106# Adaptec FSA RAID controllers
107attach	aac at pci with aac_pci
108file	dev/pci/aac_pci.c		aac_pci
109
110# IBM ServeRAID RAID controllers
111device  ips: scsi
112attach  ips at pci
113file    dev/pci/ips.c                   ips
114
115# DPT EATA SCSI controllers
116attach	dpt at pci with dpt_pci
117file	dev/pci/dpt_pci.c		dpt_pci
118
119# AdvanSys 1200A, 1200B, and ULTRA SCSI controllers
120# device declaration in sys/conf/files
121attach	adv at pci with adv_pci
122file	dev/pci/adv_pci.c		adv_pci
123
124# AdvanSys ULTRA WIDE SCSI controllers
125# device declaration in sys/conf/files
126attach	adw at pci with adw_pci
127file	dev/pci/adw_pci.c		adw_pci
128file	dev/ic/adwlib.c			adw_pci
129file	dev/ic/adwmcode.c		adw_pci
130
131# AMD Am53c974 PCscsi-PCI SCSI controllers
132device	pcscp: scsi, ncr53c9x
133attach	pcscp at pci
134file	dev/pci/pcscp.c			pcscp
135
136# HP/Compaq Command Interface to Scsi-3
137attach ciss at pci with ciss_pci
138file	dev/pci/ciss_pci.c		ciss_pci
139
140# BusLogic BT-9xx PCI family
141# device declaration in sys/conf/files
142attach	bha at pci with bha_pci
143file	dev/pci/bha_pci.c		bha_pci
144
145# Qlogic ISP 10x0 (PCI) family
146# device declaration in sys/conf/files
147attach	isp at pci with isp_pci
148file	dev/pci/isp_pci.c		isp_pci
149
150# LSILogic MegaRAID SAS
151# device declaration in sys/conf/files
152attach	mfi at pci with mfi_pci
153file	dev/pci/mfi_pci.c		mfi_pci
154
155# LSILogic Fusion-MPT I/O Processor family
156# device declaration in sys/conf/files
157attach	mpt at pci with mpt_pci
158file	dev/pci/mpt_pci.c		mpt_pci
159
160# LSI Logic Fusion-MPT Message Passing Interface 2.0
161device	mpii: scsi
162attach	mpii at pci
163file	dev/pci/mpii.c			mpii
164
165# Ethernet driver for DC21040-based boards
166device	de: ether, ifnet, arp
167attach	de at pci
168file	dev/pci/if_de.c			de
169
170# 3Com 3c590 and 3c595 Ethernet controllers
171# device declaration in sys/conf/files
172attach	ep at pci with ep_pci
173file	dev/pci/if_ep_pci.c		ep_pci
174
175# 3Com 3c90x[B] Ethernet controllers
176# device declaration in sys/conf/files
177attach	ex at pci with ex_pci
178file	dev/pci/if_ex_pci.c		ex_pci
179
180# Digital DEFPA PCI FDDI Controller
181device	fpa: pdq, fddi, ifnet, arp
182attach	fpa at pci
183file	dev/pci/if_fpa.c		fpa
184
185# AMD am7990 (LANCE) -based Ethernet controllers
186# device declaration in sys/conf/files
187attach	le at pci with le_pci: le32
188file	dev/pci/if_le_pci.c		le_pci
189
190# AMD PCnet-PCI Ethernet controller family
191# Supersedes if_le_pci.c
192device	pcn: ether, ifnet, arp, mii
193attach	pcn at pci
194file	dev/pci/if_pcn.c		pcn
195
196# common code for siop/esiop pci front end
197define	siop_pci_common
198file	dev/pci/siop_pci_common.c	siop_pci_common
199
200# Symbios 53c8xx SCSI chips
201# device declaration in sys/conf/files
202attach	siop at pci with siop_pci: siop_pci_common
203file	dev/pci/siop_pci.c		siop_pci
204attach	esiop at pci with esiop_pci: siop_pci_common
205file	dev/pci/esiop_pci.c		esiop_pci
206
207# Initio INIC-940/950 SCSI controllers
208attach	iha at pci with iha_pci
209file	dev/pci/iha_pci.c		iha_pci
210
211# Tekram DC-395U/UW/F and DC-315/U SCSI controllers
212device	trm: scsi
213attach	trm at pci
214file	dev/pci/trm.c			trm
215
216# Guillemot Maxi Radio FM 2000 Radio Card
217device	gtp: radiodev, tea5757
218attach	gtp at pci
219file	dev/pci/gtp.c			gtp
220
221# MediaForte SoundForte SF64-PCR Radio card
222#device	sf4r: radiodev, tea5757
223#attach	sf4r at pci
224#file	dev/pci/sf64pcr.c		sf4r
225
226# PCI IDE controllers
227define pciide_common
228file dev/pci/pciide_common.c pciide_common
229
230device	pciide: ata, pciide_common, wdc_common
231attach	pciide at pci
232file	dev/pci/pciide.c		pciide
233
234# AHCI SATA controllers
235attach	ahcisata at pci with ahcisata_pci
236file	dev/pci/ahcisata_pci.c		ahcisata_pci
237
238# Acard IDE controllers
239device	acardide: ata, ata_dma, ata_udma, pciide_common, wdc_common
240attach	acardide at pci
241file	dev/pci/acardide.c		acardide
242
243# Acer Lab IDE controllers
244device	aceride: ata, ata_dma, ata_udma, pciide_common, wdc_common
245attach	aceride at pci
246file	dev/pci/aceride.c		aceride
247
248# Intel i31244 SATA controller
249device	artsata: ata, ata_dma, ata_udma, pciide_common, wdc_common, sata
250attach	artsata at pci
251file	dev/pci/artsata.c		artsata
252
253# CMD tech IDE controllers
254device	cmdide: ata, ata_dma, ata_udma, pciide_common, wdc_common
255attach	cmdide at pci
256file	dev/pci/cmdide.c		cmdide
257
258# Cypress IDE controllers
259device	cypide: ata, ata_dma, pciide_common, wdc_common, cy82c693
260attach	cypide at pci
261file	dev/pci/cypide.c		cypide
262
263# AMD Geode IDE controllers
264device	geodeide: ata, ata_dma, ata_udma, pciide_common, wdc_common
265attach	geodeide at pci
266file	dev/pci/geodeide.c		geodeide
267
268# Triones/HighPoint IDE controllers
269device	hptide: ata, ata_dma, ata_udma, pciide_common, wdc_common
270attach	hptide at pci
271file	dev/pci/hptide.c		hptide
272
273# Integrated Technology Express IDE controllers
274device	iteide: ata, ata_dma, ata_udma, pciide_common, wdc_common
275attach	iteide at pci
276file	dev/pci/iteide.c		iteide
277
278# Jmicron hybrid IDE/AHCI controllers
279define  jmide_hl { }
280device	jmide: ata, ata_dma, ata_udma, pciide_common, wdc_common, jmide_hl
281attach	jmide at pci
282attach	ahcisata at jmide_hl with jmahci
283file	dev/pci/jmide.c			jmide | jmahci needs-flag
284
285# National Semiconductor IDE controllers
286device	nside: ata, ata_dma, ata_udma, pciide_common, wdc_common
287attach	nside at pci
288file	dev/pci/nside.c			nside
289
290# Opti IDE controllers
291device	optiide: ata, ata_dma, pciide_common, wdc_common
292attach	optiide at pci
293file	dev/pci/optiide.c		optiide
294
295# Intel IDE controllers
296device	piixide: ata, ata_dma, ata_udma, pciide_common, wdc_common
297attach	piixide at pci
298file	dev/pci/piixide.c		piixide
299
300# Promise Serial ATA controllers
301device	pdcsata: ata, ata_dma, ata_udma, pciide_common, wdc_common, sata
302attach	pdcsata at pci
303file	dev/pci/pdcsata.c		pdcsata
304
305# Promise IDE controllers
306device	pdcide: ata, ata_dma, ata_udma, pciide_common, wdc_common
307attach	pdcide at pci
308file	dev/pci/pdcide.c		pdcide
309
310# ServerWorks IDE controllers
311device	rccide: ata, ata_dma, ata_udma, pciide_common, wdc_common
312attach	rccide at pci
313file	dev/pci/rccide.c		rccide
314
315# RDC IDE controllers
316device	rdcide: ata, ata_dma, ata_udma, pciide_common, wdc_common
317attach	rdcide at pci
318file	dev/pci/rdcide.c		rdcide
319
320# ServerWorks SATA controllers
321device	svwsata: ata, ata_dma, ata_udma, pciide_common, wdc_common, sata
322attach	svwsata at pci
323file	dev/pci/svwsata.c		svwsata
324
325# Silicon Image SATALink controllers
326device	satalink: ata, ata_dma, ata_udma, pciide_common, wdc_common, sata
327attach	satalink at pci
328file	dev/pci/satalink.c		satalink
329
330# Intel SCH IDE controllers
331device	schide: ata, ata_dma, ata_udma, pciide_common, wdc_common
332attach	schide at pci
333file	dev/pci/schide.c		schide
334
335# SiS IDE controllers
336device	siside: ata, ata_dma, ata_udma, pciide_common, wdc_common
337attach	siside at pci
338file	dev/pci/siside.c		siside
339
340# Symphony Labs IDE controllers
341device	slide: ata, ata_dma, pciide_common, wdc_common
342attach	slide at pci
343file	dev/pci/slide.c		slide
344
345# ServerWorks IDE controllers
346#device	swide: ata, ata_dma, ata_udma, pciide_common, wdc_common
347#attach	swide at pci
348#file	dev/pci/swide.c		swide
349
350# VIA/AMD/Nvidia IDE controllers
351device	viaide: ata, ata_dma, ata_udma, pciide_common, wdc_common, sata
352attach	viaide at pci
353file	dev/pci/viaide.c	viaide
354
355# STMicroelectronics STPC IDE controllers
356device	stpcide: ata, ata_dma, ata_udma, pciide_common, wdc_common
357attach	stpcide at pci
358file	dev/pci/stpcide.c	stpcide
359
360# ATI IXP IDE controllers
361device	ixpide: ata, ata_dma, ata_udma, pciide_common, wdc_common
362attach	ixpide at pci
363file	dev/pci/ixpide.c	ixpide
364
365# Toshiba PICCOLO IDE controllers
366device	toshide: ata, ata_dma, pciide_common, wdc_common
367attach	toshide at pci
368file	dev/pci/toshide.c	toshide
369
370# PCI-PCI bridge chips
371device	ppb: pcibus
372attach	ppb at pci
373file	dev/pci/ppb.c			ppb
374
375# Cyclades Cyclom-8/16/32
376attach	cy at pci with cy_pci
377file	dev/pci/cy_pci.c		cy_pci
378
379# Cyclades-Z series of intelligent multi-port serial adapters
380device	cz
381attach	cz at pci
382file	dev/pci/cz.c			cz			needs-flag
383
384# Intel EtherExpress PRO 10/100B
385attach	fxp at pci with fxp_pci
386file	dev/pci/if_fxp_pci.c		fxp_pci
387
388# Sun HME-network
389attach	hme at pci with hme_pci
390file	dev/pci/if_hme_pci.c		hme_pci
391
392# Sun GEM-network
393attach	gem at pci with gem_pci
394file	dev/pci/if_gem_pci.c		gem_pci
395
396# Sun Cassini-network
397device	cas: arp, ether, ifnet, mii
398attach	cas at pci
399file	dev/pci/if_cas.c		cas
400
401# JMicron JMC2[56]0 ethernet controllers
402device	jme: ether, ifnet, arp, mii
403attach	jme at pci
404file	dev/pci/if_jme.c		jme
405
406# NE2000-compatible PCI Ethernet cards
407attach	ne at pci with ne_pci: rtl80x9
408file	dev/pci/if_ne_pci.c		ne_pci
409
410# Texas Instruments ThunderLAN Chip.
411device	tl: ether, ifnet, arp, i2cexec, at24cxx_eeprom, i2c_bitbang,
412	    mii, mii_bitbang
413attach	tl at pci
414file	dev/pci/if_tl.c			tl
415
416# SDL Communications N2 PCI Network Interface
417# device declaration in sys/conf/files
418attach	ntwoc at pci with ntwoc_pci
419file	dev/pci/if_ntwoc_pci.c		ntwoc_pci
420
421# Lan Media Corporation T1/HSSI/DS3 driver
422device	lmc: ifnet, sppp
423attach	lmc at pci
424file	dev/pci/if_lmc.c		lmc
425
426# Essential Communications HIPPI interface
427# device declaration in sys/conf/files
428attach	esh at pci with esh_pci
429file	dev/pci/if_esh_pci.c		esh_pci
430
431# generic PCI VGA
432defflag	opt_vga.h	VGA_POST:	X86EMU
433attach	vga at pci with vga_pci
434file	dev/pci/vga_pci.c		vga_pci			needs-flag
435
436# DEC TGA
437device	tga: wsemuldisplaydev, rasops8, rasops32
438attach	tga at pci
439file	dev/pci/tga.c			tga			needs-flag
440file	dev/pci/tga_conf.c		tga
441file	dev/ic/bt485.c			tga
442file	dev/ic/bt463.c			tga
443file	dev/ic/ibm561.c			tga
444
445# HP Visualize
446attach	sti at pci with sti_pci
447file	dev/pci/sti_pci.c		sti_pci			needs-flag
448
449# Integraphics Systems IGA168x and CyberPro framebuffers (linear non-VGA mode)
450# device declaration in sys/conf/files
451attach	igsfb at pci with igsfb_pci
452file	dev/pci/igsfb_pci.c		igsfb_pci
453
454# Brooktree Bt848 video capture
455device	bktr: radiodev
456attach	bktr at pci
457file	dev/pci/bktr/bktr_audio.c	bktr
458file	dev/pci/bktr/bktr_card.c	bktr
459file	dev/pci/bktr/bktr_core.c	bktr
460file	dev/pci/bktr/bktr_os.c		bktr			needs-flag
461file	dev/pci/bktr/bktr_tuner.c	bktr
462
463# Cirrus Logic CrystalClear PCI Audio CS4280
464device	clcs: audiobus, auconv, mulaw, ac97, midibus
465attach	clcs at pci
466file	dev/pci/cs4280.c		clcs
467
468# Cirrus Logic CrystalClear PCI Audio CS4281
469device	clct: audiobus, auconv, mulaw, ac97
470attach	clct at pci
471file	dev/pci/cs4281.c		clct
472
473# Shared code for Cirrus Logic CrystalClear PCI Audio CS4280 and CS4281
474file	dev/pci/cs428x.c		clcs | clct
475
476# Forte Media FM801
477device	fms { }: audiobus, auconv, mulaw, ac97, midibus
478attach	fms at pci
479file	dev/pci/fms.c			fms
480
481attach	opl at fms with opl_fms
482file	dev/pci/opl_fms.c		opl_fms
483
484attach	mpu at fms with mpu_fms
485file	dev/pci/mpu_fms.c		mpu_fms
486
487# Ensoniq AudioPCI S5016
488device	eap { }: audiobus, auconv, mulaw, ac97, midibus
489attach	eap at pci
490file	dev/pci/eap.c			eap
491
492attach	joy at eap with joy_eap
493file	dev/pci/joy_eap.c		joy_eap needs-flag
494
495# Acer Labs M5455
496device	auacer: audiobus, auconv, mulaw, ac97, aurateconv
497attach	auacer at pci
498file	dev/pci/auacer.c		auacer
499
500# Intel ICH AC'97 audio
501device	auich: audiobus, auconv, mulaw, ac97, aurateconv
502attach	auich at pci
503file	dev/pci/auich.c			auich
504
505# VIA VT82C686A/VT8233/VT8235 AC'97 Audio
506device	auvia: audiobus, auconv, mulaw, ac97, aurateconv
507attach	auvia at pci
508file	dev/pci/auvia.c			auvia
509
510# ATI IXP 200/300/400 series AC'97 Audio
511device	auixp: audiobus, auconv, mulaw, ac97, aurateconv
512attach	auixp at pci
513file	dev/pci/auixp.c			auixp
514
515# High Definition Audio
516device	azalia: audiobus, auconv, mulaw, ac97, aurateconv
517attach	azalia at pci
518file	dev/pci/azalia.c		azalia
519file	dev/pci/azalia_codec.c		azalia
520
521# AMD Geode CS5536 Companion Audio
522device	gcscaudio: audiobus, auconv, mulaw, ac97, aurateconv
523attach	gcscaudio at pci
524file	dev/pci/gcscaudio.c		gcscaudio
525
526# NeoMagic 256 AC'97 Audio
527device	neo: audiobus, auconv, mulaw, ac97
528attach	neo at pci
529file	dev/pci/neo.c			neo
530
531# ESS Allegro-1 / Maestro3
532device	esa: audiobus, auconv, mulaw, ac97
533attach	esa at pci
534file	dev/pci/esa.c			esa
535
536# ESS Solo-1 PCI AudioDrive
537device	eso { }: audiobus, auconv, mulaw, midibus
538attach	eso at pci
539file	dev/pci/eso.c			eso
540
541attach	opl at eso with opl_eso
542file	dev/pci/opl_eso.c		opl_eso
543
544attach	mpu at eso with mpu_eso
545file	dev/pci/mpu_eso.c		mpu_eso
546
547attach	joy at eso with joy_eso
548file	dev/pci/joy_eso.c		joy_eso
549
550# ESS Maestro-1/2/2e PCI AC97 Audio Accelerator
551device	esm: audiobus, auconv, mulaw, ac97
552attach	esm at pci
553file	dev/pci/esm.c			esm
554
555# S3 SonicVibes (S3 617)
556device	sv { }: audiobus, auconv, mulaw, midibus
557attach	sv at pci
558file	dev/pci/sv.c			sv
559
560attach	opl at sv with opl_sv
561file	dev/pci/opl_sv.c		opl_sv
562
563# C-Media CMI8x38 Audio Chip
564device	cmpci { }: audiobus, auconv, mulaw
565attach	cmpci at pci
566file	dev/pci/cmpci.c			cmpci
567
568attach	opl at cmpci with opl_cmpci
569file	dev/pci/opl_cmpci.c		opl_cmpci
570
571attach	mpu at cmpci with mpu_cmpci
572file	dev/pci/mpu_cmpci.c		mpu_cmpci
573
574# Yamaha YMF724/740/744/754 PCI audio controller
575device	yds { }: audiobus, auconv, mulaw, ac97
576attach	yds at pci
577file	dev/pci/yds.c			yds
578
579attach	opl at yds with opl_yds
580file	dev/pci/opl_yds.c		opl_yds
581
582attach	mpu at yds with mpu_yds
583file	dev/pci/mpu_yds.c		mpu_yds
584
585# Creative Labs EMU10k1 (SBLive! series and PCI512)
586device	emuxki: audiobus, auconv, mulaw, ac97
587attach	emuxki at pci
588file	dev/pci/emuxki.c		emuxki
589
590# Trident 4DWAVE AC'97 audio (including SiS 7018,ALi M5451)
591device	autri: audiobus, auconv, mulaw, ac97, midibus
592attach	autri at pci
593file	dev/pci/autri.c			autri
594
595# SMC EPIC/100 Fast Ethernet on PCI
596attach	epic at pci with epic_pci
597file	dev/pci/if_epic_pci.c		epic_pci
598
599# PCI "universal" communication device driver, for PCI com, lpt, etc. ports
600# (see documentation in the driver for what, exactly, should be supported)
601device	puc { port = -1 }
602attach	puc at pci
603file	dev/pci/puc.c			puc
604file	dev/pci/pucdata.c		puc
605defflag opt_puc.h	PUC_CNAUTO
606defparam opt_puc.h	PUC_CNBUS
607
608attach	com at puc with com_puc
609file	dev/pci/com_puc.c		com_puc needs-flag
610file	dev/pci/cyber.c			com_puc
611file	dev/pci/puccn.c			com_puc
612
613attach	lpt at puc with lpt_puc
614file	dev/pci/lpt_puc.c		lpt_puc & !ppbus
615
616attach	atppc at puc with atppc_puc
617file	dev/pci/atppc_puc.c		atppc_puc
618
619# UHCI USB controller
620attach	uhci at pci with uhci_pci
621file	dev/pci/uhci_pci.c		uhci_pci
622
623# OHCI USB controller
624attach	ohci at pci with ohci_pci
625file	dev/pci/ohci_pci.c		ohci_pci
626
627# EHCI USB controller
628attach	ehci at pci with ehci_pci
629file	dev/pci/ehci_pci.c		ehci_pci
630
631file	dev/pci/usb_pci.c		ehci_pci | ehci_cardbus
632
633# xHCI USB controller
634attach	xhci at pci with xhci_pci
635file	dev/pci/xhci_pci.c		xhci_pci
636defflag	opt_xhci_pci.h			XHCI_DISABLE_MSI
637defflag	opt_xhci_pci.h			XHCI_DISABLE_MSIX
638
639# OHCI IEEE 1394 controller
640attach	fwohci at pci with fwohci_pci
641file	dev/pci/fwohci_pci.c		fwohci_pci
642
643# VIA Rhine/Rhine II Fast Ethernet controllers
644device	vr: ether, ifnet, arp, mii, mii_bitbang
645attach	vr at pci
646file	dev/pci/if_vr.c			vr
647
648# SiS 900 Fast Ethernet controllers
649device	sip: ether, ifnet, arp, mii, mii_bitbang
650attach	sip at pci
651file	dev/pci/if_sip.c		sip | gsip
652
653# National Semiconductor DP83820 Gigabit Ethernet
654device	gsip: ether, ifnet, arp, mii, mii_bitbang
655attach	gsip at pci
656
657# Level One LXT-1001 Gigabit Ethernet
658#device	glxt: ether, ifnet, arp, mii
659#attach	glxt at pci
660#file	dev/pci/if_glxt.c		glxt
661
662# Sundance Tech./Tamarack TC9021 Gigabit Ethernet
663device	stge: ether, ifnet, arp, mii, mii_bitbang
664attach	stge at pci
665file	dev/pci/if_stge.c		stge
666
667# Intel i82598 & i82599 10-Gigabit Ethernet
668device	ixg: ether, ifnet, arp, mii, mii_phy
669attach	ixg at pci
670file	dev/pci/ixgbe/ixgbe.c		ixg | ixv
671file	dev/pci/ixgbe/ix_txrx.c		ixg | ixv
672file	dev/pci/ixgbe/ixgbe_netbsd.c	ixg | ixv
673file	dev/pci/ixgbe/ixgbe_82598.c	ixg | ixv
674file	dev/pci/ixgbe/ixgbe_82599.c	ixg | ixv
675file	dev/pci/ixgbe/ixgbe_x540.c	ixg | ixv
676file	dev/pci/ixgbe/ixgbe_x550.c	ixg | ixv
677file	dev/pci/ixgbe/ixgbe_api.c	ixg | ixv
678file	dev/pci/ixgbe/ixgbe_common.c	ixg | ixv
679file	dev/pci/ixgbe/ixgbe_mbx.c	ixg | ixv
680file	dev/pci/ixgbe/ixgbe_osdep.c	ixg | ixv
681file	dev/pci/ixgbe/ixgbe_phy.c	ixg | ixv
682file	dev/pci/ixgbe/ixgbe_vf.c	ixg | ixv
683file	dev/pci/ixgbe/if_bypass.c	ixg | ixv
684file	dev/pci/ixgbe/if_fdir.c		ixg | ixv
685
686# This appears to be the driver for virtual instances of i82599.
687device	ixv: ether, ifnet, arp, mii, mii_phy
688attach	ixv at pci
689file	dev/pci/ixgbe/ixv.c		ixv
690
691# Intel i8254x Gigabit Ethernet
692device	wm: ether, ifnet, arp, mii, mii_bitbang
693attach	wm at pci
694file	dev/pci/if_wm.c			wm
695defflag	opt_if_wm.h	WM_EVENT_COUNTERS
696defparam opt_if_wm.h	WM_RX_PROCESS_LIMIT_DEFAULT
697			WM_RX_INTR_PROCESS_LIMIT_DEFAULT
698			WM_DISABLE_MSI
699			WM_DISABLE_MSIX
700
701# Broadcom 570x Gigabit Ethernet
702device	bge: ether, ifnet, arp, mii, mii_bitbang
703attach	bge at pci
704file	dev/pci/if_bge.c		bge
705
706# Broadcom NetXtreme II
707device	bnx: ether, ifnet, arp, mii
708attach	bnx at pci
709file	dev/pci/if_bnx.c		bnx
710
711# Realtek 8129/8139 Ethernet controllers
712attach	rtk at pci with rtk_pci
713file	dev/pci/if_rtk_pci.c		rtk_pci
714
715# DECchip 21x4x Ethernet controller family, and assorted clones.
716attach	tlp at pci with tlp_pci
717file	dev/pci/if_tlp_pci.c		tlp_pci
718
719# Bit3 PCI-VME mod. 617
720device	btvmei: vmebus
721attach	btvmei at pci
722file	dev/pci/btvmei.c		btvmei
723#file	dev/pci/btvmei_dma.c		btvmei
724#file	dev/pci/btvmei_cntlrdma.c	btvmei
725
726# Alteon ACEnic Gigabit Ethernet controller
727device	ti: ether, ifnet, arp
728attach	ti at pci
729file	dev/pci/if_ti.c			ti
730
731# Adaptec AIC-6915 Ethernet interface
732attach	sf at pci with sf_pci
733file	dev/pci/if_sf_pci.c		sf_pci
734
735# Sundance Tech. ST-201 10/100 Ethernet
736device	ste: ether, ifnet, arp, mii, mii_bitbang
737attach	ste at pci
738file	dev/pci/if_ste.c		ste
739
740# YENTA PCI-Cardbus bridge
741#device	cbb: cbbus, pcmciabus
742device	cbb: pcmciaslot
743attach	cbb at pci with cbb_pci
744file	dev/pci/pccbb.c			cbb
745
746# Tundra Universe PCI-VME adapter
747define	univ_pci
748file	dev/pci/universe_pci.c univ_pci
749
750# Bit3 PCI-VME mod. 2706
751device	btvmeii: vmebus, univ_pci
752attach	btvmeii at pci
753file	dev/pci/btvmeii.c btvmeii
754
755# VIA VT82C686A/VT8231 PM Timer and Hardware Monitor
756device	viaenv: acpipmtimer, sysmon_envsys
757attach	viaenv at pci
758file	dev/pci/viaenv.c		viaenv
759
760# Intel PIIX4 power management controller
761device	piixpm: i2cbus, acpipmtimer
762attach	piixpm at pci
763file	dev/pci/piixpm.c		piixpm
764
765# AMD 768MPX power management controller
766defflag	opt_amdpm.h			AMDPM_RND_COUNTERS
767device	amdpm: i2cbus, acpipmtimer
768attach	amdpm at pci
769file	dev/pci/amdpm.c			amdpm
770file	dev/pci/amdpm_smbus.c		amdpm
771
772# Hi/fn 7751
773device	hifn: opencrypto
774attach	hifn at pci
775file	dev/pci/hifn7751.c		hifn
776
777# Bluesteelnet 5501/5601, Broadcom 580x/582x security processor
778device	ubsec: opencrypto
779attach	ubsec at pci
780file	dev/pci/ubsec.c			ubsec
781
782# Aironet PC4500/PC4800
783attach	an at pci with an_pci
784file	dev/pci/if_an_pci.c		an_pci
785
786# ADMtek ADM8211 PCI/Mini-PCI
787attach	atw at pci with atw_pci
788file	dev/pci/if_atw_pci.c		atw_pci
789
790# Realtek RTL8180 PCI/Mini-PCI
791attach	rtw at pci with rtw_pci
792file	dev/pci/if_rtw_pci.c		rtw_pci
793
794# Realtek RTL8188CE Mini-PCIe
795device	rtwn: ifnet, arp, wlan, firmload
796attach	rtwn at pci
797file	dev/pci/if_rtwn.c		rtwn
798
799# Ralink RT2500/RT2600 PCI/Mini-PCI
800attach	ral at pci with ral_pci
801file	dev/pci/if_ral_pci.c		ral_pci
802
803# Marvel Libertas Open
804attach  malo at pci with malo_pci
805file    dev/pci/if_malo_pci.c       malo_pci
806
807# Intersil Prism2.5 Mini-PCI
808attach	wi at pci with wi_pci
809file	dev/pci/if_wi_pci.c		wi_pci
810
811# IrDA devices
812#  Toshiba Fast Infrared Type O IrDA driver
813device	oboe: irbus, irdasir
814attach	oboe at pci
815file	dev/pci/oboe.c			oboe
816
817# Middle Digital, Inc. PCI-Weasel serial console board control
818# devices (watchdog timer, etc.)
819device	weasel: sysmon_wdog
820attach	weasel at pci with weasel_pci
821file	dev/pci/weasel_pci.c		weasel
822
823# Game adapter (joystick)
824attach	joy at pci with joy_pci
825file	dev/pci/joy_pci.c		joy_pci
826
827# ATI Mach64 framebuffer console driver
828defflag	opt_machfb.h	MACHFB_DEBUG
829device	machfb: wsemuldisplaydev, rasops8, fb, vcons, videomode, edid, drm, glyphcache
830attach	machfb at pci
831file	dev/pci/machfb.c		machfb
832
833# 3Dfx Voodoo3 framebuffer console driver
834device	voodoofb: wsemuldisplaydev, rasops8, vcons, videomode, drm, i2cbus, i2c_bitbang, ddc_read_edid, edid
835attach	voodoofb at pci
836file	dev/pci/voodoofb.c		voodoofb
837
838# VIA UniChrome framebuffer console driver
839device	unichromefb: wsemuldisplaydev, rasops16, rasops32, vcons, drm
840attach	unichromefb at pci
841file	dev/pci/unichromefb.c		unichromefb needs-flag
842
843# ATI Radeon framebuffer console driver
844# (Note: to enable the BIOS parser, add options RADEON_BIOS_INIT to the config)
845device	radeonfb: wsemuldisplaydev, videomode, rasops8, rasops32, vcons, splash, i2cbus, i2c_bitbang, ddc_read_edid, edid, drm, glyphcache
846attach	radeonfb at pci
847file	dev/pci/radeonfb.c	radeonfb
848file	dev/pci/radeonfb_i2c.c	radeonfb
849file	dev/pci/radeonfb_bios.c	radeonfb
850defflag opt_radeonfb.h	RADEONFB_DEBUG
851defflag opt_radeonfb.h	RADEONFB_BIOS_INIT
852defflag opt_radeonfb.h	RADEONFB_BIOS_DEBUG
853defflag opt_radeonfb.h	RADEONFB_MMAP_BARS
854defflag opt_radeonfb.h	RADEONFB_DEPTH_32
855defflag opt_radeonfb.h	RADEONFB_ALWAYS_ACCEL_PUTCHAR
856
857# Chelsio Terminator 3 (T3) 10 gigabit ethernet
858device	cxgbc { }
859attach	cxgbc at pci
860device	cxgb: ether, ifnet, arp
861attach	cxgb at cxgbc
862file	dev/pci/cxgb/cxgb_main.c	cxgbc | cxgb
863file	dev/pci/cxgb/cxgb_mc5.c		cxgbc | cxgb
864file	dev/pci/cxgb/cxgb_vsc8211.c	cxgbc | cxgb
865file	dev/pci/cxgb/cxgb_ael1002.c	cxgbc | cxgb
866file	dev/pci/cxgb/cxgb_mv88e1xxx.c	cxgbc | cxgb
867file	dev/pci/cxgb/cxgb_vsc7323.c	cxgbc | cxgb
868file	dev/pci/cxgb/cxgb_xgmac.c	cxgbc | cxgb
869file	dev/pci/cxgb/cxgb_t3_hw.c	cxgbc | cxgb
870file	dev/pci/cxgb/cxgb_sge.c		cxgbc | cxgb
871file	dev/pci/cxgb/cxgb_lro.c		cxgbc | cxgb
872# file	dev/pci/cxgb/cxgb_offload.c	cxgbc | cxgb
873file	dev/pci/cxgb/cxgb_l2t.c		cxgbc | cxgb
874file	dev/pci/cxgb/cxgb_osdep.c	cxgbc | cxgb
875
876# Chips & Technologies 65550 framebuffer console driver
877attach	chipsfb at pci with chipsfb_pci
878file	dev/pci/chipsfb.c		chipsfb_pci
879
880# 3Com 3c990
881device	txp: ether, ifnet, arp
882attach	txp at pci
883file	dev/pci/if_txp.c		txp
884
885# SysKonnect
886device	skc { }
887attach	skc at pci
888device	sk: ether, ifnet, arp, mii
889attach	sk at skc
890file	dev/pci/if_sk.c			skc | sk
891
892# Broadcom 4401 10/100 Ethernet
893device	bce: ether, ifnet, arp, mii
894attach	bce at pci
895file	dev/pci/if_bce.c		bce
896
897# Intel PRO/10GbE
898device	dge: ether, ifnet, arp
899attach	dge at pci
900file	dev/pci/if_dge.c		dge
901
902# Realtek 8169 Ethernet controllers
903attach	re at pci with re_pci
904file	dev/pci/if_re_pci.c		re_pci
905
906# Intel PRO/Wireless 2100
907device	ipw: ifnet, arp, wlan, firmload
908attach	ipw at pci
909file	dev/pci/if_ipw.c		ipw
910
911# Intel PRO/Wireless 2200BG/2915ABG
912device	iwi: ifnet, arp, wlan, firmload
913attach	iwi at pci
914file	dev/pci/if_iwi.c		iwi
915
916# Intel PRO/Wireless 3945ABG
917device	wpi: ifnet, arp, wlan, firmload
918attach	wpi at pci
919file	dev/pci/if_wpi.c		wpi
920
921# Intel PRO/Wireless 4965AGN Mini-PCI Adapter
922device	iwn: ifnet, arp, wlan, firmload
923attach	iwn at pci
924file	dev/pci/if_iwn.c		iwn
925
926# Intel Centrino 7260
927device	iwm: ifnet, arp, wlan, firmload
928attach	iwm at pci
929file	dev/pci/if_iwm.c		iwm
930
931# Workbit NinjaSCSI-32 controllers
932# device declaration in sys/conf/files
933attach	njs at pci with njs_pci
934file	dev/pci/njs_pci.c		njs_pci
935
936# S2io Xframe 10 Gigabit ethernet (Xframe driver)
937device  xge: ether, ifnet, arp
938attach  xge  at pci 
939file    dev/pci/if_xge.c		xge
940
941# Via Velocity 612x 10/100/1000 Ethernet
942device	vge: ether, ifnet, arp, mii
943attach	vge at pci
944file	dev/pci/if_vge.c		vge
945
946# Atheros 5210/5211/5212 PCI/Mini-PCI
947attach	ath at pci with ath_pci
948file	dev/pci/if_ath_pci.c		ath_pci
949
950# Atheros AR9k (802.11 a/g/n)
951attach	athn at pci with athn_pci
952file	dev/pci/if_athn_pci.c		athn_pci
953
954# NVIDIA nForce Ethernet
955device  nfe: ether, ifnet, arp, mii, mii_phy
956attach  nfe at pci
957file    dev/pci/if_nfe.c                nfe
958
959# MICREL Etherent
960device	kse: ether, ifnet, arp
961attach	kse at pci
962file	dev/pci/if_kse.c		kse
963
964# Yukon 2
965device	mskc { }
966attach	mskc at pci
967device	msk: ether, ifnet, arp, mii
968attach	msk at mskc
969file	dev/pci/if_msk.c		mskc | msk
970
971# SD Host Controller
972attach	sdhc at pci with sdhc_pci
973file	dev/pci/sdhc_pci.c		sdhc_pci
974
975# generic framebuffer console driver, PCI frontend
976attach genfb at pci with genfb_pci : splash
977file	dev/pci/genfb_pci.c	genfb_pci
978
979# NVIDIA nForce2/3/4 SMBus controller
980device	nfsmbc { }
981attach	nfsmbc at pci
982device	nfsmb: i2cbus
983attach	nfsmb at nfsmbc
984file	dev/pci/nfsmb.c			nfsmbc | nfsmb
985
986# Intel ICH SMBus controller
987device	ichsmb: i2cbus
988attach	ichsmb at pci
989file	dev/pci/ichsmb.c		ichsmb
990
991# ATI Rage 128 framebuffer console driver
992device	r128fb: wsemuldisplaydev, rasops8, rasops32, vcons, videomode, i2cbus, i2c_bitbang, glyphcache
993attach	r128fb at pci
994file	dev/pci/r128fb.c		r128fb
995defflag	opt_r128fb.h	R128FB_DEBUG
996defflag	opt_r128fb.h	R128FB_WAIT
997
998# Attansic/Atheros L1 Gigabit-Ethernet
999device	age: ether, ifnet, arp, mii, mii_phy
1000attach	age at pci
1001file	dev/pci/if_age.c		age
1002
1003# Attansic/Atheros L1C/L2C Gigabit Ethernet
1004device	alc: ether, ifnet, arp, mii, mii_phy
1005attach	alc at pci
1006file	dev/pci/if_alc.c		alc
1007
1008# Attanisc/Atheros L1E Gigabit Ethernet
1009device	ale: ether, ifnet, arp, mii, mii_phy
1010attach	ale at pci
1011file	dev/pci/if_ale.c		ale
1012
1013# Atheros/Attansic L2 Fast-Ethernet
1014device	lii: ether, ifnet, arp, mii
1015attach	lii at pci
1016file	dev/pci/if_lii.c		lii
1017
1018# Silicon Image SteelVine SATA-II controllers
1019attach	siisata at pci with siisata_pci
1020file	dev/pci/siisata_pci.c		siisata_pci
1021
1022# Acer Labs M7101 power management controller
1023device	alipm: i2cbus
1024attach	alipm at pci
1025file	dev/pci/alipm.c				alipm
1026
1027#
1028# Broadcom AirForce / Apple Airport Extreme
1029#
1030attach	bwi at pci with bwi_pci
1031file	dev/pci/if_bwi_pci.c		bwi_pci
1032
1033# Broadcom FullMAC USB wireless adapter
1034attach	bwfm at pci with bwfm_pci: firmload
1035file	dev/pci/if_bwfm_pci.c		bwfm_pci
1036
1037# Marvell Serial-ATA Host Controller
1038attach	mvsata at pci with mvsata_pci
1039file	dev/pci/mvsata_pci.c		mvsata_pci
1040
1041include "dev/pci/voyager/files.voyager"
1042# Silicon Motion SM502 / Voyager GX
1043device	voyager: i2c_bitbang, voyagerbus, i2cbus
1044attach	voyager at pci
1045file	dev/pci/voyager.c		voyager
1046defflag	opt_voyager.h	VOYAGER_DEBUG
1047
1048# High Definition Audio
1049attach	hdaudio at pci with hdaudio_pci
1050file	dev/pci/hdaudio_pci.c		hdaudio_pci
1051
1052# Permedia 2 / Sun PGX32 / Raptor
1053device	pm2fb: wsemuldisplaydev, rasops8, rasops32, vcons, videomode, i2cbus, i2c_bitbang, ddc_read_edid, edid, glyphcache
1054attach	pm2fb at pci
1055file	dev/pci/pm2fb.c		pm2fb
1056defflag	opt_pm2fb.h	PM2FB_DEBUG
1057
1058# Permedia 3 / Oxygen VX1 / Proformance 3  
1059device  pm3fb: wsemuldisplaydev, rasops8, vcons, videomode, i2cbus, i2c_bitbang, ddc_read_edid, edid
1060attach  pm3fb at pci
1061file	dev/pci/pm3fb.c		pm3fb
1062
1063# 3Dlabs Wildcat / Sun XVR-500, 1200, Expert3D etc.
1064device		wcfb: wsemuldisplaydev, rasops8, vcons
1065attach		wcfb at pci
1066file		dev/pci/wcfb.c	wcfb
1067defflag		opt_wcfb.h	WCFB_DEBUG
1068
1069# Domex 536, 5380-compatible SCSI HBA
1070attach	nca at pci with nca_pci
1071file	dev/pci/nca_pci.c	nca_pci
1072
1073# Agere ET1310/1301 Ethernet
1074device	et: ether, ifnet, arp, mii, mii_phy
1075attach	et at pci
1076file	dev/pci/if_et.c			et
1077
1078# RDC Semiconductor R6040 10/100 Ethernet
1079device	vte: ether, ifnet, arp, mii, mii_phy
1080attach	vte at pci
1081file	dev/pci/if_vte.c		vte
1082
1083# Conexant CX23880-series DTV interface
1084device	cxdtv: dtvbus, i2c_bitbang, i2cbus, i2cexec, tvpll, nxt2k, lg3303
1085attach	cxdtv at pci
1086file	dev/pci/cxdtv.c		cxdtv
1087file	dev/pci/cxdtv_boards.c	cxdtv
1088
1089# Conexant CX23885-series DTV interface
1090device	coram: dtvbus, i2cbus, i2cexec, mt2131, cx24227
1091attach	coram at pci
1092file	dev/pci/coram.c		coram
1093
1094# QUANCOM Electronic GmbH PWDOG1
1095device	pwdog: sysmon_envsys
1096attach	pwdog at pci
1097file	dev/pci/pwdog.c		pwdog
1098
1099# IBM 4810 BSP cash drawer port
1100device	ibmcd: gpiobus
1101attach	ibmcd at pci
1102file	dev/pci/ibmcd.c		ibmcd
1103
1104# SIS 315 Pro frame buffer
1105device  sisfb: wsemuldisplaydev, rasops8, rasops15, rasops16, rasops32, vcons
1106attach  sisfb at pci
1107file    dev/pci/sisfb.c		sisfb	needs-flag
1108
1109attach	virtio at pci with virtio_pci
1110file	dev/pci/virtio_pci.c	virtio_pci
1111
1112# Silicon Motion SM712(LynxEM+) frame buffer
1113device	lynxfb: wsemuldisplaydev, rasops16
1114attach	lynxfb at pci
1115file	dev/pci/lynxfb.c	lynxfb needs-flag
1116
1117include "dev/pci/igma/files.igma"
1118# Intel GMA
1119device	igma: igmabus, i2cbus, i2c_bitbang, ddc_read_edid, edid
1120attach	igma at pci
1121file	dev/pci/igma.c		igma
1122
1123# 3Dfx Voodoo Graphics
1124defflag	opt_tdvfb.h		TDVFB_CONSOLE
1125device	tdvfb: wsemuldisplaydev, rasops16, rasops32, vcons, videomode
1126attach	tdvfb at pci
1127file	dev/pci/tdvfb.c		tdvfb	
1128
1129# nvidia geforce framebuffer console driver
1130device	gffb: wsemuldisplaydev, rasops8, vcons, videomode, i2cbus, i2c_bitbang, glyphcache
1131attach	gffb at pci
1132file	dev/pci/gffb.c		gffb
1133defflag	opt_gffb.h	GFFB_DEBUG
1134
1135# Realtek RTS5209/RTS5229 Card Reader driver
1136attach	rtsx at pci with rtsx_pci
1137file	dev/pci/rtsx_pci.c	rtsx_pci
1138
1139# NVM Express Controller
1140attach	nvme at pci with nvme_pci
1141file	dev/pci/nvme_pci.c	nvme_pci
1142
1143# PCI graphics devices with DRM/KMS
1144include "external/bsd/drm2/pci/files.drmkms_pci"
1145
1146# Intel S1200,C2000 (non-pch) SMBus controller
1147device	ismt: i2cbus
1148attach	ismt at pci
1149file	dev/pci/ismt.c		ismt
1150
1151# Amazon Elastic Network Adapter (ENA) family
1152device	ena: ether, ifnet, arp
1153attach	ena at pci
1154file	dev/pci/if_ena.c			ena
1155file	external/bsd/ena-com/ena_com.c		ena
1156file	external/bsd/ena-com/ena_eth_com.c	ena
1157