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