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