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