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