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