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