files revision 1.1217
1#	$NetBSD: files,v 1.1217 2018/12/02 21:00:13 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
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 COM_AU1X00
885				COM_REGMAP COM_FUNCMAP
886defparam opt_com.h		COM_TOLERANCE
887device	com { } : tty
888file	dev/ic/com.c			com			needs-flag
889
890# PC-like keyboard controller
891#
892device	pckbc: pckbport
893file	dev/ic/pckbc.c			pckbc			needs-flag
894
895device	attimer
896file	dev/ic/attimer.c		attimer			needs-flag
897
898# Cirrus Logic CD240[01] 4-port Multi-Protocol Communications Controller
899#
900device	clmpcc: tty
901file	dev/ic/clmpcc.c			clmpcc			needs-flag
902
903# Abit uGuru
904#
905device	ug: sysmon_envsys
906file	dev/ic/ug.c			ug			needs-flag
907
908# Essential Communications Corp. HIPPI Interface
909#
910device	esh: hippi, ifnet
911file	dev/ic/rrunner.c		esh			needs-flag
912
913# SMC 90c26, SMC 90C56 (and 90C66 if in compat mode) chip driver
914#
915device	bah: ifnet, arcnet, arp
916file	dev/ic/smc90cx6.c		bah
917
918# OPL2/OPL3 FM synth driver
919#
920device	opl: midibus, midisyn
921file	dev/ic/opl.c			opl
922file	dev/ic/oplinstrs.c		opl
923
924# MPU401 MIDI UART compatibles
925#
926device	mpu: midibus
927file	dev/ic/mpu.c			mpu			needs-flag
928
929# AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers
930#
931define	ad1848
932file	dev/ic/ad1848.c			ad1848
933
934# AMD 7930 audio/ISDN codec
935#
936define	am7930
937file	dev/ic/am7930.c			am7930
938
939# Siemens PSB2160 audio codec, as found in HP systems
940device	arcofi: audiobus, auconv, mulaw
941file	dev/ic/arcofi.c			arcofi
942
943# SPARC `SUNW,audiocs'
944#
945device	audiocs: audiobus, auconv, ad1848
946file	dev/ic/cs4231.c			audiocs
947
948# AC-97 CODECs
949#
950define	ac97
951file	dev/ic/ac97.c			ac97
952
953# UDA1341 CODEC support
954define	uda1341
955file	dev/ic/uda1341.c		uda1341
956
957# Oki MSM6258 support code
958#
959define msm6258
960file	dev/ic/msm6258.c		msm6258
961
962# LSI64854 DMA controller back-end
963#
964define	lsi64854
965file	dev/ic/lsi64854.c		lsi64854
966
967# Cirrus Logic CL-CD180/1864/1865 multi port serial controller back-end
968#
969define	cd18xx
970file	dev/ic/cd18xx.c			cd18xx
971
972# Realtek 8019/8029 NE2000-compatible network interface subroutines
973#
974define	rtl80x9
975file	dev/ic/rtl80x9.c		rtl80x9			needs-flag
976
977# Realtek 8129/8139 Ethernet controllers
978#
979device	rtk: ether, ifnet, arp, mii
980file	dev/ic/rtl81x9.c		rtk | re
981
982# Realtek 8169 Ethernet controllers
983#
984device	re: ether, ifnet, arp, mii
985file	dev/ic/rtl8169.c		re
986
987# Virtual I/O Device (VIRTIO) bus controller and devices
988#
989include "dev/virtio/files.virtio"
990
991# Common code for ESDI/IDE/etc. controllers
992#
993define	wdc_common
994define	ata_dma
995define	ata_udma
996define	ata_piobm
997device	wdc: ata, wdc_common
998
999defflag opt_ata.h	ATADEBUG
1000defparam opt_ata.h	ATADEBUG_MASK
1001defflag opt_wdc.h	WDC_NO_IDS
1002
1003device	atabus: atapi,ata_hl
1004attach	atabus at ata
1005# The strange expression is to dump ata_* definitions to ata_dma.h.
1006file	dev/ic/wdc.c			(ata_dma | ata_udma | ata_piobm | atabus) & atabus & wdc_common	needs-flag
1007
1008# Workbit NinjaATA-32 IDE controllers
1009device	njata: ata, ata_piobm, wdc_common
1010file	dev/ic/ninjaata32.c		njata
1011
1012# CHIPS and Technologies 82C7[12][01] Universal Peripheral Controller
1013#
1014device	upc { [offset = -1] }
1015attach	wdc at upc with wdc_upc
1016attach	com at upc with com_upc
1017attach	lpt at upc with lpt_upc
1018file	dev/ic/upc.c			upc
1019file	dev/ic/wdc_upc.c		wdc_upc
1020file	dev/ic/com_upc.c		com_upc
1021file	dev/ic/lpt_upc.c		lpt_upc
1022
1023# AHCI-compatible SATA controllers
1024define ahcisata_core
1025file dev/ic/ahcisata_core.c ahcisata_core
1026device ahcisata: ata, ata_dma, ata_udma, sata, sata_fis, sata_pmp, ahcisata_core
1027
1028# Silicon Image SteelVine SATA-II controllers
1029define	siisata
1030file	dev/ic/siisata.c		siisata
1031device	siisata: ata, ata_dma, ata_udma, sata, sata_fis, sata_pmp, siisata
1032
1033# Marvell Serial-ATA Host Controller
1034define mvsata
1035file dev/ic/mvsata.c			mvsata
1036device mvsata: ata, ata_dma, ata_udma, wdc_common, sata, sata_fis, sata_pmp, mvsata
1037defflag opt_mvsata.h		MVSATA_WITHOUTDMA
1038
1039# DECchip 21x4x Ethernet controller family, and assorted clones.
1040#
1041device	tlp: arp, ether, ifnet, mii, mii_bitbang
1042file	dev/ic/tulip.c			tlp
1043
1044# Adaptec AIC-6915 Ethernet interface
1045#
1046device	sf: arp, ether, ifnet, mii
1047file	dev/ic/aic6915.c		sf
1048
1049# Mostek time-of-day clock and NVRAM
1050#
1051define	mk48txx
1052file	dev/ic/mk48txx.c		mk48txx
1053
1054# OKI MSM6242B
1055#
1056define	msm6242b
1057file	dev/ic/msm6242b.c		msm6242b
1058
1059# Intersil 7170 time-of-day clock
1060#
1061define	intersil7170
1062file	dev/ic/intersil7170.c		intersil7170
1063
1064# National Semiconductor MM58167 time-of-day clock
1065#
1066define	mm58167
1067file	dev/ic/mm58167.c		mm58167
1068
1069# Motorola mc146818 (and compatible) time-of-day clock
1070#
1071define	mc146818
1072file	dev/ic/mc146818.c		mc146818
1073
1074# Ricoh RS5C313 time of-day-clock
1075#
1076define	rs5c313
1077file	dev/ic/rs5c313.c		rs5c313
1078
1079# D-Link DL10019/10022 NE2000-compatible network interface subroutines
1080#
1081define	dl10019
1082file	dev/ic/dl10019.c		dl10019
1083
1084# ASIX AX88190 NE2000-compatible network interface subroutines
1085#
1086define	ax88190
1087file	dev/ic/ax88190.c		ax88190
1088
1089# WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ
1090#
1091device	we: ether, ifnet, arp, dp8390nic
1092file	dev/ic/we.c			we
1093
1094# Allied-Telesis Ethernet driver based on Fujitsu MB8696xA controllers
1095#
1096device	ate: arp, ether, ifnet, mb86960
1097
1098# Fujitsu FMV-18x Ethernet driver based on Fujitsu MB8696xA controllers
1099#
1100device	fmv: arp, ether, ifnet, mb86960
1101file	dev/ic/fmv.c			fmv
1102
1103# Crystal Semiconductor CS8900, CS8920, and CS8920M Ethernet
1104#
1105device	cs: arp, ether, ifnet
1106device	tscs: arp, ether, ifnet
1107file	dev/ic/cs89x0.c			cs | tscs
1108
1109# Radio device attributes
1110#
1111define	tea5757
1112file	dev/ic/tea5757.c		tea5757
1113define	lm700x
1114file	dev/ic/lm700x.c			lm700x
1115
1116# Philips PCF8584 i2c controller
1117define	pcf8584
1118file	dev/ic/pcf8584.c		pcf8584
1119
1120# PCA9564 i2c controller
1121define	pca9564
1122file	dev/ic/pca9564.c		pca9564
1123
1124# Synopsys DesignWare I2C controller
1125define	dwiic
1126device dwiic: dwiic, i2cbus
1127file	dev/ic/dwiic.c			dwiic
1128
1129# ACPI power management timer (hardware access, independent of ACPI)
1130#
1131define acpipmtimer
1132file	dev/ic/acpipmtimer.c	acpipmtimer
1133
1134device 	hpet
1135file 	dev/ic/hpet.c		hpet			needs-flag
1136
1137# DesignWare timer
1138device	dwctmr
1139file	dev/ic/dwc_tmr.c	dwctmr
1140
1141# SMSC LAN9118 Family Ethernet Controller
1142#
1143device	smsh: arp, ether, ifnet, mii
1144file	dev/ic/lan9118.c		smsh
1145
1146# Apple System Management Controller
1147#
1148define	applesmcbus	{ }
1149device	applesmc: applesmcbus
1150file	dev/ic/apple_smc.c		applesmc
1151
1152# Apple SMC fan sensors and control
1153device	applesmcfan: applesmcbus, sysmon_envsys
1154attach	applesmcfan at applesmcbus with apple_smc_fan
1155file	dev/ic/apple_smc_fan.c		applesmcfan
1156
1157# Apple SMC temperature sensors
1158device	applesmctemp: applesmcbus, sysmon_envsys
1159attach	applesmctemp at applesmcbus with apple_smc_temp
1160file	dev/ic/apple_smc_temp.c		applesmctemp
1161
1162# Apple SMC accelerometer (not yet implemented!)
1163#device	applesmcaccel: applesmcbus, sysmon_envsys
1164#attach	applesmcaccel at applesmcbus with apple_smc_accel
1165#file	dev/ic/apple_smc_accel.c	applesmcaccel
1166
1167# DRM - Direct Rendering Infrastructure: dev/drm
1168define drm {}
1169include "external/bsd/drm/conf/files.drm"
1170include "dev/drm/files.drm"
1171
1172# Linux API support
1173include "external/bsd/common/conf/files.linux"
1174
1175# DRM/KMS - Newer direct rendering manager with kernel mode-switching
1176include "external/bsd/drm2/drm/files.drmkms"
1177
1178
1179# Definitions for wscons
1180# device attributes: display, display with emulator, keyboard, and mouse
1181#
1182define	wsdisplaydev		{[kbdmux = 1]}
1183define	wsemuldisplaydev	{[console = -1], [kbdmux = 1]}
1184define	wskbddev		{[console = -1], [mux = 1]}
1185define	wsmousedev		{[mux = 0]}
1186define	wsbelldev		{[console = -1], [mux = 1]}
1187define	vcons
1188# attribute to pull in raster support
1189#
1190define	wsrasteremulops
1191# common PC display functions
1192#
1193defflag	opt_pcdisplay.h		PCDISPLAY_SOFTCURSOR
1194define	pcdisplayops
1195file	dev/ic/pcdisplay_subr.c	pcdisplayops
1196file	dev/ic/pcdisplay_chars.c	pcdisplayops
1197# an attribute used by arch specific config files to include /dev/fb* (or
1198# equivalent) support - on most archs this is just a NOP (untill, maybe
1199# someday when we might make /dev/fb* support MI)
1200define	fb
1201# VGA graphics
1202#
1203defparam opt_vga.h		VGA_CONSOLE_SCREENTYPE
1204defflag opt_vga.h 		VGA_CONSOLE_ATI_BROKEN_FONTSEL
1205defflag opt_vga.h		VGA_RASTERCONSOLE
1206defflag opt_vga.h		VGA_RESET
1207device	vga: displaydev, wsemuldisplaydev, pcdisplayops, drm
1208file	dev/ic/vga.c		vga & !vga_rasterconsole	needs-flag
1209file	dev/ic/vga_raster.c	vga_rasterconsole		needs-flag
1210file	dev/ic/vga_subr.c	vga | vga_rasterconsole
1211file	dev/ic/vga_common.c	vga | vga_rasterconsole
1212
1213# Integraphics Systems IGA168x and CyberPro framebuffers (linear non-VGA mode)
1214#
1215device	igsfb: wsemuldisplaydev, rasops8, vcons, videomode
1216file	dev/ic/igsfb.c			igsfb			needs-flag
1217file	dev/ic/igsfb_subr.c		igsfb
1218
1219device	chipsfb: wsemuldisplaydev, rasops8, vcons, videomode, glyphcache
1220file	dev/ic/ct65550.c		chipsfb
1221defflag	opt_chipsfb.h	CHIPSFB_DEBUG
1222defflag	opt_chipsfb.h	CHIPSFB_WAIT
1223
1224# STI (hp graphics)
1225device	sti: wsemuldisplaydev
1226file	dev/ic/sti.c		sti
1227
1228include "dev/wscons/files.wscons"
1229include "dev/rasops/files.rasops"
1230include "dev/wsfont/files.wsfont"
1231include "dev/wsfb/files.wsfb"
1232
1233# Attributes which machine-independent bus support can be attached to.
1234# These should be defined here, because some of these busses can have
1235# devices which provide these attributes, and we'd like to avoid hairy
1236# ordering constraints on inclusion of the busses' "files" files.
1237#
1238define	isabus	{ }			# ISA attachment
1239define	eisabus	{ }			# EISA attachment
1240define	pcibus	{[bus = -1]}		# PCI attachment
1241define	mcabus	{ }			# MicroChannel attachment
1242define	usbus	{ }			# USB attachment
1243define	fwbus	{ }			# IEEE 1394 attachment
1244define	vmebus	{ }			# VME bus attachment
1245define	acpibus	{ }			# ACPI "bus" attachment
1246define	pcmciabus { [controller = -1], [socket = -1]}	# PCMCIA bus attachment
1247define	cbbus	{ }			# CardBus attachment
1248define	pcmciaslot { }			# PCMCIA slot itself
1249define	sdmmcbus { }			# SD/MMC attachment
1250
1251# We need the USB bus controllers here so different busses can
1252# use them in an 'attach-with'.
1253#
1254
1255define	usbroothub
1256file	dev/usb/usbroothub.c	usbroothub
1257
1258define	usb_dma
1259
1260# UHCI USB controller
1261#
1262device	uhci: usbus, usbroothub, usb_dma
1263file	dev/usb/uhci.c			uhci			needs-flag
1264
1265# OHCI USB controller
1266#
1267device	ohci: usbus, usbroothub, usb_dma
1268file	dev/usb/ohci.c			ohci			needs-flag
1269
1270# EHCI USB2 controller
1271#
1272device	ehci: usbus, usbroothub, usb_dma
1273file	dev/usb/ehci.c			ehci			needs-flag
1274
1275# xHCI USB3 controller
1276#
1277device	xhci: usbus, usbroothub, usb_dma
1278file	dev/usb/xhci.c			xhci			needs-flag
1279
1280# Mentor graphics OTG IP
1281device	motg: usbus, usbroothub
1282file	dev/usb/motg.c			motg			needs-flag
1283
1284# SL811HS/T USB controller
1285defflag	opt_slhci.h	SLHCI_TRY_LSVH SLHCI_PROFILE_TRANSFER
1286device	slhci: usbus, usbroothub
1287file	dev/ic/sl811hs.c		slhci			needs-flag
1288
1289# DesignWare OTG host controller
1290#
1291include "external/bsd/dwc2/conf/files.dwc2"
1292
1293# SD Host controller
1294device	sdhc: sdmmcbus
1295file	dev/sdmmc/sdhc.c		sdhc			needs-flag
1296
1297# Winbond Integrated Media Reader
1298device	wb: sdmmcbus
1299file	dev/ic/w83l518d.c		wb
1300file	dev/ic/w83l518d_sdmmc.c		wb
1301
1302# Realtek RTS5209/RTS5229 Card Reader
1303device	rtsx: sdmmcbus
1304file	dev/ic/rtsx.c			rtsx
1305
1306# DesignWare SD/MMC host controller
1307defflag	opt_dwc_mmc.h	DWC_MMC_DEBUG
1308device	dwcmmc: sdmmcbus
1309file	dev/ic/dwc_mmc.c		dwcmmc
1310
1311# ARM PrimeCell PL031 (RTC) real time clock
1312device	plrtc
1313file	dev/ic/pl031.c			plrtc
1314
1315# ARM PrimeCell PL041 (AACI) Advanced Audio CODEC interface
1316device	aaci: audiobus, auconv, aurateconv, mulaw, ac97
1317file	dev/ic/pl041.c			aaci
1318
1319# ARM PrimeCell PL050 (KMI) PS2 keyboard/mouse interface
1320device	plkmi: pckbport
1321file	dev/ic/pl050.c			plkmi
1322
1323# ARM PrimeCell PL061 (GPIO) general purpose input/output
1324device	plgpio: gpiobus
1325file	dev/ic/pl061.c			plgpio
1326
1327# ARM PrimeCell PL181 (MMCI) host controller
1328device	plmmc: sdmmcbus
1329file	dev/ic/pl181.c			plmmc
1330
1331# Myson MTD803 3-in-1 Fast Ethernet Controller
1332device	mtd: arp, ether, ifnet, mii
1333file	dev/ic/mtd803.c			mtd
1334
1335# radio devices, attaches to radio hardware driver
1336device	radio
1337attach	radio at radiodev
1338
1339# IEEE 1394 controllers
1340# (These need to be here since it will have both PCI and CardBus attachments)
1341#
1342device	fwohci: fwbus
1343
1344# Sony Programmable I/O Controller
1345device	spic: wsmousedev
1346file	dev/ic/spic.c			spic
1347
1348# IBM CPC700 PowerPC bridge
1349define	cpcbus { addr, [irq=-1] }
1350device	cpc: cpcbus, pcibus
1351file	dev/ic/cpc700.c			cpc
1352
1353attach	com at cpcbus with com_cpcbus
1354file	dev/ic/com_cpcbus.c		com_cpcbus
1355
1356device	cpctim
1357attach	cpctim at cpcbus
1358file	dev/ic/timer_cpcbus.c		cpctim
1359
1360device	cpciic
1361attach	cpciic at cpcbus with iic_cpcbus
1362file	dev/ic/iic_cpcbus.c		iic_cpcbus
1363
1364
1365# Broadcom AirForce / Apple Airport Extreme
1366device	bwi: arp, ifnet, firmload, wlan
1367file	dev/ic/bwi.c			bwi
1368
1369# DM9000 Ethernet controllers
1370#
1371device	dme: arp, ether, ifnet
1372file	dev/ic/dm9000.c			dme
1373
1374# NVM Express Controller
1375#
1376device	nvme {nsid = -1}
1377file	dev/ic/nvme.c			nvme
1378
1379attach	ld at nvme with ld_nvme
1380file	dev/ic/ld_nvme.c		ld_nvme
1381
1382# Broadcom FullMAC 802.11 driver
1383device	bwfm: arp, ifnet, wlan
1384file	dev/ic/bwfm.c			bwfm
1385
1386# QEMU Firmware Configuration (fw_cfg) device
1387device	qemufwcfg
1388file	dev/ic/qemufwcfg.c		qemufwcfg
1389
1390# AMD Cryptographic Coprocessor
1391device	amdccp
1392file	dev/ic/amdccp.c			amdccp
1393
1394# legitimate pseudo-devices
1395#
1396defpseudodev vnd:	disk
1397defflag opt_vnd.h	VND_COMPRESSION
1398defpseudo ccd:		disk
1399defpseudodev cgd:	disk, des, blowfish, cast128
1400defpseudodev md:	disk
1401defpseudodev fss:	disk
1402
1403defpseudo pty:		tty
1404defpseudo rnd
1405defpseudo ksyms
1406defpseudo nullcons
1407defpseudo lockstat
1408defpseudo bio:		sysmon_envsys
1409
1410defpseudo loop:		ifnet
1411defpseudo sl:		ifnet
1412defpseudo ppp:		ifnet, bpf_filter
1413defpseudo pppoe:	ifnet, ether, sppp
1414defpseudo tun:		ifnet
1415defpseudo vlan:		ifnet, ether
1416defpseudo bridge:	ifnet, ether
1417defpseudo bpfilter:	ifnet, bpf_filter
1418defpseudo strip:	ifnet
1419defpseudo gre:		ifnet
1420defpseudo gif:		ifnet
1421defpseudo faith:	ifnet
1422defpseudo mpls:		ifnet
1423defpseudo srt:		ifnet
1424defpseudo stf:		ifnet
1425defpseudodev tap:	ifnet, ether, arp
1426defpseudo carp:		ifnet, ether, arp
1427defpseudodev l2tp:	ifnet, ether, arp
1428defpseudo canloop:	ifnet
1429defpseudo ipsecif:	ifnet		# avoid to confuse ipsec itself option
1430
1431defpseudo sequencer
1432defpseudo clockctl
1433
1434#
1435# Accept filters.  XXX should use another registration/initialization method.
1436#
1437defpseudo accf_data
1438defpseudo accf_http
1439
1440# KTTCP network throughput testing pseudo-device
1441defpseudo kttcp
1442file	dev/kttcp.c			kttcp		needs-flag
1443
1444# Veriexec
1445defpseudo veriexec
1446file	kern/kern_veriexec.c	veriexec
1447file	dev/veriexec.c		veriexec	needs-flag
1448
1449# driver attach / detach user interface
1450defpseudo drvctl
1451file	kern/kern_drvctl.c		drvctl		needs-flag
1452
1453# cpu control
1454defpseudo cpuctl
1455defflag				CPU_UCODE: firmload
1456
1457# pass-to-userspace transporter
1458defpseudo putter
1459file	dev/putter/putter.c		putter
1460
1461# userspace block/char device drivers
1462defpseudo pud
1463file	dev/pud/pud.c			pud
1464file	dev/pud/pud_dev.c		pud
1465
1466# device-mapper driver for LVM
1467include "dev/dm/files.dm"
1468
1469# LED framework
1470file	dev/led.c			leds
1471
1472#
1473# File systems
1474#
1475include "coda/files.coda"
1476include "fs/adosfs/files.adosfs"
1477include "fs/cd9660/files.cd9660"
1478include "fs/efs/files.efs"
1479include "fs/filecorefs/files.filecorefs"
1480include "fs/hfs/files.hfs"
1481include "fs/msdosfs/files.msdosfs"
1482include "fs/nilfs/files.nilfs"
1483include "fs/ntfs/files.ntfs"
1484include "fs/ptyfs/files.ptyfs"
1485include "fs/puffs/files.puffs"
1486include "fs/udf/files.udf"
1487include "fs/smbfs/files.smbfs"
1488include "fs/sysvbfs/files.sysvbfs"
1489include "fs/tmpfs/files.tmpfs"
1490include "fs/union/files.union"
1491include "fs/v7fs/files.v7fs"
1492include "fs/autofs/files.autofs"
1493include "miscfs/fdesc/files.fdesc"
1494include "miscfs/kernfs/files.kernfs"
1495include "miscfs/nullfs/files.nullfs"
1496include "miscfs/overlay/files.overlay"
1497include "miscfs/procfs/files.procfs"
1498include "miscfs/umapfs/files.umapfs"
1499include "nfs/files.nfs"
1500include "ufs/files.ufs"
1501include "fs/nfs/files.newnfs"
1502
1503#
1504# UVM (virtual memory)
1505#
1506include "uvm/files.uvm"
1507
1508#
1509# Security models
1510#
1511include "secmodel/files.secmodel"
1512
1513include "kern/files.kern"
1514
1515include "dev/files.dev"
1516
1517include "net/files.net"
1518
1519# Game adapter (joystick)
1520device	joy
1521file	dev/ic/joy.c			joy needs-flag
1522
1523# process monitor for make(1)
1524# normally built as module
1525defpseudo filemon
1526file	dev/filemon/filemon.c		filemon
1527file	dev/filemon/filemon_wrapper.c	filemon
1528
1529#
1530# General Purpose Input/Output framework
1531#
1532define	onewire_bitbang
1533include	"dev/gpio/files.gpio"
1534
1535include "dev/onewire/files.onewire"
1536
1537#
1538# Pseudo audio device
1539#
1540include "dev/pad/files.pad"
1541
1542#
1543# Intel 386 Real Mode emulator
1544#
1545include "lib/libx86emu/files.x86emu"
1546
1547#
1548# "tprof" profiler.
1549#
1550include	"dev/tprof/files.tprof"
1551
1552#
1553# NetBSD Virtual Machine Monitor.
1554#
1555include	"dev/nvmm/files.nvmm"
1556
1557#
1558# alternate memory device
1559#
1560include "dev/altmem/files.altmem"
1561
1562#
1563# Flash subsystem
1564#
1565include "dev/flash/files.flash"
1566
1567#
1568# NAND subsytem
1569#
1570include "dev/nand/files.nand"
1571
1572#
1573# NOR subsytem
1574#
1575include "dev/nor/files.nor"
1576
1577#
1578# iscsi
1579#
1580include "dev/iscsi/files.iscsi"
1581
1582#
1583# athn
1584#
1585include "dev/ic/files.athn"
1586
1587#
1588# MI clk api
1589#
1590include "dev/clk/files.clk"
1591
1592#
1593# Flattened Device Tree (FDT) support
1594#
1595include "dev/ofw/files.ofw"
1596include "dev/fdt/files.fdt"
1597
1598#
1599# Name value library
1600#
1601include "external/bsd/libnv/conf/files.libnv"
1602