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