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