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