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