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