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