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