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