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