files revision 1.1231
1#	$NetBSD: files,v 1.1231 2019/03/17 01:06:42 tnn 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
35
36defparam opt_copy_symtab.h	makeoptions_COPY_SYMTAB
37
38defparam			DEFCORENAME
39defparam			HZ
40defparam			MAXUPRC
41defparam			RTC_OFFSET
42defflag	opt_pipe.h		PIPE_SOCKETPAIR PIPE_NODIRECT
43
44defflag				AIO
45defflag				MQUEUE
46defflag				SEMAPHORE
47
48defflag				BUFQ_DISKSORT
49defflag				BUFQ_FCFS
50defflag				BUFQ_PRIOCSCAN
51defflag				BUFQ_READPRIO
52defflag				NEW_BUFQ_STRATEGY	# same as BUFQ_READPRIO
53
54defflag	opt_sched.h		SCHED_4BSD
55defflag	opt_sched.h		SCHED_M2
56
57defparam			SOMAXKVA
58defflag	opt_sock_counters.h	SOSEND_COUNTERS
59defflag	opt_sosend_loan.h	SOSEND_NO_LOAN
60defflag	opt_route.h		RTCACHE_DEBUG RTFLUSH_DEBUG
61
62defflag				MULTIPROCESSOR
63defflag				NET_MPSAFE
64
65defflag	opt_config.h		INCLUDE_CONFIG_FILE INCLUDE_JUST_CONFIG
66
67defparam opt_dump.h		DUMP_ON_PANIC
68
69defflag	opt_callout.h		CALLWHEEL_STATS
70
71defflag				CPU_IN_CKSUM
72
73defflag opt_dtrace.h		KDTRACE_HOOKS
74
75defflag	opt_sysv.h		SYSVMSG SYSVSEM	SYSVSHM
76defparam opt_sysvparam.h	SHMMAXPGS SEMMNI SEMMNS SEMUME SEMMNU
77
78defflag	opt_ntp.h		PPS_SYNC PPS_DEBUG NTP
79
80defflag	opt_ptm.h		NO_DEV_PTM COMPAT_BSDPTY
81
82defparam opt_kmempages.h	NKMEMPAGES NKMEMPAGES_MIN NKMEMPAGES_MAX
83
84defflag	opt_revcache.h		NAMECACHE_ENTER_REVERSE
85
86defflag	opt_exec.h		DEBUG_EXEC
87
88defflag	opt_execfmt.h		EXEC_AOUT EXEC_COFF EXEC_ECOFF EXEC_ELF32
89				EXEC_ELF64 EXEC_SCRIPT
90				EXEC_ELF_NOTELESS
91
92defflag	opt_dkwedge.h		DKWEDGE_AUTODISCOVER
93				DKWEDGE_METHOD_BSDLABEL
94				DKWEDGE_METHOD_GPT
95				DKWEDGE_METHOD_MBR
96				DKWEDGE_METHOD_APPLE
97				DKWEDGE_METHOD_RDB
98
99defflag	opt_veriexec.h		VERIFIED_EXEC_FP_SHA256
100				VERIFIED_EXEC_FP_SHA384
101				VERIFIED_EXEC_FP_SHA512
102
103# Per system call number counts and times
104defflag opt_syscall_stats.h	SYSCALL_STATS
105defflag opt_syscall_stats.h	SYSCALL_TIMES: SYSCALL_STATS
106# Assume cpu_hascounter() returns true - to use disabled rdtsc() (for soekris)
107defflag opt_syscall_stats.h	SYSCALL_TIMES_HASCOUNTER: SYSCALL_TIMES
108file kern/subr_syscall_stats.c	syscall_stats
109
110defparam opt_pax.h		PAX_MPROTECT
111				PAX_MPROTECT_DEBUG
112				PAX_SEGVGUARD
113 				PAX_ASLR
114 				PAX_ASLR_DELTA_MMAP_LSB
115 				PAX_ASLR_DELTA_MMAP_LEN
116 				PAX_ASLR_DELTA_STACK_LSB
117 				PAX_ASLR_DELTA_STACK_LEN
118 				PAX_ASLR_DELTA_PROG_LEN
119				PAX_ASLR_DEBUG
120
121defflag	opt_fileassoc.h		FILEASSOC
122
123defflag	opt_gre.h		GRE_DEBUG
124
125defparam opt_l2tp.h		L2TP_ID_HASH_SIZE
126
127# Write Ahead Physical Block Logging
128defflag opt_wapbl.h		WAPBL WAPBL_DEBUG
129defparam opt_wapbl.h		WAPBL_DEBUG_PRINT
130
131# printf entropy source
132defflag opt_rnd_printf.h	RND_PRINTF
133
134defflag opt_todr.h		TODR_DEBUG
135
136# compatibility options
137#
138defflag opt_compat_netbsd.h	COMPAT_NETBSD
139defflag	opt_compat_netbsd.h	COMPAT_80: COMPAT_NETBSD
140defflag	opt_compat_netbsd.h	COMPAT_70: COMPAT_80, COMPAT_NETBSD
141defflag	opt_compat_netbsd.h	COMPAT_60: COMPAT_70, COMPAT_NETBSD
142defflag	opt_compat_netbsd.h	COMPAT_50: COMPAT_60, COMPAT_NETBSD
143defflag	opt_compat_netbsd.h	COMPAT_40: COMPAT_50, COMPAT_NETBSD
144defflag	opt_compat_netbsd.h	COMPAT_30: COMPAT_40, COMPAT_NETBSD
145defflag	opt_compat_netbsd.h	COMPAT_20: COMPAT_30, COMPAT_NETBSD
146defflag	opt_compat_netbsd.h	COMPAT_16: COMPAT_20, COMPAT_NETBSD
147defflag	opt_compat_netbsd.h	COMPAT_15: COMPAT_16, COMPAT_NETBSD
148defflag	opt_compat_netbsd.h	COMPAT_14: COMPAT_15, COMPAT_NETBSD
149defflag	opt_compat_netbsd.h	COMPAT_13: COMPAT_14, COMPAT_NETBSD
150defflag	opt_compat_netbsd.h	COMPAT_12: COMPAT_13, COMPAT_NETBSD
151defflag	opt_compat_netbsd.h	COMPAT_11: COMPAT_12, COMPAT_NETBSD
152defflag	opt_compat_netbsd.h	COMPAT_10: COMPAT_11, COMPAT_NETBSD
153defflag	opt_compat_netbsd.h	COMPAT_09: COMPAT_10, COMPAT_NETBSD
154defflag				COMPAT_OSSAUDIO
155defflag				COMPAT_43
156defflag				COMPAT_FREEBSD: COMPAT_09, COMPAT_43
157defflag				COMPAT_LINUX: COMPAT_NETBSD, COMPAT_43
158defflag				COMPAT_OSF1
159defflag				COMPAT_SUNOS: COMPAT_09, COMPAT_43
160defflag				COMPAT_ULTRIX: COMPAT_50
161defflag				COMPAT_NETBSD32
162defflag				COMPAT_SYSV
163defflag				SYSV_IPC	: SYSVSHM, SYSVSEM, SYSVMSG
164defflag				COMPAT_NETBSD32_SYSVIPC : SYSV_IPC,
165							  COMPAT_SYSV,
166							  COMPAT_NETBSD32
167defflag				COMPAT_LINUX32 : COMPAT_LINUX, COMPAT_NETBSD32,
168						 COMPAT_50, COMPAT_SYSV,
169						 COMPAT_NETBSD32_SYSVIPC
170defflag				COMPAT_AOUT_M68K: COMPAT_40
171defflag				COMPAT_M68K4K
172defflag				COMPAT_VAX1K
173defflag	opt_compat_netbsd.h	COMPAT_NOMID
174
175include	"compat/common/files.common"
176
177define	machdep
178defflag	opt_machdep.h		MACHDEP
179
180#
181# Cryptography support.  Include this early, since several things
182# use it.
183
184# Individual crypto transforms
185include "crypto/arc4/files.arc4"
186include "crypto/des/files.des"
187include "crypto/blowfish/files.blowfish"
188include "crypto/cast128/files.cast128"
189include "crypto/rijndael/files.rijndael"
190include "crypto/skipjack/files.skipjack"
191include "crypto/camellia/files.camellia"
192# General-purpose crypto processing framework.
193include "opencrypto/files.opencrypto"
194
195# NIST SP800.90 CTR DRBG
196include "crypto/nist_ctr_drbg/files.nist_ctr_drbg"
197
198# ChaCha-based fast PRNG
199include "crypto/cprng_fast/files.cprng_fast"
200
201#
202# Kernel history/tracing. Old UVMHIST depends upon this.
203#
204defflag opt_kernhist.h			KERNHIST KERNHIST_PRINT
205defparam opt_kernhist.h			KERNHIST_DELAY
206file	kern/kern_history.c		kernhist
207
208#
209# These are here for the benefit of kern_history.c so that
210# UVMHIST can be built in kernels without usb.
211#
212# top level usb debug defines
213defflag	opt_usb.h			USB_DEBUG: KERNHIST
214defparam opt_usb.h			USBHIST_SIZE
215
216#
217# Options for BIOHIST
218#
219defflag opt_biohist.h           BIOHIST: KERNHIST
220defflag opt_biohist.h           BIOHIST_PRINT: KERNHIST_PRINT
221defparam opt_biohist.h          BIOHIST_SIZE
222
223#
224# System monitoring framework
225#
226include "dev/sysmon/files.sysmon"
227
228#
229# Networking protocols
230#
231
232# Attribute used by various things that need BPF's virtual machine
233#
234define	bpf_filter
235defparam opt_bpf.h	BPF_BUFSIZE
236
237defflag	opt_bpf.h	BPFJIT
238
239file	net/bpfjit.c	sljit & bpfjit
240
241include "net80211/files.net80211"
242include "netatalk/files.netatalk"
243include "netbt/files.netbt"
244include "netcan/files.netcan"
245include "netinet/files.netinet"
246include "netinet6/files.netinet6"
247include "netipsec/files.netipsec"
248include "netmpls/files.netmpls"
249include "netsmb/files.netsmb"
250
251include "net/npf/files.npf"
252include "netinet/files.ipfilter"
253include "net/files.pf"
254
255obsolete defflag		CCITT		# obsolete
256obsolete defflag		HDLC		# obsolete
257obsolete defflag		LLC		# obsolete
258obsolete defflag opt_ns.h	NS NSIP		# obsolete
259obsolete defflag		IPX		# obsolete
260obsolete defparam opt_md.h	MEMORY_RBFLAGS	# superseded by
261						# MEMORY_DISK_RBFLAGS
262
263defflag	opt_bridge_ipf.h	BRIDGE_IPF	# bridge(4) use inet_pfil_hooks
264defflag	opt_ppp.h		PPP_DEFLATE PPP_BSDCOMP PPP_FILTER
265						# Include deflate or bsd
266						# compression, enable pppd
267						# packet filtering support
268defflag opt_pppoe.h		PPPOE_SERVER PPPOE_DEBUG
269
270# networking options
271#
272defflag				GATEWAY
273defparam opt_nmbclusters.h	NMBCLUSTERS
274defparam			SB_MAX
275
276# file system options
277#
278defflag	opt_quota.h		QUOTA QUOTA2		# XXX files.ufs?
279defflag				VNODE_LOCKDEBUG
280defflag				MAGICLINKS
281
282# buffer cache size options
283#
284defparam opt_bufcache.h		BUFCACHE BUFPAGES
285
286# userconf
287#
288defflag				USERCONF
289
290# sysctl related
291#
292defflag opt_sysctl.h		SYSCTL_DISALLOW_CREATE SYSCTL_DISALLOW_KWRITE
293				SYSCTL_DEBUG_SETUP SYSCTL_DEBUG_CREATE
294				SYSCTL_INCLUDE_DESCR
295
296#
297# Not entirely MI, but present on multiple arch's
298#
299
300# PC-style MBR handling
301#
302defflag	opt_mbr.h		COMPAT_386BSD_MBRPART
303
304#
305# debugging options
306#
307include "ddb/files.ddb"		# in-kernel dynamic debugger
308
309defflag	opt_kgdb.h		KGDB
310defparam opt_kgdb.h		KGDB_DEV KGDB_DEVNAME KGDB_DEVPORT
311				KGDB_DEVADDR KGDB_DEVRATE KGDB_DEVMODE
312defflag				LOCKDEBUG
313defflag				SYSCALL_DEBUG
314defflag	opt_kstack.h		KSTACK_CHECK_MAGIC
315
316# memory (ram) disk options
317#
318defflag	opt_md.h		MEMORY_DISK_HOOKS MEMORY_DISK_IS_ROOT
319				MEMORY_DISK_DYNAMIC
320defparam opt_md.h		MEMORY_DISK_SERVER=1 MEMORY_DISK_ROOT_SIZE
321				MEMORY_DISK_RBFLAGS
322defparam opt_memory_disk_image.h	makeoptions_MEMORY_DISK_IMAGE
323
324defflag opt_tftproot.h		TFTPROOT TFTPROOT_DEBUG
325
326defflag	opt_wlan.h		WLAN
327
328# Machine-independent device majors assignements
329include "conf/majors"
330
331# generic attributes
332#
333define	videobus	{ }
334define	ata	        {[channel = -1]}
335define	sata
336define	sata_fis
337define	sata_pmp
338define	scsi_core
339define	scsi		{[channel = -1]}: scsi_core
340define	ata_hl		{[drive = -1]}
341define	atapi		{ }
342define	radiodev	{ }
343define	gpibdev		{[address = -1]}
344define	gpiobus		{ }
345define	onewirebus	{ }
346define 	pckbport	{[slot = -1]}
347define	pckbport_machdep_cnattach
348define	firmload
349define	ipmibus		{ }
350
351# speaker devices, attaches to audio or pcppi drivers
352device	spkr: wsbelldev
353file	dev/spkr.c			spkr
354
355include "dev/files.audio"
356
357# High definition audio
358include "dev/hdaudio/files.hdaudio"
359
360# Base verbose vendor/product printing support
361file	dev/dev_verbose.c
362
363# video devices, attaches to video hardware driver
364#
365device	video
366attach	video at videobus
367
368# DTV subsystem
369#
370include "dev/dtv/files.dtv"
371
372# HDMI CEC
373#
374include "dev/hdmicec/files.hdmicec"
375
376# National Semiconductor LM7[89]
377#
378# (included here so files.i2c can define an attachment)
379
380device	lm: sysmon_envsys
381file	dev/ic/nslm7x.c			lm			needs-flag
382
383# JEDEC standard SPD EPROM
384#
385# (included here so files.i2c can define an attachment)
386
387device	spdmem
388file	dev/ic/spdmem.c			spdmem
389
390# SSD1306 or SH1106 OLED/PLED display (attaches via I2C or SPI)
391device	ssdfb:	wsemuldisplaydev
392file	dev/ic/ssdfb.c	ssdfb
393
394# Generic HID support (used by USB, bluetooth and i2c)
395include "dev/hid/files.hid"
396
397# I2C device support
398include "dev/i2c/files.i2c"
399
400# PWM device support
401include "dev/pwm/files.pwm"
402
403# SPI device support
404include "dev/spi/files.spi"
405
406# IR device support
407include	"dev/ir/files.ir"
408
409# Parallel Port Bus support
410include "dev/ppbus/files.ppbus"
411
412# raster operations attributes
413#
414define	rasops1
415define	rasops2
416define	rasops4
417define	rasops8
418define	rasops15
419define	rasops16
420define	rasops24
421define	rasops32
422define	rasops_rotation
423
424# image decoding support
425include "dev/stbi/files.stbi"
426
427# splash screen support
428include "dev/splash/files.splash"
429
430# videomode support
431include "dev/videomode/files.videomode"
432
433# net device attributes - we have generic code for arc(net), ether(net),
434# fddi, and token ring.
435#
436define	arcnet
437define	ether
438define	fddi
439define	hippi
440define	ieee1394
441define	token
442define	sppp
443define	wlan
444define	crypto
445
446# TPM
447device	tpm
448file	dev/ic/tpm.c			tpm			needs-flag
449
450# devices ARPing IPv4 pull this in:
451#
452define	arp
453
454#
455# ALTQ network traffic shaping subsystem
456#
457include "altq/files.altq"
458
459# Logical disk
460#
461device	ld: disk
462file	dev/ld.c			ld			needs-flag
463
464#
465# MII/PHY support for network devices
466#
467include "dev/mii/files.mii"
468
469#
470# RAIDframe
471#
472include "dev/raidframe/files.raidframe"
473
474#
475# Hardware-assisted data mover API
476#
477include "dev/dmover/files.dmover"
478
479#
480# "Chipset" drivers.  These are the bus-independent routines which
481# contain the cfdrivers.  Attachments are provided by files.<bus>
482#
483
484# Adaptec AIC-6[32]60 ICs
485#
486device	aic: scsi
487file	dev/ic/aic6360.c		aic
488
489# SMC 93Cx6 Serial EEPROM devices
490#
491define	smc93cx6
492file	dev/ic/smc93cx6.c		smc93cx6
493
494# Adaptec 2[789]4X, 394X, aic7770 and aic78[5678]0 SCSI controllers
495#
496defparam opt_ahc.h		AHC_DEBUG
497defflag	opt_ahc.h		AHC_NO_TAGS
498device	ahc: scsi
499define	ahc_seeprom
500define	ahc_aic77xx
501file	dev/ic/aic7xxx.c		ahc
502file	dev/ic/aic7xxx_osm.c		ahc
503file	dev/ic/aic7xxx_seeprom.c	ahc_seeprom
504file	dev/ic/aic77xx.c		ahc_aic77xx
505
506# Adaptec aic79xx SCSI controllers
507defflag	opt_ahd.h		AHD_DEBUG
508device	ahd: scsi
509file	dev/ic/aic79xx.c		ahd
510file	dev/ic/aic79xx_osm.c		ahd
511
512# DPT EATA SCSI controllers
513#
514device	dpt: scsi
515file	dev/ic/dpt.c			dpt
516
517# Compaq Smart ARRAY controllers
518#
519device	cac {unit = -1}
520file	dev/ic/cac.c			cac
521
522attach	ld at cac with ld_cac
523file	dev/ic/ld_cac.c			ld_cac
524
525# HP/Compaq Command Interface for SCSI-3 Support
526#
527defflag	opt_ciss.h			CISS_NO_INTERRUPT_HACK
528device ciss: scsi
529file	dev/ic/ciss.c			ciss
530
531# Mylex DAC960 RAID controllers
532#
533device	mlx {unit = -1}
534file	dev/ic/mlx.c			mlx			needs-flag
535
536attach	ld at mlx with ld_mlx
537file	dev/ic/ld_mlx.c			ld_mlx
538
539# ICP-Vortex/Intel RAID controllers
540#
541device	icp {unit = -1}
542file	dev/ic/icp.c			icp			needs-flag
543file	dev/ic/icp_ioctl.c		icp
544
545attach	ld at icp with ld_icp
546file	dev/ic/ld_icp.c			ld_icp
547
548device	icpsp: scsi
549file	dev/ic/icpsp.c			icpsp
550attach	icpsp at icp
551
552# Adaptec FSA RAID controllers
553#
554device	aac {unit = -1}
555file	dev/ic/aac.c			aac
556
557attach	ld at aac with ld_aac
558file	dev/ic/ld_aac.c			ld_aac
559
560# AdvanSys 1200A, 1200B and ULTRA SCSI controllers
561#
562device	adv: scsi
563file	dev/ic/adv.c			adv
564file	dev/ic/advlib.c			adv
565file	dev/ic/advmcode.c		adv
566
567# AdvanSys ULTRA WIDE SCSI controllers
568#
569device	adw: scsi
570file	dev/ic/adw.c			adw
571
572# BusLogic MultiMaster and MultiMaster Ultra SCSI controllers
573# (Must be declared before AHA to ensure bha probes before aha.
574#  Probing AHA first configures bhas as aha, via their AHA
575#  hardware-compatibility mode.)
576#
577device	bha: scsi
578file	dev/ic/bha.c			bha
579
580# Adaptec AHA-154x and AHA-164x controllers
581# (must be after bha, see above)
582#
583device	aha: scsi
584file	dev/ic/aha.c			aha
585
586# Initio INIC-940/950 SCSI controllers
587#
588device	iha: scsi
589file	dev/ic/iha.c			iha
590
591# Qlogic ISP 10x0 SCSI Controllers
592#
593defflag	opt_isp.h		ISP_DISABLE_1020_SUPPORT
594				ISP_DISABLE_1080_SUPPORT
595				ISP_DISABLE_2100_SUPPORT
596				ISP_DISABLE_2200_SUPPORT
597				ISP_DISABLE_2300_SUPPORT
598				ISP_DISABLE_2322_SUPPORT
599				ISP_DISABLE_2400_SUPPORT
600				ISP_DISABLE_FW
601				ISP_TARGET_MODE
602defparam opt_isp.h		ISP_LOGDEFAULT
603				ISP_VPORTS
604device	isp: scsi
605file	dev/ic/isp.c			isp
606file	dev/ic/isp_library.c		isp
607file	dev/ic/isp_netbsd.c		isp
608file	dev/ic/isp_target.c		isp & isp_target_mode
609# LSILogic MegaRAID SAS
610#
611device	mfi: scsi
612file	dev/ic/mfi.c			mfi
613
614# LSILogic Fusion-MPT I/O Processor SCSI/FC Controllers
615#
616device	mpt: scsi
617file	dev/ic/mpt.c			mpt
618file	dev/ic/mpt_debug.c		mpt
619file	dev/ic/mpt_netbsd.c		mpt
620
621# Workbit NinjaSCSI-32 controllers
622device	njs: scsi
623file	dev/ic/ninjascsi32.c		njs
624
625# Symbios/NCR 53c700 SCSI controllers
626device	oosiop: scsi
627file	dev/ic/oosiop.c			oosiop
628
629# Symbios/NCR 53c710 SCSI controllers
630#
631device	osiop: scsi
632file	dev/ic/osiop.c			osiop
633
634# common stuff for siop and esiop
635#
636define	siop_common
637file	dev/ic/siop_common.c		siop_common
638
639# Symbios/NCR 53c720/53c8xx SCSI controllers
640#
641device	siop: scsi,siop_common
642file	dev/ic/siop.c			siop & (siop_pci | siop_gedoens)
643defflag	opt_siop.h			SIOP_SYMLED
644
645device	esiop: scsi,siop_common
646file	dev/ic/esiop.c			esiop
647
648# UltraStor SCSI controllers
649#
650device	uha: scsi
651file	dev/ic/uha.c			uha
652
653# 3Com common probe code
654define  elink
655file    dev/isa/elink.c                 elink
656
657# Aironet PC4500/PC4800
658#
659device	an: arp, wlan, ifnet
660file	dev/ic/an.c			an
661
662# AMD 79c930-based 802.11 cards
663#
664device	awi: arp, wlan, ifnet
665file	dev/ic/awi.c			awi
666file	dev/ic/am79c930.c		awi
667
668# Lucent & Intersil WaveLan IEEE (802.11)
669#
670device	wi: arp, wlan, ifnet
671file	dev/ic/wi.c			wi
672
673# Atheros HAL
674#
675include "external/isc/atheros_hal/conf/files.ath_hal"
676
677# Atheros 5210/5211/5212 multi-mode 802.11
678#
679device	ath: arp, wlan, ifnet
680file	dev/ic/ath.c			ath
681file	dev/ic/ath_netbsd.c		ath
682file	dev/ic/athrate-sample.c		ath
683
684# ADMtek ADM8211 802.11
685#
686device	atw: arp, wlan, ifnet, smc93cx6
687file	dev/ic/atw.c			atw
688
689# Realtek RTL8180 802.11
690#
691device rtw: arp, wlan, ifnet, smc93cx6
692file	dev/ic/rtw.c			rtw
693file	dev/ic/rtwphy.c			rtw
694file	dev/ic/rtwphyio.c		rtw
695
696# Ralink RT2500/RT2600/RT2860 802.11
697device	ral: arp, ether, ifnet, wlan, firmload
698file	dev/ic/rt2560.c			ral
699file	dev/ic/rt2661.c			ral
700file	dev/ic/rt2860.c			ral
701
702# Marvell Libertas Open
703device  malo: arp, ether, ifnet, wlan, firmload
704file    dev/ic/malo.c           malo
705
706# 3Com Etherlink-III Ethernet controller
707#
708device	ep: arp, ether, ifnet, mii, mii_bitbang
709file	dev/ic/elink3.c			ep
710
711# 3Com EtherLink XL Controller
712#
713device	ex: arp, ether, ifnet, mii, mii_bitbang
714file	dev/ic/elinkxl.c		ex
715
716# DEC EtherWORKS III (LEMAC) Ethernet controllers
717#
718device	lc: arp, ether, ifnet
719file	dev/ic/lemac.c			lc
720
721# LANCE and PCnet Ethernet controllers
722#
723device	le: arp, ether, ifnet
724define	le24
725define	le32
726file	dev/ic/am7990.c			le24
727file	dev/ic/am79900.c		le32
728file	dev/ic/lance.c			le24 | le32
729
730# DEC DEPCA-family of LANCE Ethernet controllers
731#
732device	depca { }: le24
733file	dev/ic/depca.c			depca
734attach	le at depca with le_depca
735
736# Sun HME Ethernet controllers
737#
738device	hme: arp, ether, ifnet, mii
739file	dev/ic/hme.c			hme
740
741# Sun GEM Ethernet controllers
742#
743device	gem: arp, ether, ifnet, mii
744file	dev/ic/gem.c			gem
745
746# Synopsis Designware GMAC core, as found on allwinner a20
747# and other SoCs
748device	awge: arp, ether, ifnet, mii
749file	dev/ic/dwc_gmac.c		awge
750
751# 8390-family Ethernet controllers
752#
753define	dp8390nic
754file	dev/ic/dp8390.c			dp8390nic
755
756# National Semiconductor DP83905 AT/LANTIC Ethernet media support
757#
758define	dp83905
759file	dev/ic/dp83905.c		dp83905
760
761# Macronix MX98905 Ethernet controller
762# (use as an attribute for an "ne" bus attachment)
763#
764define	mx98905
765file	dev/ic/mx98905.c		mx98905
766
767# TROPIC Token-Ring controller
768#
769device	tr: arp, token, ifnet
770file	dev/ic/tropic.c			tr
771
772# NCR 5380 SCSI Bus Controller
773#
774define	ncr5380sbc
775file	dev/ic/ncr5380sbc.c		ncr5380sbc
776device	nca: scsi, ncr5380sbc
777
778# Sun sc PAL SCSI Bus Controller
779#
780define	sunscpal
781file	dev/ic/sunscpal.c		sunscpal
782device	ssc: scsi, sunscpal
783
784# DEC FDDI Chipset
785#
786define	pdq
787file	dev/ic/pdq.c			pdq
788file	dev/ic/pdq_ifsubr.c		pdq
789
790# Cyclades Cyclom-8/16/32
791#
792device	cy: tty
793file	dev/ic/cy.c			cy			needs-flag
794
795# NCR 53x9x or Emulex ESP SCSI Controller
796#
797define	ncr53c9x
798device	esp: scsi, ncr53c9x
799file	dev/ic/ncr53c9x.c		ncr53c9x
800
801# Fujitsu MB87030/MB89352 SCSI Protocol Controller
802device	spc: scsi
803file	dev/ic/mb89352.c		spc
804
805# Western Digital WD33C93/WD33C93A SCSI Bus Interface Controller
806define	wd33c93
807file	dev/ic/wd33c93.c		wd33c93
808
809# Hitachi HD44780 LCD panel controller
810define	hd44780
811file	dev/ic/hd44780_subr.c		hd44780
812file	dev/ic/lcdkp_subr.c		hd44780
813
814# Matrix keypad
815define	matrixkp
816file	dev/ic/matrixkp_subr.c		matrixkp
817
818# Hitachi HD64570 serial controller
819#
820define	hd64570
821file	dev/ic/hd64570.c		hd64570
822
823# Riscom/N2 ISA/PCI Sync Serial Controller
824#
825device	ntwoc: ifnet, hd64570
826
827# Intel 82586 Ethernet Controller
828#
829define	i82586
830file	dev/ic/i82586.c			i82586
831
832# Intel 82596 Ethernet Controller
833#
834define	i82596
835file	dev/ic/i82596.c			i82596
836
837# Intel 82557/82558/82559 Ethernet Controller
838#
839device	fxp: ether, ifnet, arp, mii
840file	dev/ic/i82557.c			fxp
841
842# SEEQ 8005 Advanced Ethernet Data Link Controller
843#
844define	seeq8005
845file	dev/ic/seeq8005.c		seeq8005
846
847# SMC 91Cxx Ethernet Controller
848#
849device	sm: arp, ether, ifnet, mii, mii_bitbang
850file	dev/ic/smc91cxx.c		sm
851
852# SMC 83C170 EPIC/100 Fast Ethernet Controller
853#
854device	epic: arp, ether, ifnet, mii
855file	dev/ic/smc83c170.c		epic
856
857# DEC SGEC Second Generation Ethernet Controller
858#
859define	sgec
860file	dev/ic/sgec.c			sgec
861
862# MB86950 Ethernet Controller
863#
864define	mb86950
865file	dev/ic/mb86950.c		mb86950
866
867# MB8696x Ethernet Controller
868#
869define	mb86960
870file	dev/ic/mb86960.c		mb86960
871
872# Generic MB8696x Ethernet Controller driver
873#
874device	mbe: arp, ether, ifnet, mb86960
875
876# Interwave Am78C201 audio driver
877#
878define	interwave
879file	dev/ic/interwave.c		interwave
880
881# TMS 320av110 MPEG2/audio driver
882#
883define	tms320av110
884file	dev/ic/tms320av110.c		tms320av110
885
886# Novell NE2000-compatible Ethernet cards, based on the
887# National Semiconductor DS8390.
888#
889device	ne: ether, ifnet, arp, dp8390nic, mii
890file	dev/ic/ne2000.c			ne
891
892# 8250/16[45]50-based "com" ports
893#
894defflag	opt_com.h		COM_DEBUG
895# XXX In a perfect world, this would be done with attributes
896defflag	opt_com.h		COM_16650 COM_16750
897				COM_HAYESP COM_PXA2X0
898defparam opt_com.h		COM_TOLERANCE
899device	com { } : tty
900file	dev/ic/com.c			com			needs-flag
901
902# PC-like keyboard controller
903#
904device	pckbc: pckbport
905file	dev/ic/pckbc.c			pckbc			needs-flag
906
907device	attimer
908file	dev/ic/attimer.c		attimer			needs-flag
909
910# Cirrus Logic CD240[01] 4-port Multi-Protocol Communications Controller
911#
912device	clmpcc: tty
913file	dev/ic/clmpcc.c			clmpcc			needs-flag
914
915# Abit uGuru
916#
917device	ug: sysmon_envsys
918file	dev/ic/ug.c			ug			needs-flag
919
920# Essential Communications Corp. HIPPI Interface
921#
922device	esh: hippi, ifnet
923file	dev/ic/rrunner.c		esh			needs-flag
924
925# SMC 90c26, SMC 90C56 (and 90C66 if in compat mode) chip driver
926#
927device	bah: ifnet, arcnet, arp
928file	dev/ic/smc90cx6.c		bah
929
930# OPL2/OPL3 FM synth driver
931#
932device	opl: midibus, midisyn
933file	dev/ic/opl.c			opl
934file	dev/ic/oplinstrs.c		opl
935
936# MPU401 MIDI UART compatibles
937#
938device	mpu: midibus
939file	dev/ic/mpu.c			mpu			needs-flag
940
941# AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers
942#
943define	ad1848
944file	dev/ic/ad1848.c			ad1848
945
946# AMD 7930 audio/ISDN codec
947#
948define	am7930
949file	dev/ic/am7930.c			am7930
950
951# Siemens PSB2160 audio codec, as found in HP systems
952device	arcofi: audiobus, auconv, mulaw
953file	dev/ic/arcofi.c			arcofi
954
955# SPARC `SUNW,audiocs'
956#
957device	audiocs: audiobus, auconv, ad1848
958file	dev/ic/cs4231.c			audiocs
959
960# AC-97 CODECs
961#
962define	ac97
963file	dev/ic/ac97.c			ac97
964
965# UDA1341 CODEC support
966define	uda1341
967file	dev/ic/uda1341.c		uda1341
968
969# Oki MSM6258 support code
970#
971define msm6258
972file	dev/ic/msm6258.c		msm6258
973
974# LSI64854 DMA controller back-end
975#
976define	lsi64854
977file	dev/ic/lsi64854.c		lsi64854
978
979# Cirrus Logic CL-CD180/1864/1865 multi port serial controller back-end
980#
981define	cd18xx
982file	dev/ic/cd18xx.c			cd18xx
983
984# Realtek 8019/8029 NE2000-compatible network interface subroutines
985#
986define	rtl80x9
987file	dev/ic/rtl80x9.c		rtl80x9			needs-flag
988
989# Realtek 8129/8139 Ethernet controllers
990#
991device	rtk: ether, ifnet, arp, mii
992file	dev/ic/rtl81x9.c		rtk | re
993
994# Realtek 8169 Ethernet controllers
995#
996device	re: ether, ifnet, arp, mii
997file	dev/ic/rtl8169.c		re
998
999# Virtual I/O Device (VIRTIO) bus controller and devices
1000#
1001include "dev/virtio/files.virtio"
1002
1003# Common code for ESDI/IDE/etc. controllers
1004#
1005define	wdc_common
1006define	ata_dma
1007define	ata_udma
1008define	ata_piobm
1009device	wdc: ata, wdc_common
1010
1011defflag opt_ata.h	ATADEBUG
1012defparam opt_ata.h	ATADEBUG_MASK
1013defflag opt_wdc.h	WDC_NO_IDS
1014
1015device	atabus: atapi,ata_hl
1016attach	atabus at ata
1017# The strange expression is to dump ata_* definitions to ata_dma.h.
1018file	dev/ic/wdc.c			(ata_dma | ata_udma | ata_piobm | atabus) & atabus & wdc_common	needs-flag
1019
1020# Workbit NinjaATA-32 IDE controllers
1021device	njata: ata, ata_piobm, wdc_common
1022file	dev/ic/ninjaata32.c		njata
1023
1024# CHIPS and Technologies 82C7[12][01] Universal Peripheral Controller
1025#
1026device	upc { [offset = -1] }
1027attach	wdc at upc with wdc_upc
1028attach	com at upc with com_upc
1029attach	lpt at upc with lpt_upc
1030file	dev/ic/upc.c			upc
1031file	dev/ic/wdc_upc.c		wdc_upc
1032file	dev/ic/com_upc.c		com_upc
1033file	dev/ic/lpt_upc.c		lpt_upc
1034
1035# AHCI-compatible SATA controllers
1036define ahcisata_core
1037file dev/ic/ahcisata_core.c ahcisata_core
1038device ahcisata: ata, ata_dma, ata_udma, sata, sata_fis, sata_pmp, ahcisata_core
1039
1040# Silicon Image SteelVine SATA-II controllers
1041define	siisata
1042file	dev/ic/siisata.c		siisata
1043device	siisata: ata, ata_dma, ata_udma, sata, sata_fis, sata_pmp, siisata
1044
1045# Marvell Serial-ATA Host Controller
1046define mvsata
1047file dev/ic/mvsata.c			mvsata
1048device mvsata: ata, ata_dma, ata_udma, wdc_common, sata, sata_fis, sata_pmp, mvsata
1049defflag opt_mvsata.h		MVSATA_WITHOUTDMA
1050
1051# DECchip 21x4x Ethernet controller family, and assorted clones.
1052#
1053device	tlp: arp, ether, ifnet, mii, mii_bitbang
1054file	dev/ic/tulip.c			tlp
1055
1056# Adaptec AIC-6915 Ethernet interface
1057#
1058device	sf: arp, ether, ifnet, mii
1059file	dev/ic/aic6915.c		sf
1060
1061# Mostek time-of-day clock and NVRAM
1062#
1063define	mk48txx
1064file	dev/ic/mk48txx.c		mk48txx
1065
1066# OKI MSM6242B
1067#
1068define	msm6242b
1069file	dev/ic/msm6242b.c		msm6242b
1070
1071# Intersil 7170 time-of-day clock
1072#
1073define	intersil7170
1074file	dev/ic/intersil7170.c		intersil7170
1075
1076# National Semiconductor MM58167 time-of-day clock
1077#
1078define	mm58167
1079file	dev/ic/mm58167.c		mm58167
1080
1081# Motorola mc146818 (and compatible) time-of-day clock
1082#
1083define	mc146818
1084file	dev/ic/mc146818.c		mc146818
1085
1086# Ricoh RS5C313 time of-day-clock
1087#
1088define	rs5c313
1089file	dev/ic/rs5c313.c		rs5c313
1090
1091# D-Link DL10019/10022 NE2000-compatible network interface subroutines
1092#
1093define	dl10019
1094file	dev/ic/dl10019.c		dl10019
1095
1096# ASIX AX88190 NE2000-compatible network interface subroutines
1097#
1098define	ax88190
1099file	dev/ic/ax88190.c		ax88190
1100
1101# WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ
1102#
1103device	we: ether, ifnet, arp, dp8390nic
1104file	dev/ic/we.c			we
1105
1106# Allied-Telesis Ethernet driver based on Fujitsu MB8696xA controllers
1107#
1108device	ate: arp, ether, ifnet, mb86960
1109
1110# Fujitsu FMV-18x Ethernet driver based on Fujitsu MB8696xA controllers
1111#
1112device	fmv: arp, ether, ifnet, mb86960
1113file	dev/ic/fmv.c			fmv
1114
1115# Crystal Semiconductor CS8900, CS8920, and CS8920M Ethernet
1116#
1117device	cs: arp, ether, ifnet
1118device	tscs: arp, ether, ifnet
1119file	dev/ic/cs89x0.c			cs | tscs
1120
1121# Radio device attributes
1122#
1123define	tea5757
1124file	dev/ic/tea5757.c		tea5757
1125define	lm700x
1126file	dev/ic/lm700x.c			lm700x
1127
1128# Philips PCF8584 i2c controller
1129define	pcf8584
1130file	dev/ic/pcf8584.c		pcf8584
1131
1132# PCA9564 i2c controller
1133define	pca9564
1134file	dev/ic/pca9564.c		pca9564
1135
1136# Synopsys DesignWare I2C controller
1137define	dwiic
1138device dwiic: dwiic, i2cbus
1139file	dev/ic/dwiic.c			dwiic
1140
1141# ACPI power management timer (hardware access, independent of ACPI)
1142#
1143define acpipmtimer
1144file	dev/ic/acpipmtimer.c	acpipmtimer
1145
1146device 	hpet
1147file 	dev/ic/hpet.c		hpet			needs-flag
1148
1149# DesignWare timer
1150device	dwctmr
1151file	dev/ic/dwc_tmr.c	dwctmr
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