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