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