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