files revision 1.1253
1#	$NetBSD: files,v 1.1253 2020/01/20 18:38:21 thorpej Exp $
2#	@(#)files.newconf	7.5 (Berkeley) 5/10/93
3
4version 	20171118
5
6#
7# device classes
8#
9devclass disk
10devclass tape
11devclass ifnet
12devclass tty
13devclass audiodev
14devclass displaydev
15devclass bus
16
17# options understood by the machine-independent part of the kernel
18# (note, these are case-sensitive)
19#
20defparam opt_param.h		MAXUSERS
21defflag				INSECURE
22defflag				KTRACE
23defflag				MBUFTRACE
24defflag	opt_ptrace.h		PTRACE PTRACE_HOOKS
25defflag				COREDUMP
26defflag	opt_modular.h		MODULAR
27defflag	opt_modular.h		MODULAR_DEFAULT_AUTOLOAD
28defflag				KEYLOCK
29defparam opt_syslimits.h	CHILD_MAX OPEN_MAX
30defflag opt_diagnostic.h	_DIAGNOSTIC
31defflag				GPROF
32defflag				KASAN
33defflag opt_kasan.h		KASAN_PANIC
34defflag				KCSAN
35defflag opt_kcsan.h		KCSAN_PANIC
36defflag				KMSAN
37defflag opt_kmsan.h		KMSAN_PANIC
38defflag				KLEAK
39defflag				KCOV
40defflag opt_pool.h		POOL_QUARANTINE
41
42defparam opt_copy_symtab.h	makeoptions_COPY_SYMTAB
43
44defparam			DEFCORENAME
45defparam			HZ
46defparam			MAXUPRC
47defparam			RTC_OFFSET
48defflag	opt_pipe.h		PIPE_SOCKETPAIR PIPE_NODIRECT
49
50defflag				AIO
51defflag				MQUEUE
52defflag				SEMAPHORE
53
54defflag				BUFQ_DISKSORT
55defflag				BUFQ_FCFS
56defflag				BUFQ_PRIOCSCAN
57defflag				BUFQ_READPRIO
58defflag				NEW_BUFQ_STRATEGY	# same as BUFQ_READPRIO
59
60defflag	opt_sched.h		SCHED_4BSD
61defflag	opt_sched.h		SCHED_M2
62
63defparam			SOMAXKVA
64defflag	opt_sock_counters.h	SOSEND_COUNTERS
65defflag	opt_sosend_loan.h	SOSEND_NO_LOAN
66defflag	opt_route.h		RTCACHE_DEBUG RTFLUSH_DEBUG
67
68defflag				MULTIPROCESSOR
69defflag				NET_MPSAFE
70
71defflag	opt_config.h		INCLUDE_CONFIG_FILE INCLUDE_JUST_CONFIG
72
73defparam opt_dump.h		DUMP_ON_PANIC
74
75defflag	opt_callout.h		CALLWHEEL_STATS
76
77defflag				CPU_IN_CKSUM
78
79defflag opt_dtrace.h		KDTRACE_HOOKS
80
81defflag	opt_sysv.h		SYSVMSG SYSVSEM	SYSVSHM
82defparam opt_sysvparam.h	MSGMAX MSGMNI MSGMNB MSGTQL MSGSSZ MSGSEG
83defparam opt_sysvparam.h	SEMMAP SEMMNI SEMMNS SEMMNU SEMMSL SEMOPM
84defparam opt_sysvparam.h	SEMUME SEMUSZ SEMVMX SEMAEM
85defparam opt_sysvparam.h	SHMMAX SHMMIN SHMMNI SHMSEG SHMMAXPGS
86
87defflag	opt_ntp.h		PPS_SYNC PPS_DEBUG NTP
88
89defflag	opt_ptm.h		NO_DEV_PTM COMPAT_BSDPTY
90
91defparam opt_kmempages.h	NKMEMPAGES NKMEMPAGES_MIN NKMEMPAGES_MAX
92
93defflag	opt_exec.h		DEBUG_EXEC
94
95defflag	opt_execfmt.h		EXEC_AOUT EXEC_COFF EXEC_ECOFF EXEC_ELF32
96				EXEC_ELF64 EXEC_SCRIPT
97				EXEC_ELF_NOTELESS
98
99defflag	opt_dkwedge.h		DKWEDGE_AUTODISCOVER
100				DKWEDGE_METHOD_BSDLABEL
101				DKWEDGE_METHOD_GPT
102				DKWEDGE_METHOD_MBR
103				DKWEDGE_METHOD_APPLE
104				DKWEDGE_METHOD_RDB
105
106defflag	opt_veriexec.h		VERIFIED_EXEC_FP_SHA256
107				VERIFIED_EXEC_FP_SHA384
108				VERIFIED_EXEC_FP_SHA512
109
110# Per system call number counts and times
111defflag opt_syscall_stats.h	SYSCALL_STATS
112defflag opt_syscall_stats.h	SYSCALL_TIMES: SYSCALL_STATS
113# Assume cpu_hascounter() returns true - to use disabled rdtsc() (for soekris)
114defflag opt_syscall_stats.h	SYSCALL_TIMES_HASCOUNTER: SYSCALL_TIMES
115file kern/subr_syscall_stats.c	syscall_stats
116
117defparam opt_pax.h		PAX_MPROTECT
118				PAX_MPROTECT_DEBUG
119				PAX_SEGVGUARD
120 				PAX_ASLR
121 				PAX_ASLR_DELTA_MMAP_LSB
122 				PAX_ASLR_DELTA_MMAP_LEN
123 				PAX_ASLR_DELTA_STACK_LSB
124 				PAX_ASLR_DELTA_STACK_LEN
125 				PAX_ASLR_DELTA_PROG_LEN
126				PAX_ASLR_DEBUG
127
128defflag	opt_fileassoc.h		FILEASSOC
129
130defflag	opt_gre.h		GRE_DEBUG
131
132defparam opt_l2tp.h		L2TP_ID_HASH_SIZE
133
134# Write Ahead Physical Block Logging
135defflag opt_wapbl.h		WAPBL WAPBL_DEBUG
136defparam opt_wapbl.h		WAPBL_DEBUG_PRINT
137
138# printf entropy source
139defflag opt_rnd_printf.h	RND_PRINTF
140
141defflag opt_todr.h		TODR_DEBUG
142
143# compatibility options
144#
145defflag opt_compat_netbsd.h	COMPAT_NETBSD
146defflag	opt_compat_netbsd.h	COMPAT_90: COMPAT_NETBSD
147defflag	opt_compat_netbsd.h	COMPAT_80: COMPAT_90, COMPAT_NETBSD
148defflag	opt_compat_netbsd.h	COMPAT_70: COMPAT_80, COMPAT_NETBSD
149defflag	opt_compat_netbsd.h	COMPAT_60: COMPAT_70, COMPAT_NETBSD
150defflag	opt_compat_netbsd.h	COMPAT_50: COMPAT_60, COMPAT_NETBSD
151defflag	opt_compat_netbsd.h	COMPAT_40: COMPAT_50, COMPAT_NETBSD
152defflag	opt_compat_netbsd.h	COMPAT_30: COMPAT_40, COMPAT_NETBSD
153defflag	opt_compat_netbsd.h	COMPAT_20: COMPAT_30, COMPAT_NETBSD
154defflag	opt_compat_netbsd.h	COMPAT_16: COMPAT_20, COMPAT_NETBSD
155defflag	opt_compat_netbsd.h	COMPAT_15: COMPAT_16, COMPAT_NETBSD
156defflag	opt_compat_netbsd.h	COMPAT_14: COMPAT_15, COMPAT_NETBSD
157defflag	opt_compat_netbsd.h	COMPAT_13: COMPAT_14, COMPAT_NETBSD
158defflag	opt_compat_netbsd.h	COMPAT_12: COMPAT_13, COMPAT_NETBSD
159defflag	opt_compat_netbsd.h	COMPAT_11: COMPAT_12, COMPAT_NETBSD
160defflag	opt_compat_netbsd.h	COMPAT_10: COMPAT_11, COMPAT_NETBSD
161defflag	opt_compat_netbsd.h	COMPAT_09: COMPAT_10, COMPAT_NETBSD
162defflag				COMPAT_OSSAUDIO
163defflag				COMPAT_43
164defflag				COMPAT_FREEBSD: COMPAT_09, COMPAT_43
165defflag				COMPAT_LINUX: COMPAT_NETBSD, COMPAT_43
166defflag				COMPAT_SUNOS: COMPAT_09, COMPAT_43
167defflag				COMPAT_ULTRIX: COMPAT_50
168defflag				COMPAT_NETBSD32
169defflag				COMPAT_SYSV
170defflag				SYSV_IPC	: SYSVSHM, SYSVSEM, SYSVMSG
171defflag				COMPAT_NETBSD32_SYSVIPC : SYSV_IPC,
172							  COMPAT_SYSV,
173							  COMPAT_NETBSD32
174defflag				COMPAT_LINUX32 : COMPAT_LINUX, COMPAT_NETBSD32,
175						 COMPAT_50, COMPAT_SYSV,
176						 COMPAT_NETBSD32_SYSVIPC
177defflag				COMPAT_AOUT_M68K: COMPAT_40
178defflag				COMPAT_M68K4K
179defflag				COMPAT_VAX1K
180defflag	opt_compat_netbsd.h	COMPAT_NOMID
181
182include	"compat/common/files.common"
183
184define	machdep
185defflag	opt_machdep.h		MACHDEP
186
187#
188# Cryptography support.  Include this early, since several things
189# use it.
190
191# Individual crypto transforms
192include "crypto/des/files.des"
193include "crypto/blowfish/files.blowfish"
194include "crypto/cast128/files.cast128"
195include "crypto/rijndael/files.rijndael"
196include "crypto/skipjack/files.skipjack"
197include "crypto/camellia/files.camellia"
198# General-purpose crypto processing framework.
199include "opencrypto/files.opencrypto"
200
201# NIST SP800-90A Hash_DRBG
202include "crypto/nist_hash_drbg/files.nist_hash_drbg"
203
204# ChaCha-based fast PRNG
205include "crypto/cprng_fast/files.cprng_fast"
206
207#
208# Kernel history/tracing. Old UVMHIST depends upon this.
209#
210defflag opt_kernhist.h			KERNHIST KERNHIST_PRINT
211defparam opt_kernhist.h			KERNHIST_DELAY
212file	kern/kern_history.c		kernhist
213
214#
215# These are here for the benefit of kern_history.c so that
216# UVMHIST can be built in kernels without usb.
217#
218# top level usb debug defines
219defflag	opt_usb.h			USB_DEBUG: KERNHIST
220defparam opt_usb.h			USBHIST_SIZE
221
222#
223# Options for BIOHIST
224#
225defflag opt_biohist.h           BIOHIST: KERNHIST
226defflag opt_biohist.h           BIOHIST_PRINT: KERNHIST_PRINT
227defparam opt_biohist.h          BIOHIST_SIZE
228
229#
230# System monitoring framework
231#
232include "dev/sysmon/files.sysmon"
233
234#
235# Networking protocols
236#
237
238# Attribute used by various things that need BPF's virtual machine
239#
240define	bpf_filter
241defparam opt_bpf.h	BPF_BUFSIZE
242
243defflag	opt_bpf.h	BPFJIT
244
245file	net/bpfjit.c	sljit & bpfjit
246
247include "net80211/files.net80211"
248include "netatalk/files.netatalk"
249include "netbt/files.netbt"
250include "netcan/files.netcan"
251include "netinet/files.netinet"
252include "netinet6/files.netinet6"
253include "netipsec/files.netipsec"
254include "netmpls/files.netmpls"
255include "netsmb/files.netsmb"
256
257include "net/npf/files.npf"
258include "netinet/files.ipfilter"
259include "net/files.pf"
260
261obsolete defflag		CCITT		# obsolete
262obsolete defflag		HDLC		# obsolete
263obsolete defflag		LLC		# obsolete
264obsolete defflag opt_ns.h	NS NSIP		# obsolete
265obsolete defflag		IPX		# obsolete
266obsolete defparam opt_md.h	MEMORY_RBFLAGS	# superseded by
267						# MEMORY_DISK_RBFLAGS
268
269defflag	opt_bridge_ipf.h	BRIDGE_IPF	# bridge(4) use inet_pfil_hooks
270defflag	opt_ppp.h		PPP_DEFLATE PPP_BSDCOMP PPP_FILTER
271						# Include deflate or bsd
272						# compression, enable pppd
273						# packet filtering support
274defflag opt_pppoe.h		PPPOE_SERVER PPPOE_DEBUG
275
276# networking options
277#
278defflag				GATEWAY
279defparam opt_nmbclusters.h	NMBCLUSTERS
280defparam			SB_MAX
281
282# file system options
283#
284defflag	opt_quota.h		QUOTA QUOTA2		# XXX files.ufs?
285defflag				VNODE_LOCKDEBUG
286defflag				MAGICLINKS
287
288# buffer cache size options
289#
290defparam opt_bufcache.h		BUFCACHE BUFPAGES
291
292# userconf
293#
294defflag				USERCONF
295
296# sysctl related
297#
298defflag opt_sysctl.h		SYSCTL_DISALLOW_CREATE SYSCTL_DISALLOW_KWRITE
299				SYSCTL_DEBUG_SETUP SYSCTL_DEBUG_CREATE
300				SYSCTL_INCLUDE_DESCR
301
302#
303# Not entirely MI, but present on multiple arch's
304#
305
306# PC-style MBR handling
307#
308defflag	opt_mbr.h		COMPAT_386BSD_MBRPART
309
310#
311# debugging options
312#
313include "ddb/files.ddb"		# in-kernel dynamic debugger
314
315defflag	opt_kgdb.h		KGDB
316defparam opt_kgdb.h		KGDB_DEV KGDB_DEVNAME KGDB_DEVPORT
317				KGDB_DEVADDR KGDB_DEVRATE KGDB_DEVMODE
318defflag				LOCKDEBUG
319defflag				SYSCALL_DEBUG
320defflag	opt_kstack.h		KSTACK_CHECK_MAGIC
321defflag				PSREF_DEBUG
322
323# memory (ram) disk options
324#
325defflag	opt_md.h		MEMORY_DISK_HOOKS MEMORY_DISK_IS_ROOT
326				MEMORY_DISK_DYNAMIC
327defparam opt_md.h		MEMORY_DISK_SERVER=1 MEMORY_DISK_ROOT_SIZE
328				MEMORY_DISK_RBFLAGS
329defparam opt_memory_disk_image.h	makeoptions_MEMORY_DISK_IMAGE
330
331defflag opt_tftproot.h		TFTPROOT TFTPROOT_DEBUG
332
333defflag	opt_wlan.h		WLAN
334
335# Machine-independent device majors assignements
336include "conf/majors"
337
338# generic attributes
339#
340define	videobus	{ }
341define	ata	        {[channel = -1]}
342define	sata
343define	sata_fis
344define	sata_pmp
345define	scsi_core
346define	scsi		{[channel = -1]}: scsi_core
347define	ata_hl		{[drive = -1]}
348define	atapi		{ }
349define	radiodev	{ }
350define	gpibdev		{[address = -1]}
351define	gpiobus		{ }
352define	onewirebus	{ }
353define 	pckbport	{[slot = -1]}
354define	pckbport_machdep_cnattach
355define	firmload
356define	ipmibus		{ }
357
358# speaker devices, attaches to audio or pcppi drivers
359device	spkr: wsbelldev
360file	dev/spkr.c			spkr
361
362include "dev/files.audio"
363
364# High definition audio
365include "dev/hdaudio/files.hdaudio"
366
367# Base verbose vendor/product printing support
368file	dev/dev_verbose.c
369
370# video devices, attaches to video hardware driver
371#
372device	video
373attach	video at videobus
374
375# DTV subsystem
376#
377include "dev/dtv/files.dtv"
378
379# HDMI CEC
380#
381include "dev/hdmicec/files.hdmicec"
382
383# National Semiconductor LM7[89]
384#
385# (included here so files.i2c can define an attachment)
386
387device	lm: sysmon_envsys
388file	dev/ic/nslm7x.c			lm			needs-flag
389
390# JEDEC standard SPD EPROM
391#
392# (included here so files.i2c can define an attachment)
393
394device	spdmem
395file	dev/ic/spdmem.c			spdmem
396
397# SSD1306 or SH1106 OLED/PLED display (attaches via I2C or SPI)
398device	ssdfb:	wsemuldisplaydev
399file	dev/ic/ssdfb.c	ssdfb
400
401# Generic HID support (used by USB, bluetooth and i2c)
402include "dev/hid/files.hid"
403
404# I2C device support
405include "dev/i2c/files.i2c"
406
407# PWM device support
408include "dev/pwm/files.pwm"
409
410# SPI device support
411include "dev/spi/files.spi"
412
413# IR device support
414include	"dev/ir/files.ir"
415
416# Parallel Port Bus support
417include "dev/ppbus/files.ppbus"
418
419# raster operations attributes
420#
421define	rasops1
422define	rasops2
423define	rasops4
424define	rasops8
425define	rasops15
426define	rasops16
427define	rasops24
428define	rasops32
429define	rasops_rotation
430
431# image decoding support
432include "dev/stbi/files.stbi"
433
434# splash screen support
435include "dev/splash/files.splash"
436
437# videomode support
438include "dev/videomode/files.videomode"
439
440# net device attributes
441#
442define	arcnet
443define	ether
444define	ieee1394
445define	sppp
446define	wlan
447define	crypto
448
449# TPM
450device	tpm
451file	dev/ic/tpm.c			tpm			needs-flag
452
453# devices ARPing IPv4 pull this in:
454#
455define	arp
456
457#
458# ALTQ network traffic shaping subsystem
459#
460include "altq/files.altq"
461
462# Logical disk
463#
464device	ld: disk
465file	dev/ld.c			ld			needs-flag
466
467#
468# MII/PHY support for network devices
469#
470include "dev/mii/files.mii"
471
472#
473# RAIDframe
474#
475include "dev/raidframe/files.raidframe"
476
477#
478# Hardware-assisted data mover API
479#
480include "dev/dmover/files.dmover"
481
482#
483# "Chipset" drivers.  These are the bus-independent routines which
484# contain the cfdrivers.  Attachments are provided by files.<bus>
485#
486
487# Adaptec AIC-6[32]60 ICs
488#
489device	aic: scsi
490file	dev/ic/aic6360.c		aic
491
492# SMC 93Cx6 Serial EEPROM devices
493#
494define	smc93cx6
495file	dev/ic/smc93cx6.c		smc93cx6
496
497# Adaptec 2[789]4X, 394X, aic7770 and aic78[5678]0 SCSI controllers
498#
499defparam opt_ahc.h		AHC_DEBUG
500defflag	opt_ahc.h		AHC_NO_TAGS
501device	ahc: scsi
502define	ahc_seeprom
503define	ahc_aic77xx
504file	dev/ic/aic7xxx.c		ahc
505file	dev/ic/aic7xxx_osm.c		ahc
506file	dev/ic/aic7xxx_seeprom.c	ahc_seeprom
507file	dev/ic/aic77xx.c		ahc_aic77xx
508
509# Adaptec aic79xx SCSI controllers
510defflag	opt_ahd.h		AHD_DEBUG
511device	ahd: scsi
512file	dev/ic/aic79xx.c		ahd
513file	dev/ic/aic79xx_osm.c		ahd
514
515# DPT EATA SCSI controllers
516#
517device	dpt: scsi
518file	dev/ic/dpt.c			dpt
519
520# Compaq Smart ARRAY controllers
521#
522device	cac {unit = -1}
523file	dev/ic/cac.c			cac
524
525attach	ld at cac with ld_cac
526file	dev/ic/ld_cac.c			ld_cac
527
528# HP/Compaq Command Interface for SCSI-3 Support
529#
530defflag	opt_ciss.h			CISS_NO_INTERRUPT_HACK
531device ciss: scsi
532file	dev/ic/ciss.c			ciss
533
534# Mylex DAC960 RAID controllers
535#
536device	mlx {unit = -1}
537file	dev/ic/mlx.c			mlx			needs-flag
538
539attach	ld at mlx with ld_mlx
540file	dev/ic/ld_mlx.c			ld_mlx
541
542# ICP-Vortex/Intel RAID controllers
543#
544device	icp {unit = -1}
545file	dev/ic/icp.c			icp			needs-flag
546file	dev/ic/icp_ioctl.c		icp
547
548attach	ld at icp with ld_icp
549file	dev/ic/ld_icp.c			ld_icp
550
551device	icpsp: scsi
552file	dev/ic/icpsp.c			icpsp
553attach	icpsp at icp
554
555# Adaptec FSA RAID controllers
556#
557device	aac {unit = -1}
558file	dev/ic/aac.c			aac
559
560attach	ld at aac with ld_aac
561file	dev/ic/ld_aac.c			ld_aac
562
563# AdvanSys 1200A, 1200B and ULTRA SCSI controllers
564#
565device	adv: scsi
566file	dev/ic/adv.c			adv
567file	dev/ic/advlib.c			adv
568file	dev/ic/advmcode.c		adv
569
570# AdvanSys ULTRA WIDE SCSI controllers
571#
572device	adw: scsi
573file	dev/ic/adw.c			adw
574
575# BusLogic MultiMaster and MultiMaster Ultra SCSI controllers
576# (Must be declared before AHA to ensure bha probes before aha.
577#  Probing AHA first configures bhas as aha, via their AHA
578#  hardware-compatibility mode.)
579#
580device	bha: scsi
581file	dev/ic/bha.c			bha
582
583# Adaptec AHA-154x and AHA-164x controllers
584# (must be after bha, see above)
585#
586device	aha: scsi
587file	dev/ic/aha.c			aha
588
589# Initio INIC-940/950 SCSI controllers
590#
591device	iha: scsi
592file	dev/ic/iha.c			iha
593
594# Qlogic ISP 10x0 SCSI Controllers
595#
596defflag	opt_isp.h		ISP_DISABLE_1020_SUPPORT
597				ISP_DISABLE_1080_SUPPORT
598				ISP_DISABLE_2100_SUPPORT
599				ISP_DISABLE_2200_SUPPORT
600				ISP_DISABLE_2300_SUPPORT
601				ISP_DISABLE_2322_SUPPORT
602				ISP_DISABLE_2400_SUPPORT
603				ISP_DISABLE_FW
604				ISP_TARGET_MODE
605defparam opt_isp.h		ISP_LOGDEFAULT
606				ISP_VPORTS
607device	isp: scsi
608file	dev/ic/isp.c			isp
609file	dev/ic/isp_library.c		isp
610file	dev/ic/isp_netbsd.c		isp
611file	dev/ic/isp_target.c		isp & isp_target_mode
612# LSILogic MegaRAID SAS
613#
614device	mfi: scsi
615file	dev/ic/mfi.c			mfi
616
617# LSILogic Fusion-MPT I/O Processor SCSI/FC Controllers
618#
619device	mpt: scsi
620file	dev/ic/mpt.c			mpt
621file	dev/ic/mpt_debug.c		mpt
622file	dev/ic/mpt_netbsd.c		mpt
623
624# Workbit NinjaSCSI-32 controllers
625device	njs: scsi
626file	dev/ic/ninjascsi32.c		njs
627
628# Symbios/NCR 53c700 SCSI controllers
629device	oosiop: scsi
630file	dev/ic/oosiop.c			oosiop
631
632# Symbios/NCR 53c710 SCSI controllers
633#
634device	osiop: scsi
635file	dev/ic/osiop.c			osiop
636
637# common stuff for siop and esiop
638#
639define	siop_common
640file	dev/ic/siop_common.c		siop_common
641
642# Symbios/NCR 53c720/53c8xx SCSI controllers
643#
644device	siop: scsi,siop_common
645file	dev/ic/siop.c			siop & (siop_pci | siop_gedoens)
646defflag	opt_siop.h			SIOP_SYMLED
647
648device	esiop: scsi,siop_common
649file	dev/ic/esiop.c			esiop
650
651# UltraStor SCSI controllers
652#
653device	uha: scsi
654file	dev/ic/uha.c			uha
655
656# 3Com common probe code
657define  elink
658file    dev/isa/elink.c                 elink
659
660# Aironet PC4500/PC4800
661#
662device	an: arp, wlan, ifnet
663file	dev/ic/an.c			an
664
665# AMD 79c930-based 802.11 cards
666#
667device	awi: arp, wlan, ifnet
668file	dev/ic/awi.c			awi
669file	dev/ic/am79c930.c		awi
670
671# Lucent & Intersil WaveLan IEEE (802.11)
672#
673device	wi: arp, wlan, ifnet
674file	dev/ic/wi.c			wi
675
676# Atheros HAL
677#
678include "external/isc/atheros_hal/conf/files.ath_hal"
679
680# Atheros 5210/5211/5212 multi-mode 802.11
681#
682device	ath: arp, wlan, ifnet
683file	dev/ic/ath.c			ath
684file	dev/ic/ath_netbsd.c		ath
685file	dev/ic/athrate-sample.c		ath
686
687# ADMtek ADM8211 802.11
688#
689device	atw: arp, wlan, ifnet, smc93cx6
690file	dev/ic/atw.c			atw
691
692# Realtek RTL8180 802.11
693#
694device rtw: arp, wlan, ifnet, smc93cx6
695file	dev/ic/rtw.c			rtw
696file	dev/ic/rtwphy.c			rtw
697file	dev/ic/rtwphyio.c		rtw
698
699# Ralink RT2500/RT2600/RT2860 802.11
700device	ral: arp, ether, ifnet, wlan, firmload
701file	dev/ic/rt2560.c			ral
702file	dev/ic/rt2661.c			ral
703file	dev/ic/rt2860.c			ral
704
705# Marvell Libertas Open
706device  malo: arp, ether, ifnet, wlan, firmload
707file    dev/ic/malo.c           malo
708
709# 3Com Etherlink-III Ethernet controller
710#
711device	ep: arp, ether, ifnet, mii, mii_bitbang
712file	dev/ic/elink3.c			ep
713
714# 3Com EtherLink XL Controller
715#
716device	ex: arp, ether, ifnet, mii, mii_bitbang
717file	dev/ic/elinkxl.c		ex
718
719# DEC EtherWORKS III (LEMAC) Ethernet controllers
720#
721device	lc: arp, ether, ifnet
722file	dev/ic/lemac.c			lc
723
724# LANCE and PCnet Ethernet controllers
725#
726device	le: arp, ether, ifnet
727define	le24
728define	le32
729file	dev/ic/am7990.c			le24
730file	dev/ic/am79900.c		le32
731file	dev/ic/lance.c			le24 | le32
732
733# DEC DEPCA-family of LANCE Ethernet controllers
734#
735device	depca { }: le24
736file	dev/ic/depca.c			depca
737attach	le at depca with le_depca
738
739# Sun HME Ethernet controllers
740#
741device	hme: arp, ether, ifnet, mii
742file	dev/ic/hme.c			hme
743
744# Sun GEM Ethernet controllers
745#
746device	gem: arp, ether, ifnet, mii
747file	dev/ic/gem.c			gem
748
749# Synopsis Designware GMAC core, as found on allwinner a20
750# and other SoCs
751device	awge: arp, ether, ifnet, mii
752file	dev/ic/dwc_gmac.c		awge
753
754# 8390-family Ethernet controllers
755#
756define	dp8390nic
757file	dev/ic/dp8390.c			dp8390nic
758
759# National Semiconductor DP83905 AT/LANTIC Ethernet media support
760#
761define	dp83905
762file	dev/ic/dp83905.c		dp83905
763
764# Macronix MX98905 Ethernet controller
765# (use as an attribute for an "ne" bus attachment)
766#
767define	mx98905
768file	dev/ic/mx98905.c		mx98905
769
770# NCR 5380 SCSI Bus Controller
771#
772define	ncr5380sbc
773file	dev/ic/ncr5380sbc.c		ncr5380sbc
774device	nca: scsi, ncr5380sbc
775
776# Sun sc PAL SCSI Bus Controller
777#
778define	sunscpal
779file	dev/ic/sunscpal.c		sunscpal
780device	ssc: scsi, sunscpal
781
782# Cyclades Cyclom-8/16/32
783#
784device	cy: tty
785file	dev/ic/cy.c			cy			needs-flag
786
787# NCR 53x9x or Emulex ESP SCSI Controller
788#
789define	ncr53c9x
790device	esp: scsi, ncr53c9x
791file	dev/ic/ncr53c9x.c		ncr53c9x
792
793# Fujitsu MB87030/MB89352 SCSI Protocol Controller
794device	spc: scsi
795file	dev/ic/mb89352.c		spc
796
797# Western Digital WD33C93/WD33C93A SCSI Bus Interface Controller
798define	wd33c93
799file	dev/ic/wd33c93.c		wd33c93
800
801# Hitachi HD44780 LCD panel controller
802define	hd44780
803file	dev/ic/hd44780_subr.c		hd44780
804file	dev/ic/lcdkp_subr.c		hd44780
805
806# Matrix keypad
807define	matrixkp
808file	dev/ic/matrixkp_subr.c		matrixkp
809
810# Hitachi HD64570 serial controller
811#
812define	hd64570
813file	dev/ic/hd64570.c		hd64570
814
815# Riscom/N2 ISA/PCI Sync Serial Controller
816#
817device	ntwoc: ifnet, hd64570
818
819# Intel 82586 Ethernet Controller
820#
821define	i82586
822file	dev/ic/i82586.c			i82586
823
824# Intel 82596 Ethernet Controller
825#
826define	i82596
827file	dev/ic/i82596.c			i82596
828
829# Intel 82557/82558/82559 Ethernet Controller
830#
831device	fxp: ether, ifnet, arp, mii
832file	dev/ic/i82557.c			fxp
833
834# SEEQ 8005 Advanced Ethernet Data Link Controller
835#
836define	seeq8005
837file	dev/ic/seeq8005.c		seeq8005
838
839# SMC 91Cxx Ethernet Controller
840#
841device	sm: arp, ether, ifnet, mii, mii_bitbang
842file	dev/ic/smc91cxx.c		sm
843
844# SMC 83C170 EPIC/100 Fast Ethernet Controller
845#
846device	epic: arp, ether, ifnet, mii
847file	dev/ic/smc83c170.c		epic
848
849# DEC SGEC Second Generation Ethernet Controller
850#
851define	sgec
852file	dev/ic/sgec.c			sgec
853
854# MB86950 Ethernet Controller
855#
856define	mb86950
857file	dev/ic/mb86950.c		mb86950
858
859# MB8696x Ethernet Controller
860#
861define	mb86960
862file	dev/ic/mb86960.c		mb86960
863
864# Generic MB8696x Ethernet Controller driver
865#
866device	mbe: arp, ether, ifnet, mb86960
867
868# Interwave Am78C201 audio driver
869#
870define	interwave
871file	dev/ic/interwave.c		interwave
872
873# TMS 320av110 MPEG2/audio driver
874#
875define	tms320av110
876file	dev/ic/tms320av110.c		tms320av110
877
878# Novell NE2000-compatible Ethernet cards, based on the
879# National Semiconductor DS8390.
880#
881device	ne: ether, ifnet, arp, dp8390nic, mii
882file	dev/ic/ne2000.c			ne
883
884# 8250/16[45]50-based "com" ports
885#
886defflag	opt_com.h		COM_DEBUG
887# XXX In a perfect world, this would be done with attributes
888defflag	opt_com.h		COM_16650 COM_16750
889				COM_HAYESP COM_PXA2X0
890defparam opt_com.h		COM_TOLERANCE
891device	com { } : tty
892file	dev/ic/com.c			com			needs-flag
893
894# PC-like keyboard controller
895#
896device	pckbc: pckbport
897file	dev/ic/pckbc.c			pckbc			needs-flag
898
899device	attimer
900file	dev/ic/attimer.c		attimer			needs-flag
901
902# Cirrus Logic CD240[01] 4-port Multi-Protocol Communications Controller
903#
904device	clmpcc: tty
905file	dev/ic/clmpcc.c			clmpcc			needs-flag
906
907# Abit uGuru
908#
909device	ug: sysmon_envsys
910file	dev/ic/ug.c			ug			needs-flag
911
912# SMC 90c26, SMC 90C56 (and 90C66 if in compat mode) chip driver
913#
914device	bah: ifnet, arcnet, arp
915file	dev/ic/smc90cx6.c		bah
916
917# OPL2/OPL3 FM synth driver
918#
919device	opl: midibus, midisyn
920file	dev/ic/opl.c			opl
921file	dev/ic/oplinstrs.c		opl
922
923# MPU401 MIDI UART compatibles
924#
925device	mpu: midibus
926file	dev/ic/mpu.c			mpu			needs-flag
927
928# AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers
929#
930define	ad1848
931file	dev/ic/ad1848.c			ad1848
932
933# AMD 7930 audio/ISDN codec
934#
935define	am7930
936file	dev/ic/am7930.c			am7930
937
938# Siemens PSB2160 audio codec, as found in HP systems
939device	arcofi: audiobus, auconv, mulaw
940file	dev/ic/arcofi.c			arcofi
941
942# SPARC `SUNW,audiocs'
943#
944device	audiocs: audiobus, auconv, ad1848
945file	dev/ic/cs4231.c			audiocs
946
947# AC-97 CODECs
948#
949define	ac97
950file	dev/ic/ac97.c			ac97
951
952# UDA1341 CODEC support
953define	uda1341
954file	dev/ic/uda1341.c		uda1341
955
956# Oki MSM6258 support code
957#
958define msm6258
959file	dev/ic/msm6258.c		msm6258
960
961# LSI64854 DMA controller back-end
962#
963define	lsi64854
964file	dev/ic/lsi64854.c		lsi64854
965
966# Cirrus Logic CL-CD180/1864/1865 multi port serial controller back-end
967#
968define	cd18xx
969file	dev/ic/cd18xx.c			cd18xx
970
971# Realtek 8019/8029 NE2000-compatible network interface subroutines
972#
973define	rtl80x9
974file	dev/ic/rtl80x9.c		rtl80x9			needs-flag
975
976# Realtek 8129/8139 Ethernet controllers
977#
978device	rtk: ether, ifnet, arp, mii
979file	dev/ic/rtl81x9.c		rtk | re
980
981# Realtek 8169 Ethernet controllers
982#
983device	re: ether, ifnet, arp, mii
984file	dev/ic/rtl8169.c		re
985
986# Virtual I/O Device (VIRTIO) bus controller and devices
987#
988include "dev/virtio/files.virtio"
989
990# Common code for ESDI/IDE/etc. controllers
991#
992define	wdc_common
993define	ata_dma
994define	ata_udma
995define	ata_piobm
996device	wdc: ata, wdc_common
997
998defflag opt_ata.h	ATADEBUG
999defparam opt_ata.h	ATADEBUG_MASK
1000defflag opt_wdc.h	WDC_NO_IDS
1001
1002device	atabus: atapi,ata_hl
1003attach	atabus at ata
1004# The strange expression is to dump ata_* definitions to ata_dma.h.
1005file	dev/ic/wdc.c			(ata_dma | ata_udma | ata_piobm | atabus) & atabus & wdc_common	needs-flag
1006
1007# Workbit NinjaATA-32 IDE controllers
1008device	njata: ata, ata_piobm, wdc_common
1009file	dev/ic/ninjaata32.c		njata
1010
1011# AHCI-compatible SATA controllers
1012define ahcisata_core
1013file dev/ic/ahcisata_core.c ahcisata_core
1014device ahcisata: ata, ata_dma, ata_udma, sata, sata_fis, sata_pmp, ahcisata_core
1015
1016# Silicon Image SteelVine SATA-II controllers
1017define	siisata
1018file	dev/ic/siisata.c		siisata
1019device	siisata: ata, ata_dma, ata_udma, sata, sata_fis, sata_pmp, siisata
1020
1021# Marvell Serial-ATA Host Controller
1022define mvsata
1023file dev/ic/mvsata.c			mvsata
1024device mvsata: ata, ata_dma, ata_udma, wdc_common, sata, sata_fis, sata_pmp, mvsata
1025defflag opt_mvsata.h		MVSATA_WITHOUTDMA
1026
1027# DECchip 21x4x Ethernet controller family, and assorted clones.
1028#
1029device	tlp: arp, ether, ifnet, mii, mii_bitbang
1030file	dev/ic/tulip.c			tlp
1031
1032# Adaptec AIC-6915 Ethernet interface
1033#
1034device	sf: arp, ether, ifnet, mii
1035file	dev/ic/aic6915.c		sf
1036
1037# Mostek time-of-day clock and NVRAM
1038#
1039define	mk48txx
1040file	dev/ic/mk48txx.c		mk48txx
1041
1042# OKI MSM6242B
1043#
1044define	msm6242b
1045file	dev/ic/msm6242b.c		msm6242b
1046
1047# Intersil 7170 time-of-day clock
1048#
1049define	intersil7170
1050file	dev/ic/intersil7170.c		intersil7170
1051
1052# National Semiconductor MM58167 time-of-day clock
1053#
1054define	mm58167
1055file	dev/ic/mm58167.c		mm58167
1056
1057# Motorola mc146818 (and compatible) time-of-day clock
1058#
1059define	mc146818
1060file	dev/ic/mc146818.c		mc146818
1061
1062# Ricoh RS5C313 time of-day-clock
1063#
1064define	rs5c313
1065file	dev/ic/rs5c313.c		rs5c313
1066
1067# D-Link DL10019/10022 NE2000-compatible network interface subroutines
1068#
1069define	dl10019
1070file	dev/ic/dl10019.c		dl10019
1071
1072# ASIX AX88190 NE2000-compatible network interface subroutines
1073#
1074define	ax88190
1075file	dev/ic/ax88190.c		ax88190
1076
1077# WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ
1078#
1079device	we: ether, ifnet, arp, dp8390nic
1080file	dev/ic/we.c			we
1081
1082# Allied-Telesis Ethernet driver based on Fujitsu MB8696xA controllers
1083#
1084device	ate: arp, ether, ifnet, mb86960
1085
1086# Fujitsu FMV-18x Ethernet driver based on Fujitsu MB8696xA controllers
1087#
1088device	fmv: arp, ether, ifnet, mb86960
1089file	dev/ic/fmv.c			fmv
1090
1091# Crystal Semiconductor CS8900, CS8920, and CS8920M Ethernet
1092#
1093device	cs: arp, ether, ifnet
1094device	tscs: arp, ether, ifnet
1095file	dev/ic/cs89x0.c			cs | tscs
1096
1097# Radio device attributes
1098#
1099define	tea5757
1100file	dev/ic/tea5757.c		tea5757
1101define	lm700x
1102file	dev/ic/lm700x.c			lm700x
1103
1104# Philips PCF8584 i2c controller
1105define	pcf8584
1106file	dev/ic/pcf8584.c		pcf8584
1107
1108# PCA9564 i2c controller
1109define	pca9564
1110file	dev/ic/pca9564.c		pca9564
1111
1112# Synopsys DesignWare I2C controller
1113define	dwiic
1114device dwiic: dwiic, i2cbus
1115file	dev/ic/dwiic.c			dwiic
1116
1117# ACPI power management timer (hardware access, independent of ACPI)
1118#
1119define acpipmtimer
1120file	dev/ic/acpipmtimer.c	acpipmtimer
1121
1122device 	hpet
1123file 	dev/ic/hpet.c		hpet			needs-flag
1124
1125# SMSC LAN9118 Family Ethernet Controller
1126#
1127device	smsh: arp, ether, ifnet, mii
1128file	dev/ic/lan9118.c		smsh
1129
1130# Apple System Management Controller
1131#
1132define	applesmcbus	{ }
1133device	applesmc: applesmcbus
1134file	dev/ic/apple_smc.c		applesmc
1135
1136# Apple SMC fan sensors and control
1137device	applesmcfan: applesmcbus, sysmon_envsys
1138attach	applesmcfan at applesmcbus with apple_smc_fan
1139file	dev/ic/apple_smc_fan.c		applesmcfan
1140
1141# Apple SMC temperature sensors
1142device	applesmctemp: applesmcbus, sysmon_envsys
1143attach	applesmctemp at applesmcbus with apple_smc_temp
1144file	dev/ic/apple_smc_temp.c		applesmctemp
1145
1146# Apple SMC accelerometer (not yet implemented!)
1147#device	applesmcaccel: applesmcbus, sysmon_envsys
1148#attach	applesmcaccel at applesmcbus with apple_smc_accel
1149#file	dev/ic/apple_smc_accel.c	applesmcaccel
1150
1151# DRM - Direct Rendering Infrastructure: dev/drm
1152define drm {}
1153include "external/bsd/drm/conf/files.drm"
1154include "dev/drm/files.drm"
1155
1156# Linux API support
1157include "external/bsd/common/conf/files.linux"
1158
1159# DRM/KMS - Newer direct rendering manager with kernel mode-switching
1160include "external/bsd/drm2/drm/files.drmkms"
1161
1162
1163# Definitions for wscons
1164# device attributes: display, display with emulator, keyboard, and mouse
1165#
1166define	wsdisplaydev		{[kbdmux = 1]}
1167define	wsemuldisplaydev	{[console = -1], [kbdmux = 1]}
1168define	wskbddev		{[console = -1], [mux = 1]}
1169define	wsmousedev		{[mux = 0]}
1170define	wsbelldev		{[console = -1], [mux = 1]}
1171define	vcons
1172# attribute to pull in raster support
1173#
1174define	wsrasteremulops
1175# common PC display functions
1176#
1177defflag	opt_pcdisplay.h		PCDISPLAY_SOFTCURSOR
1178define	pcdisplayops
1179file	dev/ic/pcdisplay_subr.c	pcdisplayops
1180file	dev/ic/pcdisplay_chars.c	pcdisplayops
1181# an attribute used by arch specific config files to include /dev/fb* (or
1182# equivalent) support - on most archs this is just a NOP (untill, maybe
1183# someday when we might make /dev/fb* support MI)
1184define	fb
1185# VGA graphics
1186#
1187defparam opt_vga.h		VGA_CONSOLE_SCREENTYPE
1188defflag opt_vga.h 		VGA_CONSOLE_ATI_BROKEN_FONTSEL
1189defflag opt_vga.h		VGA_RASTERCONSOLE
1190defflag opt_vga.h		VGA_RESET
1191device	vga: displaydev, wsemuldisplaydev, pcdisplayops, drm
1192file	dev/ic/vga.c		vga & !vga_rasterconsole	needs-flag
1193file	dev/ic/vga_raster.c	vga_rasterconsole		needs-flag
1194file	dev/ic/vga_subr.c	vga | vga_rasterconsole
1195file	dev/ic/vga_common.c	vga | vga_rasterconsole
1196
1197# Integraphics Systems IGA168x and CyberPro framebuffers (linear non-VGA mode)
1198#
1199device	igsfb: wsemuldisplaydev, rasops8, vcons, videomode
1200file	dev/ic/igsfb.c			igsfb			needs-flag
1201file	dev/ic/igsfb_subr.c		igsfb
1202
1203device	chipsfb: wsemuldisplaydev, rasops8, vcons, videomode, glyphcache
1204file	dev/ic/ct65550.c		chipsfb
1205defflag	opt_chipsfb.h	CHIPSFB_DEBUG
1206defflag	opt_chipsfb.h	CHIPSFB_WAIT
1207
1208# STI (hp graphics)
1209device	sti: wsemuldisplaydev
1210file	dev/ic/sti.c		sti
1211
1212include "dev/wscons/files.wscons"
1213include "dev/rasops/files.rasops"
1214include "dev/wsfont/files.wsfont"
1215include "dev/wsfb/files.wsfb"
1216
1217# Attributes which machine-independent bus support can be attached to.
1218# These should be defined here, because some of these busses can have
1219# devices which provide these attributes, and we'd like to avoid hairy
1220# ordering constraints on inclusion of the busses' "files" files.
1221#
1222define	isabus	{ }			# ISA attachment
1223define	eisabus	{ }			# EISA attachment
1224define	pcibus	{[bus = -1]}		# PCI attachment
1225define	mcabus	{ }			# MicroChannel attachment
1226define	usbus	{ }			# USB attachment
1227define	fwbus	{ }			# IEEE 1394 attachment
1228define	vmebus	{ }			# VME bus attachment
1229define	acpibus	{ }			# ACPI "bus" attachment
1230define	pcmciabus { [controller = -1], [socket = -1]}	# PCMCIA bus attachment
1231define	cbbus	{ }			# CardBus attachment
1232define	pcmciaslot { }			# PCMCIA slot itself
1233define	sdmmcbus { }			# SD/MMC attachment
1234
1235# We need the USB bus controllers here so different busses can
1236# use them in an 'attach-with'.
1237#
1238
1239define	usbroothub
1240file	dev/usb/usbroothub.c	usbroothub
1241
1242define	usb_dma
1243
1244# UHCI USB controller
1245#
1246device	uhci: usbus, usbroothub, usb_dma
1247file	dev/usb/uhci.c			uhci			needs-flag
1248
1249# OHCI USB controller
1250#
1251device	ohci: usbus, usbroothub, usb_dma
1252file	dev/usb/ohci.c			ohci			needs-flag
1253
1254# EHCI USB2 controller
1255#
1256device	ehci: usbus, usbroothub, usb_dma
1257file	dev/usb/ehci.c			ehci			needs-flag
1258
1259# xHCI USB3 controller
1260#
1261device	xhci: usbus, usbroothub, usb_dma
1262file	dev/usb/xhci.c			xhci			needs-flag
1263
1264# vHCI USB controller
1265#
1266defpseudodev vhci: usbus, usbroothub
1267file	dev/usb/vhci.c			vhci			needs-flag
1268
1269# Mentor graphics OTG IP
1270device	motg: usbus, usbroothub
1271file	dev/usb/motg.c			motg			needs-flag
1272
1273# SL811HS/T USB controller
1274defflag	opt_slhci.h	SLHCI_TRY_LSVH SLHCI_PROFILE_TRANSFER
1275device	slhci: usbus, usbroothub
1276file	dev/ic/sl811hs.c		slhci			needs-flag
1277
1278# DesignWare OTG host controller
1279#
1280include "external/bsd/dwc2/conf/files.dwc2"
1281
1282# SD Host controller
1283device	sdhc: sdmmcbus
1284file	dev/sdmmc/sdhc.c		sdhc			needs-flag
1285
1286# Winbond Integrated Media Reader
1287device	wb: sdmmcbus
1288file	dev/ic/w83l518d.c		wb
1289file	dev/ic/w83l518d_sdmmc.c		wb
1290
1291# Realtek RTS5209/RTS5229 Card Reader
1292device	rtsx: sdmmcbus
1293file	dev/ic/rtsx.c			rtsx
1294
1295# DesignWare SD/MMC host controller
1296defflag	opt_dwc_mmc.h	DWC_MMC_DEBUG
1297device	dwcmmc: sdmmcbus
1298file	dev/ic/dwc_mmc.c		dwcmmc
1299
1300# ARM PrimeCell PL031 (RTC) real time clock
1301device	plrtc
1302file	dev/ic/pl031.c			plrtc
1303
1304# ARM PrimeCell PL041 (AACI) Advanced Audio CODEC interface
1305device	aaci: audiobus, auconv, aurateconv, mulaw, ac97
1306file	dev/ic/pl041.c			aaci
1307
1308# ARM PrimeCell PL050 (KMI) PS2 keyboard/mouse interface
1309device	plkmi: pckbport
1310file	dev/ic/pl050.c			plkmi
1311
1312# ARM PrimeCell PL061 (GPIO) general purpose input/output
1313device	plgpio: gpiobus
1314file	dev/ic/pl061.c			plgpio
1315
1316# ARM PrimeCell PL181 (MMCI) host controller
1317device	plmmc: sdmmcbus
1318file	dev/ic/pl181.c			plmmc
1319
1320# Myson MTD803 3-in-1 Fast Ethernet Controller
1321device	mtd: arp, ether, ifnet, mii
1322file	dev/ic/mtd803.c			mtd
1323
1324# radio devices, attaches to radio hardware driver
1325device	radio
1326attach	radio at radiodev
1327
1328# IEEE 1394 controllers
1329# (These need to be here since it will have both PCI and CardBus attachments)
1330#
1331device	fwohci: fwbus
1332
1333# Sony Programmable I/O Controller
1334device	spic: wsmousedev
1335file	dev/ic/spic.c			spic
1336
1337# IBM CPC700 PowerPC bridge
1338define	cpcbus { addr, [irq=-1] }
1339device	cpc: cpcbus, pcibus
1340file	dev/ic/cpc700.c			cpc
1341
1342attach	com at cpcbus with com_cpcbus
1343file	dev/ic/com_cpcbus.c		com_cpcbus
1344
1345device	cpctim
1346attach	cpctim at cpcbus
1347file	dev/ic/timer_cpcbus.c		cpctim
1348
1349device	cpciic
1350attach	cpciic at cpcbus with iic_cpcbus
1351file	dev/ic/iic_cpcbus.c		iic_cpcbus
1352
1353
1354# Broadcom AirForce / Apple Airport Extreme
1355device	bwi: arp, ifnet, firmload, wlan
1356file	dev/ic/bwi.c			bwi
1357
1358# DM9000 Ethernet controllers
1359#
1360device	dme: arp, ether, ifnet
1361file	dev/ic/dm9000.c			dme
1362
1363# NVM Express Controller
1364#
1365device	nvme {nsid = -1}
1366file	dev/ic/nvme.c			nvme
1367
1368attach	ld at nvme with ld_nvme
1369file	dev/ic/ld_nvme.c		ld_nvme
1370
1371# Broadcom FullMAC 802.11 driver
1372device	bwfm: arp, ifnet, wlan
1373file	dev/ic/bwfm.c			bwfm
1374
1375# QEMU Firmware Configuration (fw_cfg) device
1376device	qemufwcfg
1377file	dev/ic/qemufwcfg.c		qemufwcfg
1378
1379# AMD Cryptographic Coprocessor
1380device	amdccp
1381file	dev/ic/amdccp.c			amdccp
1382
1383# legitimate pseudo-devices
1384#
1385defpseudodev vnd:	disk
1386defflag opt_vnd.h	VND_COMPRESSION
1387defpseudo ccd:		disk
1388defpseudodev cgd:	disk, des, blowfish, cast128
1389defpseudodev md:	disk
1390defpseudodev fss:	disk
1391
1392defpseudo pty:		tty
1393defpseudo rnd
1394defpseudo ksyms
1395defpseudo nullcons
1396defpseudo lockstat
1397defpseudo bio:		sysmon_envsys
1398
1399defpseudo loop:		ifnet
1400defpseudo sl:		ifnet
1401defpseudo ppp:		ifnet, bpf_filter
1402defpseudo pppoe:	ifnet, ether, sppp
1403defpseudo tun:		ifnet
1404defpseudo vlan:		ifnet, ether
1405defpseudo bridge:	ifnet, ether
1406defpseudo bpfilter:	ifnet, bpf_filter
1407defpseudo strip:	ifnet
1408defpseudo gre:		ifnet
1409defpseudo gif:		ifnet
1410defpseudo faith:	ifnet
1411defpseudo mpls:		ifnet
1412defpseudo srt:		ifnet
1413defpseudo stf:		ifnet
1414defpseudodev tap:	ifnet, ether, arp
1415defpseudo carp:		ifnet, ether, arp
1416defpseudodev l2tp:	ifnet, ether, arp
1417defpseudo canloop:	ifnet
1418defpseudo ipsecif:	ifnet		# avoid to confuse ipsec itself option
1419
1420defpseudo sequencer
1421defpseudo clockctl
1422
1423#
1424# Accept filters.  XXX should use another registration/initialization method.
1425#
1426defpseudo accf_data
1427defpseudo accf_http
1428
1429# KTTCP network throughput testing pseudo-device
1430defpseudo kttcp
1431file	dev/kttcp.c			kttcp		needs-flag
1432
1433# Veriexec
1434defpseudo veriexec
1435file	kern/kern_veriexec.c	veriexec
1436file	dev/veriexec.c		veriexec	needs-flag
1437
1438# driver attach / detach user interface
1439defpseudo drvctl
1440file	kern/kern_drvctl.c		drvctl		needs-flag
1441
1442# cpu control
1443defpseudo cpuctl
1444defflag				CPU_UCODE: firmload
1445
1446# pass-to-userspace transporter
1447defpseudo putter
1448file	dev/putter/putter.c		putter
1449
1450# userspace block/char device drivers
1451defpseudo pud
1452file	dev/pud/pud.c			pud
1453file	dev/pud/pud_dev.c		pud
1454
1455# device-mapper driver for LVM
1456include "dev/dm/files.dm"
1457
1458# LED framework
1459file	dev/led.c			leds
1460
1461# IPMI
1462device	ipmi: sysmon_envsys, sysmon_wdog
1463attach	ipmi at ipmibus
1464
1465# Designware HDMI TX
1466device	dwhdmi: edid, videomode, drmkms, drmkms_i2c
1467file	dev/ic/dw_hdmi.c		dwhdmi
1468file	dev/ic/dw_hdmi_phy.c		dwhdmi
1469
1470# Analogix DisplayPort
1471device	anxdp: edid, videomode, drmkms, drmkms_i2c
1472file	dev/ic/anx_dp.c			anxdp
1473
1474#
1475# File systems
1476#
1477include "coda/files.coda"
1478include "fs/adosfs/files.adosfs"
1479include "fs/cd9660/files.cd9660"
1480include "fs/efs/files.efs"
1481include "fs/filecorefs/files.filecorefs"
1482include "fs/hfs/files.hfs"
1483include "fs/msdosfs/files.msdosfs"
1484include "fs/nilfs/files.nilfs"
1485include "fs/ntfs/files.ntfs"
1486include "fs/ptyfs/files.ptyfs"
1487include "fs/puffs/files.puffs"
1488include "fs/udf/files.udf"
1489include "fs/smbfs/files.smbfs"
1490include "fs/sysvbfs/files.sysvbfs"
1491include "fs/tmpfs/files.tmpfs"
1492include "fs/union/files.union"
1493include "fs/v7fs/files.v7fs"
1494include "fs/autofs/files.autofs"
1495include "miscfs/fdesc/files.fdesc"
1496include "miscfs/kernfs/files.kernfs"
1497include "miscfs/nullfs/files.nullfs"
1498include "miscfs/overlay/files.overlay"
1499include "miscfs/procfs/files.procfs"
1500include "miscfs/umapfs/files.umapfs"
1501include "nfs/files.nfs"
1502include "ufs/files.ufs"
1503include "fs/nfs/files.newnfs"
1504
1505#
1506# UVM (virtual memory)
1507#
1508include "uvm/files.uvm"
1509
1510#
1511# Security models
1512#
1513include "secmodel/files.secmodel"
1514
1515include "kern/files.kern"
1516
1517include "dev/files.dev"
1518
1519include "net/files.net"
1520
1521# Game adapter (joystick)
1522device	joy
1523file	dev/ic/joy.c			joy needs-flag
1524
1525#
1526# General Purpose Input/Output framework
1527#
1528define	onewire_bitbang
1529include	"dev/gpio/files.gpio"
1530
1531include "dev/onewire/files.onewire"
1532
1533#
1534# Pseudo audio device
1535#
1536include "dev/pad/files.pad"
1537
1538#
1539# Intel 386 Real Mode emulator
1540#
1541include "lib/libx86emu/files.x86emu"
1542
1543#
1544# "tprof" profiler.
1545#
1546include	"dev/tprof/files.tprof"
1547
1548#
1549# NetBSD Virtual Machine Monitor.
1550#
1551include	"dev/nvmm/files.nvmm"
1552
1553#
1554# alternate memory device
1555#
1556include "dev/altmem/files.altmem"
1557
1558#
1559# Flash subsystem
1560#
1561include "dev/flash/files.flash"
1562
1563#
1564# NAND subsytem
1565#
1566include "dev/nand/files.nand"
1567
1568#
1569# NOR subsytem
1570#
1571include "dev/nor/files.nor"
1572
1573#
1574# iscsi
1575#
1576include "dev/iscsi/files.iscsi"
1577
1578#
1579# athn
1580#
1581include "dev/ic/files.athn"
1582
1583#
1584# MI clk api
1585#
1586include "dev/clk/files.clk"
1587
1588#
1589# Flattened Device Tree (FDT) support
1590#
1591include "dev/ofw/files.ofw"
1592include "dev/fdt/files.fdt"
1593
1594#
1595# Name value library
1596#
1597include "external/bsd/libnv/conf/files.libnv"
1598