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