11.1317Sbrad#	$NetBSD: files,v 1.1317 2025/10/24 23:16:11 brad Exp $
21.60Scgd#	@(#)files.newconf	7.5 (Berkeley) 5/10/93
31.60Scgd
41.1184Schristosversion 	20171118
51.798Scube
61.565Sthorpej#
71.565Sthorpej# device classes
81.565Sthorpej#
91.565Sthorpejdevclass disk
101.565Sthorpejdevclass tape
111.565Sthorpejdevclass ifnet
121.565Sthorpejdevclass tty
131.876Sjmcneilldevclass audiodev
141.876Sjmcneilldevclass displaydev
151.876Sjmcneilldevclass bus
161.565Sthorpej
171.112Sthorpej# options understood by the machine-independent part of the kernel
181.112Sthorpej# (note, these are case-sensitive)
191.473Slukem#
201.1139Suebayasidefparam opt_param.h		MAXUSERS
211.1285Ssimonbdefparam opt_param.h		MSGBUFSIZE
221.474Slukemdefflag				INSECURE
231.474Slukemdefflag				KTRACE
241.781Skardeldefflag				MBUFTRACE
251.1166Spgoyettedefflag	opt_ptrace.h		PTRACE PTRACE_HOOKS
261.799Smattdefflag				COREDUMP
271.1099Sjnemethdefflag	opt_modular.h		MODULAR
281.1099Sjnemethdefflag	opt_modular.h		MODULAR_DEFAULT_AUTOLOAD
291.1315Spgoyettedefflag	opt_modular.h		MODULAR_DEFAULT_AUTOUNLOAD_UNSAFE
301.1297Srindefflag	opt_modular.h		MODULAR_DEFAULT_VERBOSE
311.953Smbalmerdefflag				KEYLOCK
321.1136Suebayasidefparam opt_syslimits.h	CHILD_MAX OPEN_MAX
331.1193Smaxvdefflag				GPROF
341.1204Smaxvdefflag				KASAN
351.1237Smaxvdefflag opt_kasan.h		KASAN_PANIC
361.1241Smaxvdefflag				KCSAN
371.1241Smaxvdefflag opt_kcsan.h		KCSAN_PANIC
381.1244Smaxvdefflag				KMSAN
391.1244Smaxvdefflag opt_kmsan.h		KMSAN_PANIC
401.1230Skamildefflag				KCOV
411.1234Smaxvdefflag opt_pool.h		POOL_QUARANTINE
421.1265Smaxvdefflag opt_pool.h		POOL_NOCACHE
431.1268Smaxvdefflag				FAULT
441.799Smatt
451.1140Suebayasidefparam opt_copy_symtab.h	makeoptions_COPY_SYMTAB
461.1140Suebayasi
471.781Skardeldefparam			DEFCORENAME
481.781Skardeldefparam			HZ
491.474Slukemdefparam			MAXUPRC
501.474Slukemdefparam			RTC_OFFSET
511.494Sjdolecekdefflag	opt_pipe.h		PIPE_SOCKETPAIR PIPE_NODIRECT
521.573Sjunyoung
531.926Saddefflag				AIO
541.926Saddefflag				MQUEUE
551.1168Spgoyettedefflag				SEMAPHORE
561.926Sad
571.733Syamtdefflag				BUFQ_DISKSORT
581.733Syamtdefflag				BUFQ_FCFS
591.698Syamtdefflag				BUFQ_PRIOCSCAN
601.698Syamtdefflag				BUFQ_READPRIO
611.698Syamtdefflag				NEW_BUFQ_STRATEGY	# same as BUFQ_READPRIO
621.524Sthorpej
631.845Syamtdefflag	opt_sched.h		SCHED_4BSD
641.868Srminddefflag	opt_sched.h		SCHED_M2
651.845Syamt
661.616Senamidefparam			SOMAXKVA
671.524Sthorpejdefflag	opt_sock_counters.h	SOSEND_COUNTERS
681.547Sthorpejdefflag	opt_sosend_loan.h	SOSEND_NO_LOAN
691.840Sdyoungdefflag	opt_route.h		RTCACHE_DEBUG RTFLUSH_DEBUG
701.247Sthorpej
711.474Slukemdefflag				MULTIPROCESSOR
721.1125Sozakidefflag				NET_MPSAFE
731.486Satatat
741.486Satatatdefflag	opt_config.h		INCLUDE_CONFIG_FILE INCLUDE_JUST_CONFIG
751.459Senami
761.597Satatatdefparam opt_dump.h		DUMP_ON_PANIC
771.597Satatat
781.474Slukemdefflag	opt_callout.h		CALLWHEEL_STATS
791.250Stron
801.891Smartindefflag				CPU_IN_CKSUM
811.891Smartin
821.976Sdarrandefflag opt_dtrace.h		KDTRACE_HOOKS
831.976Sdarran
841.474Slukemdefflag	opt_sysv.h		SYSVMSG SYSVSEM	SYSVSHM
851.1233Spgoyettedefparam opt_sysvparam.h	MSGMAX MSGMNI MSGMNB MSGTQL MSGSSZ MSGSEG
861.1233Spgoyettedefparam opt_sysvparam.h	SEMMAP SEMMNI SEMMNS SEMMNU SEMMSL SEMOPM
871.1233Spgoyettedefparam opt_sysvparam.h	SEMUME SEMUSZ SEMVMX SEMAEM
881.1233Spgoyettedefparam opt_sysvparam.h	SHMMAX SHMMIN SHMMNI SHMSEG SHMMAXPGS
891.181Sjonathan
901.1308Sandvardefflag	opt_ntp.h		PPS_DEBUG NTP
911.1308Sandvardefflag	opt_ntp.h		PPS_SYNC: NTP
921.129Sthorpej
931.694Schristosdefflag	opt_ptm.h		NO_DEV_PTM COMPAT_BSDPTY
941.676Schristos
951.707Spetrovdefparam opt_kmempages.h	NKMEMPAGES NKMEMPAGES_MIN NKMEMPAGES_MAX
961.431Sfvdl
971.1025Sjmcneilldefflag	opt_exec.h		DEBUG_EXEC
981.1025Sjmcneill
991.474Slukemdefflag	opt_execfmt.h		EXEC_AOUT EXEC_COFF EXEC_ECOFF EXEC_ELF32
1001.1008Sjoerg				EXEC_ELF64 EXEC_SCRIPT
1011.503Sjdolecek				EXEC_ELF_NOTELESS
1021.199Sthorpej
1031.686Sthorpejdefflag	opt_dkwedge.h		DKWEDGE_AUTODISCOVER
1041.691Sthorpej				DKWEDGE_METHOD_BSDLABEL
1051.688Sthorpej				DKWEDGE_METHOD_GPT
1061.693Sthorpej				DKWEDGE_METHOD_MBR
1071.1047Schristos				DKWEDGE_METHOD_APPLE
1081.1171Srin				DKWEDGE_METHOD_RDB
1091.1312Scharlott				DKWEDGE_METHOD_TOS
1101.686Sthorpej
1111.1181Ssevandefflag	opt_veriexec.h		VERIFIED_EXEC_FP_SHA256
1121.725Schristos				VERIFIED_EXEC_FP_SHA384
1131.725Schristos				VERIFIED_EXEC_FP_SHA512
1141.725Schristos
1151.794Sdsl# Per system call number counts and times
1161.794Sdsldefflag opt_syscall_stats.h	SYSCALL_STATS
1171.1076Sjakllschdefflag opt_syscall_stats.h	SYSCALL_TIMES: SYSCALL_STATS
1181.794Sdsl# Assume cpu_hascounter() returns true - to use disabled rdtsc() (for soekris)
1191.1076Sjakllschdefflag opt_syscall_stats.h	SYSCALL_TIMES_HASCOUNTER: SYSCALL_TIMES
1201.794Sdslfile kern/subr_syscall_stats.c	syscall_stats
1211.794Sdsl
1221.774Seladdefparam opt_pax.h		PAX_MPROTECT
1231.1154Schristos				PAX_MPROTECT_DEBUG
1241.817Selad				PAX_SEGVGUARD
1251.879Schristos 				PAX_ASLR
1261.879Schristos 				PAX_ASLR_DELTA_MMAP_LSB
1271.879Schristos 				PAX_ASLR_DELTA_MMAP_LEN
1281.879Schristos 				PAX_ASLR_DELTA_STACK_LSB
1291.879Schristos 				PAX_ASLR_DELTA_STACK_LEN
1301.879Schristos 				PAX_ASLR_DELTA_PROG_LEN
1311.983Schristos				PAX_ASLR_DEBUG
1321.774Selad
1331.789Seladdefflag	opt_fileassoc.h		FILEASSOC
1341.789Selad
1351.803Sdyoungdefflag	opt_gre.h		GRE_DEBUG
1361.803Sdyoung
1371.1170Sknakahardefparam opt_l2tp.h		L2TP_ID_HASH_SIZE
1381.1170Sknakahar
1391.911Ssimonb# Write Ahead Physical Block Logging
1401.911Ssimonbdefflag opt_wapbl.h		WAPBL WAPBL_DEBUG
1411.911Ssimonbdefparam opt_wapbl.h		WAPBL_DEBUG_PRINT
1421.911Ssimonb
1431.1096Stls# printf entropy source
1441.1096Stlsdefflag opt_rnd_printf.h	RND_PRINTF
1451.1096Stls
1461.1124Sjmcneilldefflag opt_todr.h		TODR_DEBUG
1471.1124Sjmcneill
1481.1301Smrgdefparam opt_maxlwp.h		MAXLWP
1491.1300Smrg
1501.1302Sskrlldefflag opt_efi.h		EFI_RUNTIME
1511.1302Sskrll
1521.199Sthorpej# compatibility options
1531.473Slukem#
1541.926Saddefflag opt_compat_netbsd.h	COMPAT_NETBSD
1551.1313Schristosdefflag	opt_compat_netbsd.h	COMPAT_110: COMPAT_NETBSD
1561.1313Schristosdefflag	opt_compat_netbsd.h	COMPAT_100: COMPAT_110, COMPAT_NETBSD
1571.1305Spgoyettedefflag	opt_compat_netbsd.h	COMPAT_90: COMPAT_100, COMPAT_NETBSD
1581.1240Schristosdefflag	opt_compat_netbsd.h	COMPAT_80: COMPAT_90, COMPAT_NETBSD
1591.1192Smrgdefflag	opt_compat_netbsd.h	COMPAT_70: COMPAT_80, COMPAT_NETBSD
1601.1097Sapbdefflag	opt_compat_netbsd.h	COMPAT_60: COMPAT_70, COMPAT_NETBSD
1611.1059Sdrochnerdefflag	opt_compat_netbsd.h	COMPAT_50: COMPAT_60, COMPAT_NETBSD
1621.1044Srminddefflag	opt_compat_netbsd.h	COMPAT_40: COMPAT_50, COMPAT_NETBSD
1631.926Saddefflag	opt_compat_netbsd.h	COMPAT_30: COMPAT_40, COMPAT_NETBSD
1641.926Saddefflag	opt_compat_netbsd.h	COMPAT_20: COMPAT_30, COMPAT_NETBSD
1651.926Saddefflag	opt_compat_netbsd.h	COMPAT_16: COMPAT_20, COMPAT_NETBSD
1661.926Saddefflag	opt_compat_netbsd.h	COMPAT_15: COMPAT_16, COMPAT_NETBSD
1671.926Saddefflag	opt_compat_netbsd.h	COMPAT_14: COMPAT_15, COMPAT_NETBSD
1681.926Saddefflag	opt_compat_netbsd.h	COMPAT_13: COMPAT_14, COMPAT_NETBSD
1691.926Saddefflag	opt_compat_netbsd.h	COMPAT_12: COMPAT_13, COMPAT_NETBSD
1701.926Saddefflag	opt_compat_netbsd.h	COMPAT_11: COMPAT_12, COMPAT_NETBSD
1711.926Saddefflag	opt_compat_netbsd.h	COMPAT_10: COMPAT_11, COMPAT_NETBSD
1721.926Saddefflag	opt_compat_netbsd.h	COMPAT_09: COMPAT_10, COMPAT_NETBSD
1731.589Schristosdefflag				COMPAT_OSSAUDIO
1741.1254Spgoyettedefflag				COMPAT_43: COMPAT_60
1751.1226Spgoyettedefflag				COMPAT_FREEBSD: COMPAT_09, COMPAT_43
1761.1226Spgoyettedefflag				COMPAT_LINUX: COMPAT_NETBSD, COMPAT_43
1771.1229Smrgdefflag				COMPAT_SUNOS: COMPAT_09, COMPAT_43
1781.937Shedefflag				COMPAT_ULTRIX: COMPAT_50
1791.1257Spgoyette
1801.1259Spgoyette# mips64 and aarch64 have COMPAT_NETBSD32 but cannot have EXEC_AOUT; all
1811.1259Spgoyette# other users of COMPAT_NETBSD32 need EXEC_AOUT
1821.1257Spgoyetteifdef mips
1831.474Slukemdefflag				COMPAT_NETBSD32
1841.1261Schristoselifdef aarch64
1851.1259Spgoyettedefflag				COMPAT_NETBSD32
1861.1257Spgoyetteelse
1871.1257Spgoyettedefflag				COMPAT_NETBSD32	: EXEC_AOUT
1881.1257Spgoyetteendif
1891.1257Spgoyette
1901.1222Spgoyettedefflag				COMPAT_SYSV
1911.1222Spgoyettedefflag				SYSV_IPC	: SYSVSHM, SYSVSEM, SYSVMSG
1921.1222Spgoyettedefflag				COMPAT_NETBSD32_SYSVIPC : SYSV_IPC,
1931.1222Spgoyette							  COMPAT_SYSV,
1941.1222Spgoyette							  COMPAT_NETBSD32
1951.1222Spgoyettedefflag				COMPAT_LINUX32 : COMPAT_LINUX, COMPAT_NETBSD32,
1961.1222Spgoyette						 COMPAT_50, COMPAT_SYSV,
1971.1222Spgoyette						 COMPAT_NETBSD32_SYSVIPC
1981.852Shedefflag				COMPAT_AOUT_M68K: COMPAT_40
1991.474Slukemdefflag				COMPAT_M68K4K
2001.474Slukemdefflag				COMPAT_VAX1K
2011.633Smattdefflag	opt_compat_netbsd.h	COMPAT_NOMID
2021.221Sjonathan
2031.1222Spgoyetteinclude	"compat/common/files.common"
2041.1222Spgoyette
2051.1109Suebayasidefine	machdep
2061.1109Suebayasidefflag	opt_machdep.h		MACHDEP
2071.1109Suebayasi
2081.473Slukem#
2091.570Sthorpej# Cryptography support.  Include this early, since several things
2101.570Sthorpej# use it.
2111.624Sjonathan
2121.624Sjonathan# Individual crypto transforms
2131.1271Sriastradinclude "crypto/adiantum/files.adiantum"
2141.1269Sriastradinclude "crypto/aes/files.aes"
2151.1273Sriastradinclude "crypto/chacha/files.chacha"
2161.570Sthorpejinclude "crypto/des/files.des"
2171.570Sthorpejinclude "crypto/blowfish/files.blowfish"
2181.570Sthorpejinclude "crypto/cast128/files.cast128"
2191.644Stlsinclude "crypto/skipjack/files.skipjack"
2201.1011Sdrochnerinclude "crypto/camellia/files.camellia"
2211.626Sthorpej# General-purpose crypto processing framework.
2221.626Sthorpejinclude "opencrypto/files.opencrypto"
2231.626Sthorpej
2241.1238Sriastrad# NIST SP800-90A Hash_DRBG
2251.1238Sriastradinclude "crypto/nist_hash_drbg/files.nist_hash_drbg"
2261.1032Stls
2271.1096Stls# ChaCha-based fast PRNG
2281.1096Stlsinclude "crypto/cprng_fast/files.cprng_fast"
2291.1096Stls
2301.1275Sriastrad# BLAKE2s, a cryptographic hash function optimized for 8- to 32-bit
2311.1275Sriastradinclude "crypto/blake2/files.blake2s"
2321.1275Sriastrad
2331.1275Sriastrad# Various cryptography functions
2341.1275Sriastradinclude "crypto/sodium/files.sodium"
2351.1275Sriastrad
2361.570Sthorpej#
2371.1014Smrg# Kernel history/tracing. Old UVMHIST depends upon this.
2381.1014Smrg#
2391.1014Smrgdefflag opt_kernhist.h			KERNHIST KERNHIST_PRINT
2401.1083Smattdefparam opt_kernhist.h			KERNHIST_DELAY
2411.1014Smrgfile	kern/kern_history.c		kernhist
2421.1014Smrg
2431.1014Smrg#
2441.1160Sskrll# These are here for the benefit of kern_history.c so that
2451.1160Sskrll# UVMHIST can be built in kernels without usb.
2461.1160Sskrll#
2471.1160Sskrll# top level usb debug defines
2481.1160Sskrlldefflag	opt_usb.h			USB_DEBUG: KERNHIST
2491.1279Sdbjdefflag	opt_usb.h			USBHIST_PRINT
2501.1160Sskrlldefparam opt_usb.h			USBHIST_SIZE
2511.1160Sskrll
2521.1160Sskrll#
2531.1168Spgoyette# Options for BIOHIST
2541.1168Spgoyette#
2551.1168Spgoyettedefflag opt_biohist.h           BIOHIST: KERNHIST
2561.1168Spgoyettedefflag opt_biohist.h           BIOHIST_PRINT: KERNHIST_PRINT
2571.1168Spgoyettedefparam opt_biohist.h          BIOHIST_SIZE
2581.1168Spgoyette
2591.1168Spgoyette#
2601.618Sthorpej# System monitoring framework
2611.618Sthorpej#
2621.618Sthorpejinclude "dev/sysmon/files.sysmon"
2631.618Sthorpej
2641.618Sthorpej#
2651.563Sthorpej# Networking protocols
2661.563Sthorpej#
2671.971Spooka
2681.971Spooka# Attribute used by various things that need BPF's virtual machine
2691.971Spooka#
2701.971Spookadefine	bpf_filter
2711.971Spookadefparam opt_bpf.h	BPF_BUFSIZE
2721.971Spooka
2731.1123Suebayasidefflag	opt_bpf.h	BPFJIT
2741.1060Salnsn
2751.1060Salnsnfile	net/bpfjit.c	sljit & bpfjit
2761.1060Salnsn
2771.743Sthorpejinclude "net80211/files.net80211"
2781.563Sthorpejinclude "netatalk/files.netatalk"
2791.782Sgdamoreinclude "netbt/files.netbt"
2801.1172Sbouyerinclude "netcan/files.netcan"
2811.565Sthorpejinclude "netinet/files.netinet"
2821.565Sthorpejinclude "netinet6/files.netinet6"
2831.632Sitojuninclude "netipsec/files.netipsec"
2841.991Skefreninclude "netmpls/files.netmpls"
2851.994Srmind
2861.994Srmindinclude "net/npf/files.npf"
2871.994Srmindinclude "netinet/files.ipfilter"
2881.677Sitojuninclude "net/files.pf"
2891.563Sthorpej
2901.795Smattobsolete defflag		CCITT		# obsolete
2911.795Smattobsolete defflag		HDLC		# obsolete
2921.795Smattobsolete defflag		LLC		# obsolete
2931.795Smattobsolete defflag opt_ns.h	NS NSIP		# obsolete
2941.795Smattobsolete defflag		IPX		# obsolete
2951.939Sjymobsolete defparam opt_md.h	MEMORY_RBFLAGS	# superseded by
2961.939Sjym						# MEMORY_DISK_RBFLAGS
2971.939Sjym
2981.474Slukemdefflag	opt_ppp.h		PPP_DEFLATE PPP_BSDCOMP PPP_FILTER
2991.474Slukem						# Include deflate or bsd
3001.474Slukem						# compression, enable pppd
3011.474Slukem						# packet filtering support
3021.1162Schristosdefflag opt_pppoe.h		PPPOE_SERVER PPPOE_DEBUG
3031.1284Syamaguchdefparam opt_pppoe.h		PPPOE_DEQUEUE_MAXLEN
3041.189Sscottr
3051.1286Syamaguchdefflag opt_sppp.h		SPPP_IFDOWN_RECONNECT
3061.1280Syamaguchdefparam opt_sppp.h		SPPP_KEEPALIVE_INTERVAL
3071.1281Syamaguch				SPPP_NORECV_TIME
3081.1282Syamaguch				SPPP_ALIVE_INTERVAL
3091.1280Syamaguch
3101.189Sscottr# networking options
3111.473Slukem#
3121.474Slukemdefflag				GATEWAY
3131.748Syamtdefparam opt_nmbclusters.h	NMBCLUSTERS
3141.1288Smsaitoh	 			NMBCLUSTERS_MAX
3151.474Slukemdefparam			SB_MAX
3161.171Smrg
3171.189Sscottr# file system options
3181.473Slukem#
3191.1004Sbouyerdefflag	opt_quota.h		QUOTA QUOTA2		# XXX files.ufs?
3201.685Sthorpejdefflag				VNODE_LOCKDEBUG
3211.759Schsdefflag				MAGICLINKS
3221.353Soster
3231.276Sscottr# buffer cache size options
3241.473Slukem#
3251.474Slukemdefparam opt_bufcache.h		BUFCACHE BUFPAGES
3261.276Sscottr
3271.449Sgmcgarry# userconf
3281.473Slukem#
3291.474Slukemdefflag				USERCONF
3301.449Sgmcgarry
3311.663Satatat# sysctl related
3321.663Satatat#
3331.663Satatatdefflag opt_sysctl.h		SYSCTL_DISALLOW_CREATE SYSCTL_DISALLOW_KWRITE
3341.663Satatat				SYSCTL_DEBUG_SETUP SYSCTL_DEBUG_CREATE
3351.665Satatat				SYSCTL_INCLUDE_DESCR
3361.663Satatat
3371.473Slukem#
3381.289Slukem# Not entirely MI, but present on multiple arch's
3391.473Slukem#
3401.289Slukem
3411.276Sscottr# PC-style MBR handling
3421.473Slukem#
3431.474Slukemdefflag	opt_mbr.h		COMPAT_386BSD_MBRPART
3441.209Sjonathan
3451.745Sthorpej#
3461.209Sjonathan# debugging options
3471.473Slukem#
3481.745Sthorpejinclude "ddb/files.ddb"		# in-kernel dynamic debugger
3491.745Sthorpej
3501.474Slukemdefflag	opt_kgdb.h		KGDB
3511.613Smartindefparam opt_kgdb.h		KGDB_DEV KGDB_DEVNAME KGDB_DEVPORT
3521.474Slukem				KGDB_DEVADDR KGDB_DEVRATE KGDB_DEVMODE
3531.474Slukemdefflag				LOCKDEBUG
3541.474Slukemdefflag				SYSCALL_DEBUG
3551.540Syamtdefflag	opt_kstack.h		KSTACK_CHECK_MAGIC
3561.1236Sozakidefflag				PSREF_DEBUG
3571.271Sjonathan
3581.271Sjonathan# memory (ram) disk options
3591.473Slukem#
3601.474Slukemdefflag	opt_md.h		MEMORY_DISK_HOOKS MEMORY_DISK_IS_ROOT
3611.474Slukem				MEMORY_DISK_DYNAMIC
3621.851Sdsldefparam opt_md.h		MEMORY_DISK_SERVER=1 MEMORY_DISK_ROOT_SIZE
3631.939Sjym				MEMORY_DISK_RBFLAGS
3641.1143Suebayasidefparam opt_memory_disk_image.h	makeoptions_MEMORY_DISK_IMAGE
3651.159Sdrochner
3661.842Smanudefflag opt_tftproot.h		TFTPROOT TFTPROOT_DEBUG
3671.842Smanu
3681.936Schristosdefflag	opt_wlan.h		WLAN
3691.936Schristos
3701.1311Sandvar# Machine-independent device majors assignments
3711.640Sjdolecekinclude "conf/majors"
3721.543Sbriggs
3731.60Scgd# generic attributes
3741.473Slukem#
3751.915Sjmcneilldefine	videobus	{ }
3761.638Sbouyerdefine	ata	        {[channel = -1]}
3771.674Sthorpejdefine	sata
3781.947Sjakllschdefine	sata_fis
3791.1054Sbouyerdefine	sata_pmp
3801.558Sthorpejdefine	scsi_core
3811.558Sthorpejdefine	scsi		{[channel = -1]}: scsi_core
3821.638Sbouyerdefine	ata_hl		{[drive = -1]}
3831.637Sbouyerdefine	atapi		{ }
3841.489Sdrochnerdefine	radiodev	{ }
3851.614Sgmcgarrydefine	gpibdev		{[address = -1]}
3861.734Sjmcneilldefine	gpiobus		{ }
3871.769Srizdefine	onewirebus	{ }
3881.659Sbjh21define 	pckbport	{[slot = -1]}
3891.659Sbjh21define	pckbport_machdep_cnattach
3901.754Sthorpejdefine	firmload
3911.1220Smlelstvdefine	ipmibus		{ }
3921.1314Sjmcneilldefine	scmi
3931.1287Sjmcneilldefine	smbios
3941.67Scgd
3951.1317Sbrad# 8250/16[45]50-based "com" ports
3961.1317Sbrad#
3971.1317Sbraddefflag	opt_com.h		COM_DEBUG
3981.1317Sbrad# XXX In a perfect world, this would be done with attributes
3991.1317Sbraddefflag	opt_com.h		COM_16650 COM_16750
4001.1317Sbrad				COM_HAYESP COM_PXA2X0
4011.1317Sbraddefparam opt_com.h		COM_TOLERANCE
4021.1317Sbraddevice	com { } : tty
4031.1317Sbradfile	dev/ic/com.c			com			needs-flag
4041.1317Sbrad
4051.1167Schristos# speaker devices, attaches to audio or pcppi drivers
4061.1176Snatdevice	spkr: wsbelldev
4071.1177Spgoyettefile	dev/spkr.c			spkr
4081.1167Schristos
4091.1114Suebayasiinclude "dev/files.audio"
4101.650Sbjh21
4111.1129Sjmcneill# High definition audio
4121.1129Sjmcneillinclude "dev/hdaudio/files.hdaudio"
4131.1129Sjmcneill
4141.1105Schristos# Base verbose vendor/product printing support
4151.1105Schristosfile	dev/dev_verbose.c
4161.1105Schristos
4171.915Sjmcneill# video devices, attaches to video hardware driver
4181.915Sjmcneill#
4191.915Sjmcneilldevice	video
4201.915Sjmcneillattach	video at videobus
4211.915Sjmcneill
4221.1024Sjmcneill# DTV subsystem
4231.1024Sjmcneill#
4241.1024Sjmcneillinclude "dev/dtv/files.dtv"
4251.1024Sjmcneill
4261.1130Sjmcneill# HDMI CEC
4271.1130Sjmcneill#
4281.1130Sjmcneillinclude "dev/hdmicec/files.hdmicec"
4291.1130Sjmcneill
4301.922Spgoyette# National Semiconductor LM7[89]
4311.922Spgoyette#
4321.922Spgoyette# (included here so files.i2c can define an attachment)
4331.922Spgoyette
4341.922Spgoyettedevice	lm: sysmon_envsys
4351.922Spgoyettefile	dev/ic/nslm7x.c			lm			needs-flag
4361.922Spgoyette
4371.984Spgoyette# JEDEC standard SPD EPROM
4381.984Spgoyette#
4391.984Spgoyette# (included here so files.i2c can define an attachment)
4401.984Spgoyette
4411.984Spgoyettedevice	spdmem
4421.984Spgoyettefile	dev/ic/spdmem.c			spdmem
4431.984Spgoyette
4441.1294Sthorpej# Microchip MCP23x08 / MCP23x17 general purpose input/output
4451.1294Sthorpejdevice	mcpgpio: gpiobus
4461.1294Sthorpejfile	dev/ic/mcp23xxxgpio.c		mcpgpio
4471.1294Sthorpej
4481.1231Stnn# SSD1306 or SH1106 OLED/PLED display (attaches via I2C or SPI)
4491.1231Stnndevice	ssdfb:	wsemuldisplaydev
4501.1231Stnnfile	dev/ic/ssdfb.c	ssdfb
4511.1231Stnn
4521.1291Sbrad# Sparkfun Serial motor controller (attaches via I2C or SPI)
4531.1291Sbraddevice  scmd
4541.1291Sbradfile	dev/ic/scmd.c	scmd
4551.1291Sbrad
4561.1304Sbrad# Bosch BMP280 / BME280 sensor (attaches via I2C or SPI)
4571.1304Sbraddevice  bmx280thp
4581.1317Sbradfile	dev/ic/bmx280.c			bmx280thp
4591.1317Sbrad
4601.1317Sbrad# NXP SC16IS7xx UART bridge (attaches via I2C or SPI,
4611.1317Sbrad# and provides an attachment for com* and gpio*)
4621.1317Sbraddefine	sc16is7xxbus {  }
4631.1317Sbraddevice	sc16is7xx: sc16is7xxbus, gpiobus
4641.1317Sbradfile	dev/ic/sc16is7xx.c		sc16is7xx
4651.1317Sbrad
4661.1317Sbradattach	com at sc16is7xxbus with sc16is7xx_tty
4671.1317Sbradfile	dev/ic/sc16is7xx_tty.c		sc16is7xx_tty
4681.1304Sbrad
4691.1186Sbouyer# Generic HID support (used by USB, bluetooth and i2c)
4701.1186Sbouyerinclude "dev/hid/files.hid"
4711.1186Sbouyer
4721.635Sthorpej# I2C device support
4731.635Sthorpejinclude "dev/i2c/files.i2c"
4741.635Sthorpej
4751.1199Sjmcneill# PWM device support
4761.1199Sjmcneillinclude "dev/pwm/files.pwm"
4771.1199Sjmcneill
4781.813Sgdamore# SPI device support
4791.813Sgdamoreinclude "dev/spi/files.spi"
4801.813Sgdamore
4811.559Sthorpej# IR device support
4821.559Sthorpejinclude	"dev/ir/files.ir"
4831.559Sthorpej
4841.651Sjdolecek# Parallel Port Bus support
4851.651Sjdolecekinclude "dev/ppbus/files.ppbus"
4861.651Sjdolecek
4871.363Sthorpej# raster operations attributes
4881.473Slukem#
4891.426Slukemdefine	rasops1
4901.426Slukemdefine	rasops2
4911.426Slukemdefine	rasops4
4921.426Slukemdefine	rasops8
4931.426Slukemdefine	rasops15
4941.426Slukemdefine	rasops16
4951.426Slukemdefine	rasops24
4961.426Slukemdefine	rasops32
4971.829Soberdefine	rasops_rotation
4981.60Scgd
4991.997Sjmcneill# image decoding support
5001.997Sjmcneillinclude "dev/stbi/files.stbi"
5011.997Sjmcneill
5021.760Sjmcneill# splash screen support
5031.760Sjmcneillinclude "dev/splash/files.splash"
5041.760Sjmcneill
5051.768Sgdamore# videomode support
5061.768Sgdamoreinclude "dev/videomode/files.videomode"
5071.768Sgdamore
5081.1253Sthorpej# net device attributes
5091.473Slukem#
5101.874Scubedefine	arcnet
5111.60Scgddefine	ether
5121.399Sonoedefine	ieee1394
5131.284Sexplorerdefine	sppp
5141.1272Sriastraddefine	wlan: aes
5151.294Sitojundefine	crypto
5161.100Sws
5171.1039Schristos# TPM
5181.1039Schristosdevice	tpm
5191.1039Schristosfile	dev/ic/tpm.c			tpm			needs-flag
5201.1039Schristos
5211.119Sis# devices ARPing IPv4 pull this in:
5221.473Slukem#
5231.119Sisdefine	arp
5241.119Sis
5251.515Sthorpej#
5261.515Sthorpej# ALTQ network traffic shaping subsystem
5271.515Sthorpej#
5281.515Sthorpejinclude "altq/files.altq"
5291.515Sthorpej
5301.404Sad# Logical disk
5311.473Slukem#
5321.404Saddevice	ld: disk
5331.426Slukemfile	dev/ld.c			ld			needs-flag
5341.513Sthorpej
5351.513Sthorpej#
5361.513Sthorpej# MII/PHY support for network devices
5371.513Sthorpej#
5381.513Sthorpejinclude "dev/mii/files.mii"
5391.375Sthorpej
5401.473Slukem#
5411.512Sthorpej# RAIDframe
5421.512Sthorpej#
5431.512Sthorpejinclude "dev/raidframe/files.raidframe"
5441.639Sgrog
5451.639Sgrog#
5461.542Sthorpej# Hardware-assisted data mover API
5471.542Sthorpej#
5481.542Sthorpejinclude "dev/dmover/files.dmover"
5491.512Sthorpej
5501.512Sthorpej#
5511.83Sthorpej# "Chipset" drivers.  These are the bus-independent routines which
5521.83Sthorpej# contain the cfdrivers.  Attachments are provided by files.<bus>
5531.473Slukem#
5541.145Schristos
5551.145Schristos# Adaptec AIC-6[32]60 ICs
5561.473Slukem#
5571.173Sthorpejdevice	aic: scsi
5581.145Schristosfile	dev/ic/aic6360.c		aic
5591.346Sthorpej
5601.346Sthorpej# SMC 93Cx6 Serial EEPROM devices
5611.473Slukem#
5621.346Sthorpejdefine	smc93cx6
5631.346Sthorpejfile	dev/ic/smc93cx6.c		smc93cx6
5641.83Sthorpej
5651.86Smycroft# Adaptec 2[789]4X, 394X, aic7770 and aic78[5678]0 SCSI controllers
5661.473Slukem#
5671.474Slukemdefparam opt_ahc.h		AHC_DEBUG
5681.474Slukemdefflag	opt_ahc.h		AHC_NO_TAGS
5691.173Sthorpejdevice	ahc: scsi
5701.345Sthorpejdefine	ahc_seeprom
5711.354Sfvdldefine	ahc_aic77xx
5721.142Senamifile	dev/ic/aic7xxx.c		ahc
5731.609Sfvdlfile	dev/ic/aic7xxx_osm.c		ahc
5741.345Sthorpejfile	dev/ic/aic7xxx_seeprom.c	ahc_seeprom
5751.354Sfvdlfile	dev/ic/aic77xx.c		ahc_aic77xx
5761.609Sfvdl
5771.609Sfvdl# Adaptec aic79xx SCSI controllers
5781.609Sfvdldefflag	opt_ahd.h		AHD_DEBUG
5791.609Sfvdldevice	ahd: scsi
5801.609Sfvdlfile	dev/ic/aic79xx.c		ahd
5811.609Sfvdlfile	dev/ic/aic79xx_osm.c		ahd
5821.318Sad
5831.318Sad# DPT EATA SCSI controllers
5841.473Slukem#
5851.318Saddevice	dpt: scsi
5861.318Sadfile	dev/ic/dpt.c			dpt
5871.355Sad
5881.355Sad# Compaq Smart ARRAY controllers
5891.473Slukem#
5901.355Saddevice	cac {unit = -1}
5911.355Sadfile	dev/ic/cac.c			cac
5921.355Sad
5931.404Sadattach	ld at cac with ld_cac
5941.404Sadfile	dev/ic/ld_cac.c			ld_cac
5951.419Sad
5961.764She# HP/Compaq Command Interface for SCSI-3 Support
5971.764She#
5981.1194Sjoergdefflag	opt_ciss.h			CISS_NO_INTERRUPT_HACK
5991.764Shedevice ciss: scsi
6001.764Shefile	dev/ic/ciss.c			ciss
6011.764She
6021.419Sad# Mylex DAC960 RAID controllers
6031.473Slukem#
6041.419Saddevice	mlx {unit = -1}
6051.419Sadfile	dev/ic/mlx.c			mlx			needs-flag
6061.419Sad
6071.419Sadattach	ld at mlx with ld_mlx
6081.419Sadfile	dev/ic/ld_mlx.c			ld_mlx
6091.521Sad
6101.521Sad# ICP-Vortex/Intel RAID controllers
6111.521Sad#
6121.521Saddevice	icp {unit = -1}
6131.521Sadfile	dev/ic/icp.c			icp			needs-flag
6141.611Sthorpejfile	dev/ic/icp_ioctl.c		icp
6151.521Sad
6161.521Sadattach	ld at icp with ld_icp
6171.521Sadfile	dev/ic/ld_icp.c			ld_icp
6181.521Sad
6191.521Saddevice	icpsp: scsi
6201.521Sadfile	dev/ic/icpsp.c			icpsp
6211.521Sadattach	icpsp at icp
6221.523Sad
6231.523Sad# Adaptec FSA RAID controllers
6241.523Sad#
6251.523Saddevice	aac {unit = -1}
6261.523Sadfile	dev/ic/aac.c			aac
6271.523Sad
6281.523Sadattach	ld at aac with ld_aac
6291.523Sadfile	dev/ic/ld_aac.c			ld_aac
6301.238Sdante
6311.238Sdante# AdvanSys 1200A, 1200B and ULTRA SCSI controllers
6321.473Slukem#
6331.238Sdantedevice	adv: scsi
6341.238Sdantefile	dev/ic/adv.c			adv
6351.428Sthorpejfile	dev/ic/advlib.c			adv
6361.428Sthorpejfile	dev/ic/advmcode.c		adv
6371.248Sdante
6381.248Sdante# AdvanSys ULTRA WIDE SCSI controllers
6391.473Slukem#
6401.248Sdantedevice	adw: scsi
6411.248Sdantefile	dev/ic/adw.c			adw
6421.194Sjonathan
6431.130Sjonathan# BusLogic MultiMaster and MultiMaster Ultra SCSI controllers
6441.130Sjonathan# (Must be declared before AHA to ensure bha probes before aha.
6451.130Sjonathan#  Probing AHA first configures bhas as aha, via their AHA
6461.130Sjonathan#  hardware-compatibility mode.)
6471.473Slukem#
6481.173Sthorpejdevice	bha: scsi
6491.142Senamifile	dev/ic/bha.c			bha
6501.130Sjonathan
6511.113Smycroft# Adaptec AHA-154x and AHA-164x controllers
6521.130Sjonathan# (must be after bha, see above)
6531.473Slukem#
6541.173Sthorpejdevice	aha: scsi
6551.142Senamifile	dev/ic/aha.c			aha
6561.445Stsutsui
6571.445Stsutsui# Initio INIC-940/950 SCSI controllers
6581.473Slukem#
6591.445Stsutsuidevice	iha: scsi
6601.445Stsutsuifile	dev/ic/iha.c			iha
6611.118Scgd
6621.118Scgd# Qlogic ISP 10x0 SCSI Controllers
6631.473Slukem#
6641.474Slukemdefflag	opt_isp.h		ISP_DISABLE_1020_SUPPORT
6651.474Slukem				ISP_DISABLE_1080_SUPPORT
6661.474Slukem				ISP_DISABLE_2100_SUPPORT
6671.474Slukem				ISP_DISABLE_2200_SUPPORT
6681.846Smjacob				ISP_DISABLE_2300_SUPPORT
6691.894Smjacob				ISP_DISABLE_2322_SUPPORT
6701.846Smjacob				ISP_DISABLE_2400_SUPPORT
6711.846Smjacob				ISP_DISABLE_FW
6721.846Smjacob				ISP_TARGET_MODE
6731.474Slukemdefparam opt_isp.h		ISP_LOGDEFAULT
6741.894Smjacob				ISP_VPORTS
6751.173Sthorpejdevice	isp: scsi
6761.142Senamifile	dev/ic/isp.c			isp
6771.846Smjacobfile	dev/ic/isp_library.c		isp
6781.223Smjacobfile	dev/ic/isp_netbsd.c		isp
6791.711Sdrochnerfile	dev/ic/isp_target.c		isp & isp_target_mode
6801.821Sbouyer# LSILogic MegaRAID SAS
6811.821Sbouyer#
6821.821Sbouyerdevice	mfi: scsi
6831.821Sbouyerfile	dev/ic/mfi.c			mfi
6841.821Sbouyer
6851.528Smatt# LSILogic Fusion-MPT I/O Processor SCSI/FC Controllers
6861.528Smatt#
6871.608Sthorpejdevice	mpt: scsi
6881.608Sthorpejfile	dev/ic/mpt.c			mpt
6891.608Sthorpejfile	dev/ic/mpt_debug.c		mpt
6901.608Sthorpejfile	dev/ic/mpt_netbsd.c		mpt
6911.605Stsutsui
6921.682Sitohy# Workbit NinjaSCSI-32 controllers
6931.682Sitohydevice	njs: scsi
6941.682Sitohyfile	dev/ic/ninjascsi32.c		njs
6951.682Sitohy
6961.605Stsutsui# Symbios/NCR 53c700 SCSI controllers
6971.605Stsutsuidevice	oosiop: scsi
6981.605Stsutsuifile	dev/ic/oosiop.c			oosiop
6991.436Stsutsui
7001.436Stsutsui# Symbios/NCR 53c710 SCSI controllers
7011.473Slukem#
7021.436Stsutsuidevice	osiop: scsi
7031.436Stsutsuifile	dev/ic/osiop.c			osiop
7041.364Sbouyer
7051.368Sbouyer# common stuff for siop and esiop
7061.473Slukem#
7071.426Slukemdefine	siop_common
7081.426Slukemfile	dev/ic/siop_common.c		siop_common
7091.368Sbouyer
7101.364Sbouyer# Symbios/NCR 53c720/53c8xx SCSI controllers
7111.473Slukem#
7121.426Slukemdevice	siop: scsi,siop_common
7131.898Sskrllfile	dev/ic/siop.c			siop & (siop_pci | siop_gedoens)
7141.517Sbouyerdefflag	opt_siop.h			SIOP_SYMLED
7151.518Sbouyer
7161.518Sbouyerdevice	esiop: scsi,siop_common
7171.518Sbouyerfile	dev/ic/esiop.c			esiop
7181.94Smycroft
7191.94Smycroft# UltraStor SCSI controllers
7201.473Slukem#
7211.173Sthorpejdevice	uha: scsi
7221.142Senamifile	dev/ic/uha.c			uha
7231.409Sonoe
7241.878Sgarbled# 3Com common probe code
7251.878Sgarbleddefine  elink
7261.878Sgarbledfile    dev/isa/elink.c                 elink
7271.878Sgarbled
7281.409Sonoe# Aironet PC4500/PC4800
7291.473Slukem#
7301.653Stsarnadevice	an: arp, wlan, ifnet
7311.409Sonoefile	dev/ic/an.c			an
7321.86Smycroft
7331.376Sonoe# AMD 79c930-based 802.11 cards
7341.473Slukem#
7351.376Sonoedevice	awi: arp, wlan, ifnet
7361.376Sonoefile	dev/ic/awi.c			awi
7371.376Sonoefile	dev/ic/am79c930.c		awi
7381.438Sichiro
7391.438Sichiro# Lucent & Intersil WaveLan IEEE (802.11)
7401.473Slukem#
7411.656Sjunyoungdevice	wi: arp, wlan, ifnet
7421.438Sichirofile	dev/ic/wi.c			wi
7431.617Sdyoung
7441.930Salc# Atheros HAL
7451.930Salc#
7461.930Salcinclude "external/isc/atheros_hal/conf/files.ath_hal"
7471.930Salc
7481.641Sdyoung# Atheros 5210/5211/5212 multi-mode 802.11
7491.641Sdyoung#
7501.656Sjunyoungdevice	ath: arp, wlan, ifnet
7511.1066Schristosfile	dev/ic/ath.c			ath
7521.1066Schristosfile	dev/ic/ath_netbsd.c		ath
7531.1066Schristosfile	dev/ic/athrate-sample.c		ath
7541.641Sdyoung
7551.617Sdyoung# ADMtek ADM8211 802.11
7561.617Sdyoung#
7571.656Sjunyoungdevice	atw: arp, wlan, ifnet, smc93cx6
7581.617Sdyoungfile	dev/ic/atw.c			atw
7591.376Sonoe
7601.687Sdyoung# Realtek RTL8180 802.11
7611.687Sdyoung#
7621.687Sdyoungdevice rtw: arp, wlan, ifnet, smc93cx6
7631.687Sdyoungfile	dev/ic/rtw.c			rtw
7641.687Sdyoungfile	dev/ic/rtwphy.c			rtw
7651.687Sdyoungfile	dev/ic/rtwphyio.c		rtw
7661.687Sdyoung
7671.1157Schristos# Ralink RT2500/RT2600/RT2860 802.11
7681.779Smartindevice	ral: arp, ether, ifnet, wlan, firmload
7691.778Sdogcowfile	dev/ic/rt2560.c			ral
7701.778Sdogcowfile	dev/ic/rt2661.c			ral
7711.1157Schristosfile	dev/ic/rt2860.c			ral
7721.722Sdrochner
7731.1053Sdegroote# Marvell Libertas Open
7741.1053Sdegrootedevice  malo: arp, ether, ifnet, wlan, firmload
7751.1053Sdegrootefile    dev/ic/malo.c           malo
7761.1053Sdegroote
7771.83Sthorpej# 3Com Etherlink-III Ethernet controller
7781.473Slukem#
7791.333Sthorpejdevice	ep: arp, ether, ifnet, mii, mii_bitbang
7801.142Senamifile	dev/ic/elink3.c			ep
7811.253Sfvdl
7821.253Sfvdl# 3Com EtherLink XL Controller
7831.473Slukem#
7841.331Sthorpejdevice	ex: arp, ether, ifnet, mii, mii_bitbang
7851.253Sfvdlfile	dev/ic/elinkxl.c		ex
7861.131Smatt
7871.131Smatt# DEC EtherWORKS III (LEMAC) Ethernet controllers
7881.473Slukem#
7891.173Sthorpejdevice	lc: arp, ether, ifnet
7901.142Senamifile	dev/ic/lemac.c			lc
7911.84Smycroft
7921.84Smycroft# LANCE and PCnet Ethernet controllers
7931.473Slukem#
7941.173Sthorpejdevice	le: arp, ether, ifnet
7951.426Slukemdefine	le24
7961.426Slukemdefine	le32
7971.227Sexplorerfile	dev/ic/am7990.c			le24
7981.225Sdrochnerfile	dev/ic/am79900.c		le32
7991.225Sdrochnerfile	dev/ic/lance.c			le24 | le32
8001.383Sthorpej
8011.383Sthorpej# DEC DEPCA-family of LANCE Ethernet controllers
8021.473Slukem#
8031.383Sthorpejdevice	depca { }: le24
8041.383Sthorpejfile	dev/ic/depca.c			depca
8051.383Sthorpejattach	le at depca with le_depca
8061.122Sscottr
8071.290Smrg# Sun HME Ethernet controllers
8081.473Slukem#
8091.293Spkdevice	hme: arp, ether, ifnet, mii
8101.293Spkfile	dev/ic/hme.c			hme
8111.461Seeh
8121.461Seeh# Sun GEM Ethernet controllers
8131.473Slukem#
8141.461Seehdevice	gem: arp, ether, ifnet, mii
8151.461Seehfile	dev/ic/gem.c			gem
8161.290Smrg
8171.1293Sjmcneill# Synopsys DesignWare GMAC core, as found on allwinner a20
8181.1103Smartin# and other SoCs
8191.1103Smartindevice	awge: arp, ether, ifnet, mii
8201.1103Smartinfile	dev/ic/dwc_gmac.c		awge
8211.1103Smartin
8221.1293Sjmcneill# Synopsys DesignWare Ethernet Quality-of-Service controller
8231.1293Sjmcneilldevice	eqos: arp, ether, ifnet, mii
8241.1293Sjmcneillfile	dev/ic/dwc_eqos.c		eqos
8251.1293Sjmcneill
8261.1307Sjmcneill# Synopsys DesignWare Watchdog
8271.1307Sjmcneilldevice	dwcwdt: sysmon_wdog
8281.1307Sjmcneillfile	dev/ic/dwc_wdt.c		dwcwdt
8291.1307Sjmcneill
8301.122Sscottr# 8390-family Ethernet controllers
8311.473Slukem#
8321.122Sscottrdefine	dp8390nic
8331.1202Smartinfile	dev/ic/dp8390.c			dp8390nic
8341.485Sbjh21
8351.485Sbjh21# National Semiconductor DP83905 AT/LANTIC Ethernet media support
8361.485Sbjh21#
8371.485Sbjh21define	dp83905
8381.485Sbjh21file	dev/ic/dp83905.c		dp83905
8391.484Sbjh21
8401.484Sbjh21# Macronix MX98905 Ethernet controller
8411.484Sbjh21# (use as an attribute for an "ne" bus attachment)
8421.484Sbjh21#
8431.484Sbjh21define	mx98905
8441.484Sbjh21file	dev/ic/mx98905.c		mx98905
8451.77Scgd
8461.91Scgd# NCR 5380 SCSI Bus Controller
8471.473Slukem#
8481.91Scgddefine	ncr5380sbc
8491.142Senamifile	dev/ic/ncr5380sbc.c		ncr5380sbc
8501.356Spkdevice	nca: scsi, ncr5380sbc
8511.91Scgd
8521.434Sfredette# Sun sc PAL SCSI Bus Controller
8531.473Slukem#
8541.434Sfredettedefine	sunscpal
8551.434Sfredettefile	dev/ic/sunscpal.c		sunscpal
8561.434Sfredettedevice	ssc: scsi, sunscpal
8571.434Sfredette
8581.474Slukem# Cyclades Cyclom-8/16/32
8591.473Slukem#
8601.173Sthorpejdevice	cy: tty
8611.142Senamifile	dev/ic/cy.c			cy			needs-flag
8621.103Sthorpej
8631.117Sthorpej# NCR 53x9x or Emulex ESP SCSI Controller
8641.473Slukem#
8651.117Sthorpejdefine	ncr53c9x
8661.359Smycroftdevice	esp: scsi, ncr53c9x
8671.142Senamifile	dev/ic/ncr53c9x.c		ncr53c9x
8681.227Sexplorer
8691.679Smycroft# Fujitsu MB87030/MB89352 SCSI Protocol Controller
8701.679Smycroftdevice	spc: scsi
8711.679Smycroftfile	dev/ic/mb89352.c		spc
8721.679Smycroft
8731.796Sbjh21# Western Digital WD33C93/WD33C93A SCSI Bus Interface Controller
8741.796Sbjh21define	wd33c93
8751.796Sbjh21file	dev/ic/wd33c93.c		wd33c93
8761.796Sbjh21
8771.590Ssoren# Hitachi HD44780 LCD panel controller
8781.590Ssorendefine	hd44780
8791.590Ssorenfile	dev/ic/hd44780_subr.c		hd44780
8801.590Ssorenfile	dev/ic/lcdkp_subr.c		hd44780
8811.590Ssoren
8821.710Sjoff# Matrix keypad
8831.710Sjoffdefine	matrixkp
8841.710Sjofffile	dev/ic/matrixkp_subr.c		matrixkp
8851.710Sjoff
8861.227Sexplorer# Hitachi HD64570 serial controller
8871.473Slukem#
8881.359Smycroftdefine	hd64570
8891.227Sexplorerfile	dev/ic/hd64570.c		hd64570
8901.339Schopps
8911.339Schopps# Riscom/N2 ISA/PCI Sync Serial Controller
8921.473Slukem#
8931.339Schoppsdevice	ntwoc: ifnet, hd64570
8941.128Spk
8951.128Spk# Intel 82586 Ethernet Controller
8961.473Slukem#
8971.128Spkdefine	i82586
8981.142Senamifile	dev/ic/i82586.c			i82586
8991.291Sthorpej
9001.658Sjkunz# Intel 82596 Ethernet Controller
9011.658Sjkunz#
9021.658Sjkunzdefine	i82596
9031.658Sjkunzfile	dev/ic/i82596.c			i82596
9041.658Sjkunz
9051.291Sthorpej# Intel 82557/82558/82559 Ethernet Controller
9061.473Slukem#
9071.291Sthorpejdevice	fxp: ether, ifnet, arp, mii
9081.291Sthorpejfile	dev/ic/i82557.c			fxp
9091.389Sbjh21
9101.389Sbjh21# SEEQ 8005 Advanced Ethernet Data Link Controller
9111.473Slukem#
9121.389Sbjh21define	seeq8005
9131.389Sbjh21file	dev/ic/seeq8005.c		seeq8005
9141.137Sthorpej
9151.137Sthorpej# SMC 91Cxx Ethernet Controller
9161.473Slukem#
9171.379Sbriggsdevice	sm: arp, ether, ifnet, mii, mii_bitbang
9181.142Senamifile	dev/ic/smc91cxx.c		sm
9191.188Sthorpej
9201.188Sthorpej# SMC 83C170 EPIC/100 Fast Ethernet Controller
9211.473Slukem#
9221.230Sthorpejdevice	epic: arp, ether, ifnet, mii
9231.188Sthorpejfile	dev/ic/smc83c170.c		epic
9241.309Sragge
9251.309Sragge# DEC SGEC Second Generation Ethernet Controller
9261.473Slukem#
9271.309Sraggedefine	sgec
9281.309Sraggefile	dev/ic/sgec.c			sgec
9291.177Senami
9301.715Sjdolecek# MB86950 Ethernet Controller
9311.715Sjdolecek#
9321.715Sjdolecekdefine	mb86950
9331.715Sjdolecekfile	dev/ic/mb86950.c		mb86950
9341.715Sjdolecek
9351.177Senami# MB8696x Ethernet Controller
9361.473Slukem#
9371.177Senamidefine	mb86960
9381.177Senamifile	dev/ic/mb86960.c		mb86960
9391.177Senami
9401.177Senami# Generic MB8696x Ethernet Controller driver
9411.473Slukem#
9421.177Senamidevice	mbe: arp, ether, ifnet, mb86960
9431.146Saugustss
9441.146Saugustss# Interwave Am78C201 audio driver
9451.473Slukem#
9461.146Saugustssdefine	interwave
9471.146Saugustssfile	dev/ic/interwave.c		interwave
9481.154Sis
9491.154Sis# TMS 320av110 MPEG2/audio driver
9501.473Slukem#
9511.154Sisdefine	tms320av110
9521.154Sisfile	dev/ic/tms320av110.c		tms320av110
9531.152Sthorpej
9541.152Sthorpej# Novell NE2000-compatible Ethernet cards, based on the
9551.152Sthorpej# National Semiconductor DS8390.
9561.473Slukem#
9571.423Sthorpejdevice	ne: ether, ifnet, arp, dp8390nic, mii
9581.1202Smartinfile	dev/ic/ne2000.c			ne
9591.153Sthorpej
9601.336Sthorpej# PC-like keyboard controller
9611.473Slukem#
9621.659Sbjh21device	pckbc: pckbport
9631.660Sbjh21file	dev/ic/pckbc.c			pckbc			needs-flag
9641.274Sscw
9651.714Scubedevice	attimer
9661.714Scubefile	dev/ic/attimer.c		attimer			needs-flag
9671.714Scube
9681.274Sscw# Cirrus Logic CD240[01] 4-port Multi-Protocol Communications Controller
9691.473Slukem#
9701.274Sscwdevice	clmpcc: tty
9711.426Slukemfile	dev/ic/clmpcc.c			clmpcc			needs-flag
9721.385Sbjh21
9731.843Sxtraeme# Abit uGuru
9741.843Sxtraeme#
9751.843Sxtraemedevice	ug: sysmon_envsys
9761.843Sxtraemefile	dev/ic/ug.c			ug			needs-flag
9771.843Sxtraeme
9781.242Sis# SMC 90c26, SMC 90C56 (and 90C66 if in compat mode) chip driver
9791.473Slukem#
9801.874Scubedevice	bah: ifnet, arcnet, arp
9811.426Slukemfile	dev/ic/smc90cx6.c		bah
9821.234Saugustss
9831.234Saugustss# OPL2/OPL3 FM synth driver
9841.473Slukem#
9851.235Saugustssdevice	opl: midibus, midisyn
9861.234Saugustssfile	dev/ic/opl.c			opl
9871.234Saugustssfile	dev/ic/oplinstrs.c		opl
9881.305Saugustss
9891.305Saugustss# MPU401 MIDI UART compatibles
9901.473Slukem#
9911.305Saugustssdevice	mpu: midibus
9921.426Slukemfile	dev/ic/mpu.c			mpu			needs-flag
9931.236Spk
9941.236Spk# AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers
9951.473Slukem#
9961.236Spkdefine	ad1848
9971.236Spkfile	dev/ic/ad1848.c			ad1848
9981.290Smrg
9991.290Smrg# AMD 7930 audio/ISDN codec
10001.473Slukem#
10011.366Saugustssdefine	am7930
10021.366Saugustssfile	dev/ic/am7930.c			am7930
10031.290Smrg
10041.1100Stsutsui# Siemens PSB2160 audio codec, as found in HP systems
10051.1100Stsutsuidevice	arcofi: audiobus, auconv, mulaw
10061.1100Stsutsuifile	dev/ic/arcofi.c			arcofi
10071.1100Stsutsui
10081.290Smrg# SPARC `SUNW,audiocs'
10091.473Slukem#
10101.519Saugustssdevice	audiocs: audiobus, auconv, ad1848
10111.290Smrgfile	dev/ic/cs4231.c			audiocs
10121.326Saugustss
10131.326Saugustss# AC-97 CODECs
10141.473Slukem#
10151.326Saugustssdefine	ac97
10161.326Saugustssfile	dev/ic/ac97.c			ac97
10171.437Sminoura
10181.1040Snisimura# UDA1341 CODEC support
10191.1040Snisimuradefine	uda1341
10201.1040Snisimurafile	dev/ic/uda1341.c		uda1341
10211.1040Snisimura
10221.437Sminoura# Oki MSM6258 support code
10231.473Slukem#
10241.437Sminouradefine msm6258
10251.437Sminourafile	dev/ic/msm6258.c		msm6258
10261.240Spk
10271.240Spk# LSI64854 DMA controller back-end
10281.473Slukem#
10291.240Spkdefine	lsi64854
10301.240Spkfile	dev/ic/lsi64854.c		lsi64854
10311.465Smrg
10321.465Smrg# Cirrus Logic CL-CD180/1864/1865 multi port serial controller back-end
10331.473Slukem#
10341.465Smrgdefine	cd18xx
10351.465Smrgfile	dev/ic/cd18xx.c			cd18xx
10361.240Spk
10371.654Swiz# Realtek 8019/8029 NE2000-compatible network interface subroutines
10381.473Slukem#
10391.252Sthorpejdefine	rtl80x9
10401.980Stsutsuifile	dev/ic/rtl80x9.c		rtl80x9			needs-flag
10411.360Shaya
10421.654Swiz# Realtek 8129/8139 Ethernet controllers
10431.473Slukem#
10441.362Shayadevice	rtk: ether, ifnet, arp, mii
10451.675Ssekiyafile	dev/ic/rtl81x9.c		rtk | re
10461.185Skml
10471.673Stoshii# Realtek 8169 Ethernet controllers
10481.673Stoshii#
10491.673Stoshiidevice	re: ether, ifnet, arp, mii
10501.709Syamtfile	dev/ic/rtl8169.c		re
10511.673Stoshii
10521.1200Sjakllsch# Virtual I/O Device (VIRTIO) bus controller and devices
10531.1200Sjakllsch#
10541.1200Sjakllschinclude "dev/virtio/files.virtio"
10551.1200Sjakllsch
10561.258Spk# Common code for ESDI/IDE/etc. controllers
10571.473Slukem#
10581.680Sthorpejdefine	wdc_common
10591.809Sitohydefine	ata_dma
10601.809Sitohydefine	ata_udma
10611.809Sitohydefine	ata_piobm
10621.680Sthorpejdevice	wdc: ata, wdc_common
10631.637Sbouyer
10641.1079Sjmcneilldefflag opt_ata.h	ATADEBUG
10651.1079Sjmcneilldefparam opt_ata.h	ATADEBUG_MASK
10661.1079Sjmcneilldefflag opt_wdc.h	WDC_NO_IDS
10671.835Sdyoung
10681.656Sjunyoungdevice	atabus: atapi,ata_hl
10691.656Sjunyoungattach	atabus at ata
10701.809Sitohy# The strange expression is to dump ata_* definitions to ata_dma.h.
10711.809Sitohyfile	dev/ic/wdc.c			(ata_dma | ata_udma | ata_piobm | atabus) & atabus & wdc_common	needs-flag
10721.386Sbjh21
10731.810Sitohy# Workbit NinjaATA-32 IDE controllers
10741.810Sitohydevice	njata: ata, ata_piobm, wdc_common
10751.810Sitohyfile	dev/ic/ninjaata32.c		njata
10761.810Sitohy
10771.844Sbouyer# AHCI-compatible SATA controllers
10781.1309Sabsdefflag	opt_ahcisata.h	AHCISATA_REMOVE_EXTRA_DELAY
10791.1290Srindefparam opt_ahcisata.h	AHCISATA_EXTRA_DELAY_MS
10801.844Sbouyerdefine ahcisata_core
10811.844Sbouyerfile dev/ic/ahcisata_core.c ahcisata_core
10821.1054Sbouyerdevice ahcisata: ata, ata_dma, ata_udma, sata, sata_fis, sata_pmp, ahcisata_core
10831.844Sbouyer
10841.956Sjakllsch# Silicon Image SteelVine SATA-II controllers
10851.956Sjakllschdefine	siisata
10861.956Sjakllschfile	dev/ic/siisata.c		siisata
10871.1054Sbouyerdevice	siisata: ata, ata_dma, ata_udma, sata, sata_fis, sata_pmp, siisata
10881.956Sjakllsch
10891.957Sjakllsch# Marvell Serial-ATA Host Controller
10901.951Skiyoharadefine mvsata
10911.951Skiyoharafile dev/ic/mvsata.c			mvsata
10921.1182Skredevice mvsata: ata, ata_dma, ata_udma, wdc_common, sata, sata_fis, sata_pmp, mvsata
10931.951Skiyoharadefflag opt_mvsata.h		MVSATA_WITHOUTDMA
10941.951Skiyohara
10951.314Sthorpej# DECchip 21x4x Ethernet controller family, and assorted clones.
10961.473Slukem#
10971.333Sthorpejdevice	tlp: arp, ether, ifnet, mii, mii_bitbang
10981.314Sthorpejfile	dev/ic/tulip.c			tlp
10991.322Sthorpej
11001.322Sthorpej# Adaptec AIC-6915 Ethernet interface
11011.473Slukem#
11021.322Sthorpejdevice	sf: arp, ether, ifnet, mii
11031.322Sthorpejfile	dev/ic/aic6915.c		sf
11041.378Spk
11051.378Spk# Mostek time-of-day clock and NVRAM
11061.473Slukem#
11071.378Spkdefine	mk48txx
11081.507Spkfile	dev/ic/mk48txx.c		mk48txx
11091.378Spk
11101.1061Srkujawa# OKI MSM6242B
11111.1061Srkujawa#
11121.1061Srkujawadefine	msm6242b
11131.1061Srkujawafile	dev/ic/msm6242b.c		msm6242b
11141.1061Srkujawa
11151.378Spk# Intersil 7170 time-of-day clock
11161.473Slukem#
11171.378Spkdefine	intersil7170
11181.378Spkfile	dev/ic/intersil7170.c		intersil7170
11191.434Sfredette
11201.434Sfredette# National Semiconductor MM58167 time-of-day clock
11211.473Slukem#
11221.434Sfredettedefine	mm58167
11231.434Sfredettefile	dev/ic/mm58167.c		mm58167
11241.643Stsutsui
11251.643Stsutsui# Motorola mc146818 (and compatible) time-of-day clock
11261.643Stsutsui#
11271.643Stsutsuidefine	mc146818
11281.643Stsutsuifile	dev/ic/mc146818.c		mc146818
11291.422Sthorpej
11301.808Suwe# Ricoh RS5C313 time of-day-clock
11311.808Suwe#
11321.808Suwedefine	rs5c313
11331.808Suwefile	dev/ic/rs5c313.c		rs5c313
11341.808Suwe
11351.422Sthorpej# D-Link DL10019/10022 NE2000-compatible network interface subroutines
11361.473Slukem#
11371.422Sthorpejdefine	dl10019
11381.422Sthorpejfile	dev/ic/dl10019.c		dl10019
11391.453Senami
11401.453Senami# ASIX AX88190 NE2000-compatible network interface subroutines
11411.473Slukem#
11421.453Senamidefine	ax88190
11431.453Senamifile	dev/ic/ax88190.c		ax88190
11441.429Sjdolecek
11451.429Sjdolecek# WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ
11461.473Slukem#
11471.429Sjdolecekdevice	we: ether, ifnet, arp, dp8390nic
11481.429Sjdolecekfile	dev/ic/we.c			we
11491.432Sjdolecek
11501.432Sjdolecek# Allied-Telesis Ethernet driver based on Fujitsu MB8696xA controllers
11511.473Slukem#
11521.432Sjdolecekdevice	ate: arp, ether, ifnet, mb86960
11531.557Stsutsui
11541.557Stsutsui# Fujitsu FMV-18x Ethernet driver based on Fujitsu MB8696xA controllers
11551.557Stsutsui#
11561.557Stsutsuidevice	fmv: arp, ether, ifnet, mb86960
11571.557Stsutsuifile	dev/ic/fmv.c			fmv
11581.471Syamt
11591.471Syamt# Crystal Semiconductor CS8900, CS8920, and CS8920M Ethernet
11601.473Slukem#
11611.471Syamtdevice	cs: arp, ether, ifnet
11621.704Sjoffdevice	tscs: arp, ether, ifnet
11631.704Sjofffile	dev/ic/cs89x0.c			cs | tscs
11641.487Saugustss
11651.487Saugustss# Radio device attributes
11661.487Saugustss#
11671.487Saugustssdefine	tea5757
11681.656Sjunyoungfile	dev/ic/tea5757.c		tea5757
11691.487Saugustssdefine	lm700x
11701.656Sjunyoungfile	dev/ic/lm700x.c			lm700x
11711.179Sdrochner
11721.837Stnn# Philips PCF8584 i2c controller
11731.837Stnndefine	pcf8584
11741.1316Sthorpejdevice	pcfiic: pcf8584, i2cbus
11751.1316Sthorpejfile	dev/ic/pcf8584.c		pcfiic
11761.837Stnn
11771.985Snonaka# PCA9564 i2c controller
11781.985Snonakadefine	pca9564
11791.985Snonakafile	dev/ic/pca9564.c		pca9564
11801.985Snonaka
11811.1187Sbouyer# Synopsys DesignWare I2C controller
11821.1187Sbouyerdefine	dwiic
11831.1316Sthorpejdevice	dwiic: dwiic, i2cbus
11841.1187Sbouyerfile	dev/ic/dwiic.c			dwiic
11851.1187Sbouyer
11861.1303Sjmcneill# Cadence I2C controller
11871.1303Sjmcneilldefine	cdnsiic
11881.1303Sjmcneilldevice	cdnsiic: i2cbus
11891.1303Sjmcneillfile	dev/ic/cdnsiic.c		cdnsiic
11901.1303Sjmcneill
11911.784Sdrochner# ACPI power management timer (hardware access, independent of ACPI)
11921.784Sdrochner#
11931.784Sdrochnerdefine acpipmtimer
11941.784Sdrochnerfile	dev/ic/acpipmtimer.c	acpipmtimer
11951.784Sdrochner
11961.834Snjolydevice 	hpet
11971.834Snjolyfile 	dev/ic/hpet.c		hpet			needs-flag
11981.834Snjoly
11991.952Skiyohara# SMSC LAN9118 Family Ethernet Controller
12001.952Skiyohara#
12011.965Skiyoharadevice	smsh: arp, ether, ifnet, mii
12021.952Skiyoharafile	dev/ic/lan9118.c		smsh
12031.952Skiyohara
12041.1088Sriastrad# Apple System Management Controller
12051.1088Sriastrad#
12061.1089Sriastraddefine	applesmcbus	{ }
12071.1090Sriastraddevice	applesmc: applesmcbus
12081.1088Sriastradfile	dev/ic/apple_smc.c		applesmc
12091.1088Sriastrad
12101.1088Sriastrad# Apple SMC fan sensors and control
12111.1090Sriastraddevice	applesmcfan: applesmcbus, sysmon_envsys
12121.1090Sriastradattach	applesmcfan at applesmcbus with apple_smc_fan
12131.1088Sriastradfile	dev/ic/apple_smc_fan.c		applesmcfan
12141.1088Sriastrad
12151.1088Sriastrad# Apple SMC temperature sensors
12161.1090Sriastraddevice	applesmctemp: applesmcbus, sysmon_envsys
12171.1090Sriastradattach	applesmctemp at applesmcbus with apple_smc_temp
12181.1088Sriastradfile	dev/ic/apple_smc_temp.c		applesmctemp
12191.1088Sriastrad
12201.1089Sriastrad# Apple SMC accelerometer (not yet implemented!)
12211.1090Sriastrad#device	applesmcaccel: applesmcbus, sysmon_envsys
12221.1090Sriastrad#attach	applesmcaccel at applesmcbus with apple_smc_accel
12231.1088Sriastrad#file	dev/ic/apple_smc_accel.c	applesmcaccel
12241.1088Sriastrad
12251.836Sdrochner# DRM - Direct Rendering Infrastructure: dev/drm
12261.836Sdrochnerdefine drm {}
12271.949Smrginclude "external/bsd/drm/conf/files.drm"
12281.1002Sjmcneillinclude "dev/drm/files.drm"
12291.836Sdrochner
12301.1153Sskrll# Linux API support
12311.1153Sskrllinclude "external/bsd/common/conf/files.linux"
12321.1153Sskrll
12331.1086Sriastrad# DRM/KMS - Newer direct rendering manager with kernel mode-switching
12341.1086Sriastradinclude "external/bsd/drm2/drm/files.drmkms"
12351.1086Sriastrad
12361.1039Schristos
12371.179Sdrochner# Definitions for wscons
12381.179Sdrochner# device attributes: display, display with emulator, keyboard, and mouse
12391.473Slukem#
12401.479Saugustssdefine	wsdisplaydev		{[kbdmux = 1]}
12411.479Saugustssdefine	wsemuldisplaydev	{[console = -1], [kbdmux = 1]}
12421.479Saugustssdefine	wskbddev		{[console = -1], [mux = 1]}
12431.479Saugustssdefine	wsmousedev		{[mux = 0]}
12441.1176Snatdefine	wsbelldev		{[console = -1], [mux = 1]}
12451.761Smacallandefine	vcons
12461.179Sdrochner# attribute to pull in raster support
12471.473Slukem#
12481.179Sdrochnerdefine	wsrasteremulops
12491.187Sdrochner# common PC display functions
12501.473Slukem#
12511.474Slukemdefflag	opt_pcdisplay.h		PCDISPLAY_SOFTCURSOR
12521.426Slukemdefine	pcdisplayops
12531.187Sdrochnerfile	dev/ic/pcdisplay_subr.c	pcdisplayops
12541.207Sdrochnerfile	dev/ic/pcdisplay_chars.c	pcdisplayops
12551.777Smartin# an attribute used by arch specific config files to include /dev/fb* (or
12561.777Smartin# equivalent) support - on most archs this is just a NOP (untill, maybe
12571.777Smartin# someday when we might make /dev/fb* support MI)
12581.777Smartindefine	fb
12591.179Sdrochner# VGA graphics
12601.473Slukem#
12611.541Sdrochnerdefparam opt_vga.h		VGA_CONSOLE_SCREENTYPE
12621.538Sdrochnerdefflag opt_vga.h 		VGA_CONSOLE_ATI_BROKEN_FONTSEL
12631.572Sjunyoungdefflag opt_vga.h		VGA_RASTERCONSOLE
12641.593Stsutsuidefflag opt_vga.h		VGA_RESET
12651.876Sjmcneilldevice	vga: displaydev, wsemuldisplaydev, pcdisplayops, drm
12661.572Sjunyoungfile	dev/ic/vga.c		vga & !vga_rasterconsole	needs-flag
12671.572Sjunyoungfile	dev/ic/vga_raster.c	vga_rasterconsole		needs-flag
12681.572Sjunyoungfile	dev/ic/vga_subr.c	vga | vga_rasterconsole
12691.572Sjunyoungfile	dev/ic/vga_common.c	vga | vga_rasterconsole
12701.998Smacallan
12711.508Suwe# Integraphics Systems IGA168x and CyberPro framebuffers (linear non-VGA mode)
12721.473Slukem#
12731.1042Smacallandevice	igsfb: wsemuldisplaydev, rasops8, vcons, videomode
12741.615Suwefile	dev/ic/igsfb.c			igsfb			needs-flag
12751.551Suwefile	dev/ic/igsfb_subr.c		igsfb
12761.91Scgd
12771.1169Smacallandevice	chipsfb: wsemuldisplaydev, rasops8, vcons, videomode, glyphcache
12781.998Smacallanfile	dev/ic/ct65550.c		chipsfb
12791.998Smacallandefflag	opt_chipsfb.h	CHIPSFB_DEBUG
12801.998Smacallandefflag	opt_chipsfb.h	CHIPSFB_WAIT
12811.998Smacallan
12821.683Sjkunz# STI (hp graphics)
12831.683Sjkunzdevice	sti: wsemuldisplaydev
12841.1005Stsutsuifile	dev/ic/sti.c		sti
12851.683Sjkunz
12861.892Sdrochnerinclude "dev/wscons/files.wscons"
12871.892Sdrochnerinclude "dev/rasops/files.rasops"
12881.892Sdrochnerinclude "dev/wsfont/files.wsfont"
12891.892Sdrochnerinclude "dev/wsfb/files.wsfb"
12901.892Sdrochner
12911.77Scgd# Attributes which machine-independent bus support can be attached to.
12921.77Scgd# These should be defined here, because some of these busses can have
12931.77Scgd# devices which provide these attributes, and we'd like to avoid hairy
12941.77Scgd# ordering constraints on inclusion of the busses' "files" files.
12951.473Slukem#
12961.474Slukemdefine	isabus	{ }			# ISA attachment
12971.474Slukemdefine	eisabus	{ }			# EISA attachment
12981.474Slukemdefine	pcibus	{[bus = -1]}		# PCI attachment
12991.474Slukemdefine	mcabus	{ }			# MicroChannel attachment
13001.474Slukemdefine	usbus	{ }			# USB attachment
13011.724Skiyoharadefine	fwbus	{ }			# IEEE 1394 attachment
13021.474Slukemdefine	vmebus	{ }			# VME bus attachment
13031.474Slukemdefine	acpibus	{ }			# ACPI "bus" attachment
13041.259Spkdefine	pcmciabus { [controller = -1], [socket = -1]}	# PCMCIA bus attachment
13051.909Sdrochnerdefine	cbbus	{ }			# CardBus attachment
13061.909Sdrochnerdefine	pcmciaslot { }			# PCMCIA slot itself
13071.945Snonakadefine	sdmmcbus { }			# SD/MMC attachment
13081.222Saugustss
13091.222Saugustss# We need the USB bus controllers here so different busses can
13101.222Saugustss# use them in an 'attach-with'.
13111.473Slukem#
13121.703Sfvdl
13131.890Sdrochnerdefine	usbroothub
13141.1155Sskrllfile	dev/usb/usbroothub.c	usbroothub
13151.890Sdrochner
13161.1005Stsutsuidefine	usb_dma
13171.1005Stsutsui
13181.1075Sjakllsch# UHCI USB controller
13191.1075Sjakllsch#
13201.1005Stsutsuidevice	uhci: usbus, usbroothub, usb_dma
13211.426Slukemfile	dev/usb/uhci.c			uhci			needs-flag
13221.222Saugustss
13231.222Saugustss# OHCI USB controller
13241.473Slukem#
13251.1005Stsutsuidevice	ohci: usbus, usbroothub, usb_dma
13261.426Slukemfile	dev/usb/ohci.c			ohci			needs-flag
13271.412Saugustss
13281.1057Smatt# EHCI USB2 controller
13291.473Slukem#
13301.1005Stsutsuidevice	ehci: usbus, usbroothub, usb_dma
13311.426Slukemfile	dev/usb/ehci.c			ehci			needs-flag
13321.545Sisaki
13331.1075Sjakllsch# xHCI USB3 controller
13341.1057Smatt#
13351.1057Smattdevice	xhci: usbus, usbroothub, usb_dma
13361.1057Smattfile	dev/usb/xhci.c			xhci			needs-flag
13371.1057Smatt
13381.1239Smaxv# vHCI USB controller
13391.1239Smaxv#
13401.1239Smaxvdefpseudodev vhci: usbus, usbroothub
13411.1239Smaxvfile	dev/usb/vhci.c			vhci			needs-flag
13421.1239Smaxv
13431.1094Sbouyer# Mentor graphics OTG IP
13441.1155Sskrlldevice	motg: usbus, usbroothub
13451.1094Sbouyerfile	dev/usb/motg.c			motg			needs-flag
13461.1094Sbouyer
13471.545Sisaki# SL811HS/T USB controller
13481.1156Sskrlldefflag	opt_slhci.h	SLHCI_TRY_LSVH SLHCI_PROFILE_TRANSFER
13491.893Sisakidevice	slhci: usbus, usbroothub
13501.545Sisakifile	dev/ic/sl811hs.c		slhci			needs-flag
13511.579Smartin
13521.1062Sskrll# DesignWare OTG host controller
13531.1062Sskrll#
13541.1080Sskrllinclude "external/bsd/dwc2/conf/files.dwc2"
13551.1080Sskrll
13561.945Snonaka# SD Host controller
13571.1087Snonakadevice	sdhc: sdmmcbus
13581.945Snonakafile	dev/sdmmc/sdhc.c		sdhc			needs-flag
13591.945Snonaka
13601.958Sjmcneill# Winbond Integrated Media Reader
13611.958Sjmcneilldevice	wb: sdmmcbus
13621.958Sjmcneillfile	dev/ic/w83l518d.c		wb
13631.958Sjmcneillfile	dev/ic/w83l518d_sdmmc.c		wb
13641.958Sjmcneill
13651.1087Snonaka# Realtek RTS5209/RTS5229 Card Reader
13661.1087Snonakadevice	rtsx: sdmmcbus
13671.1087Snonakafile	dev/ic/rtsx.c			rtsx
13681.1087Snonaka
13691.1122Sjmcneill# DesignWare SD/MMC host controller
13701.1122Sjmcneilldefflag	opt_dwc_mmc.h	DWC_MMC_DEBUG
13711.1122Sjmcneilldevice	dwcmmc: sdmmcbus
13721.1122Sjmcneillfile	dev/ic/dwc_mmc.c		dwcmmc
13731.1122Sjmcneill
13741.1175Sjmcneill# ARM PrimeCell PL031 (RTC) real time clock
13751.1175Sjmcneilldevice	plrtc
13761.1175Sjmcneillfile	dev/ic/pl031.c			plrtc
13771.1175Sjmcneill
13781.1174Sjmcneill# ARM PrimeCell PL041 (AACI) Advanced Audio CODEC interface
13791.1174Sjmcneilldevice	aaci: audiobus, auconv, aurateconv, mulaw, ac97
13801.1174Sjmcneillfile	dev/ic/pl041.c			aaci
13811.1174Sjmcneill
13821.1173Sjmcneill# ARM PrimeCell PL050 (KMI) PS2 keyboard/mouse interface
13831.1173Sjmcneilldevice	plkmi: pckbport
13841.1173Sjmcneillfile	dev/ic/pl050.c			plkmi
13851.1173Sjmcneill
13861.1214Sjmcneill# ARM PrimeCell PL061 (GPIO) general purpose input/output
13871.1214Sjmcneilldevice	plgpio: gpiobus
13881.1214Sjmcneillfile	dev/ic/pl061.c			plgpio
13891.1214Sjmcneill
13901.1127Sskrll# ARM PrimeCell PL181 (MMCI) host controller
13911.1127Sskrlldevice	plmmc: sdmmcbus
13921.1127Sskrllfile	dev/ic/pl181.c			plmmc
13931.1127Sskrll
13941.1296Smanu# Intel GPIO
13951.1296Smanudevice	igpio: gpiobus
13961.1296Smanufile	dev/ic/igpio.c			igpio
13971.1296Smanu
13981.579Smartin# Myson MTD803 3-in-1 Fast Ethernet Controller
13991.579Smartindevice	mtd: arp, ether, ifnet, mii
14001.579Smartinfile	dev/ic/mtd803.c			mtd
14011.369Smatt
14021.487Saugustss# radio devices, attaches to radio hardware driver
14031.487Saugustssdevice	radio
14041.489Sdrochnerattach	radio at radiodev
14051.498Sjmc
14061.402Smatt# IEEE 1394 controllers
14071.402Smatt# (These need to be here since it will have both PCI and CardBus attachments)
14081.473Slukem#
14091.369Smattdevice	fwohci: fwbus
14101.520Saugustss
14111.520Saugustss# Sony Programmable I/O Controller
14121.520Saugustssdevice	spic: wsmousedev
14131.520Saugustssfile	dev/ic/spic.c			spic
14141.529Saugustss
14151.529Saugustss# IBM CPC700 PowerPC bridge
14161.529Saugustssdefine	cpcbus { addr, [irq=-1] }
14171.529Saugustssdevice	cpc: cpcbus, pcibus
14181.529Saugustssfile	dev/ic/cpc700.c			cpc
14191.529Saugustss
14201.529Saugustssattach	com at cpcbus with com_cpcbus
14211.529Saugustssfile	dev/ic/com_cpcbus.c		com_cpcbus
14221.529Saugustss
14231.529Saugustssdevice	cpctim
14241.529Saugustssattach	cpctim at cpcbus
14251.529Saugustssfile	dev/ic/timer_cpcbus.c		cpctim
14261.529Saugustss
14271.530Saugustssdevice	cpciic
14281.530Saugustssattach	cpciic at cpcbus with iic_cpcbus
14291.529Saugustssfile	dev/ic/iic_cpcbus.c		iic_cpcbus
14301.529Saugustss
14311.60Scgd
14321.934Smacallan# Broadcom AirForce / Apple Airport Extreme
14331.934Smacallandevice	bwi: arp, ifnet, firmload, wlan
14341.934Smacallanfile	dev/ic/bwi.c			bwi
14351.934Smacallan
14361.995Sahoka# DM9000 Ethernet controllers
14371.995Sahoka#
14381.1262Snisimuradevice	dme: arp, ether, ifnet, mii
14391.995Sahokafile	dev/ic/dm9000.c			dme
14401.995Sahoka
14411.1158Snonaka# NVM Express Controller
14421.1158Snonaka#
14431.1158Snonakadevice	nvme {nsid = -1}
14441.1158Snonakafile	dev/ic/nvme.c			nvme
14451.1158Snonaka
14461.1158Snonakaattach	ld at nvme with ld_nvme
14471.1158Snonakafile	dev/ic/ld_nvme.c		ld_nvme
14481.1158Snonaka
14491.1183Sjmcneill# Broadcom FullMAC 802.11 driver
14501.1298Srjsdevice	bwfm: arp, ifnet, wlan, firmload
14511.1183Sjmcneillfile	dev/ic/bwfm.c			bwfm
14521.1183Sjmcneill
14531.1185Sjmcneill# QEMU Firmware Configuration (fw_cfg) device
14541.1185Sjmcneilldevice	qemufwcfg
14551.1185Sjmcneillfile	dev/ic/qemufwcfg.c		qemufwcfg
14561.1185Sjmcneill
14571.1215Sjakllsch# AMD Cryptographic Coprocessor
14581.1215Sjakllschdevice	amdccp
14591.1215Sjakllschfile	dev/ic/amdccp.c			amdccp
14601.1215Sjakllsch
14611.1314Sjmcneill# System Control and Management Interface (SCMI)
14621.1314Sjmcneillfile	dev/ic/scmi.c			scmi
14631.1314Sjmcneill
14641.60Scgd# legitimate pseudo-devices
14651.473Slukem#
14661.907Sdrochnerdefpseudodev vnd:	disk
14671.726Shubertfdefflag opt_vnd.h	VND_COMPRESSION
14681.474Slukemdefpseudo ccd:		disk
14691.1271Sriastraddefpseudodev cgd:	disk, des, blowfish, cast128, aes, adiantum
14701.907Sdrochnerdefpseudodev md:	disk
14711.916Shannkendefpseudodev fss:	disk
14721.298Sthorpej
14731.474Slukemdefpseudo pty:		tty
14741.298Sthorpejdefpseudo rnd
14751.610Sraggedefpseudo ksyms
14761.642Scdidefpseudo nullcons
14771.807Saddefpseudo lockstat
14781.839Sbouyerdefpseudo bio:		sysmon_envsys
14791.298Sthorpej
14801.474Slukemdefpseudo loop:		ifnet
14811.474Slukemdefpseudo sl:		ifnet
14821.474Slukemdefpseudo ppp:		ifnet, bpf_filter
14831.474Slukemdefpseudo pppoe:	ifnet, ether, sppp
14841.474Slukemdefpseudo tun:		ifnet
14851.474Slukemdefpseudo vlan:		ifnet, ether
14861.474Slukemdefpseudo bridge:	ifnet, ether
14871.1276Sroydefpseudo vether:	ifnet, ether
14881.474Slukemdefpseudo bpfilter:	ifnet, bpf_filter
14891.474Slukemdefpseudo gre:		ifnet
14901.474Slukemdefpseudo gif:		ifnet
14911.474Slukemdefpseudo faith:	ifnet
14921.1161Schristosdefpseudo mpls:		ifnet
14931.826Smousedefpseudo srt:		ifnet
14941.474Slukemdefpseudo stf:		ifnet
14951.969Spookadefpseudodev tap:	ifnet, ether, arp
14961.969Spookadefpseudo carp:		ifnet, ether, arp
14971.1170Sknakahardefpseudodev l2tp:	ifnet, ether, arp
14981.1172Sbouyerdefpseudo canloop:	ifnet
14991.1191Sknakahardefpseudo ipsecif:	ifnet		# avoid to confuse ipsec itself option
15001.1275Sriastraddefpseudo wg:		ifnet, blake2s, libsodium
15011.1283Syamaguchdefpseudo lagg:		ifnet, ether
15021.60Scgd
15031.298Sthorpejdefpseudo sequencer
15041.462Smanudefpseudo clockctl
15051.228Saugustss
15061.912Stls#
15071.912Stls# Accept filters.  XXX should use another registration/initialization method.
15081.912Stls#
15091.912Stlsdefpseudo accf_data
15101.912Stlsdefpseudo accf_http
15111.912Stls
15121.539Sthorpej# KTTCP network throughput testing pseudo-device
15131.539Sthorpejdefpseudo kttcp
15141.539Sthorpejfile	dev/kttcp.c			kttcp		needs-flag
15151.576Sblymn
15161.790Selad# Veriexec
15171.717Sblymndefpseudo veriexec
15181.1128Smaxvfile	kern/kern_veriexec.c	veriexec
15191.1152Smaxvfile	dev/veriexec.c		veriexec	needs-flag
15201.415Smartin
15211.681Sdrochner# driver attach / detach user interface
15221.681Sdrochnerdefpseudo drvctl
15231.906Sjmcneillfile	kern/kern_drvctl.c		drvctl		needs-flag
15241.681Sdrochner
15251.857Sad# cpu control
15261.857Saddefpseudo cpuctl
15271.1037Sdrochnerdefflag				CPU_UCODE: firmload
15281.857Sad
15291.870Spooka# pass-to-userspace transporter
15301.870Spookadefpseudo putter
15311.873Spookafile	dev/putter/putter.c		putter
15321.870Spooka
15331.875Spooka# userspace block/char device drivers
15341.875Spookadefpseudo pud
15351.875Spookafile	dev/pud/pud.c			pud
15361.875Spookafile	dev/pud/pud_dev.c		pud
15371.875Spooka
15381.931Shaad# device-mapper driver for LVM
15391.931Shaadinclude "dev/dm/files.dm"
15401.931Shaad
15411.1180Sjmcneill# LED framework
15421.1180Sjmcneillfile	dev/led.c			leds
15431.1180Sjmcneill
15441.1220Smlelstv# IPMI
15451.1220Smlelstvdevice	ipmi: sysmon_envsys, sysmon_wdog
15461.1220Smlelstvattach	ipmi at ipmibus
15471.1220Smlelstv
15481.1228Sjmcneill# Designware HDMI TX
15491.1267Shkenkendevice	dwhdmi: edid, videomode, drmkms, drmkms_i2c, ddc_read_edid
15501.1228Sjmcneillfile	dev/ic/dw_hdmi.c		dwhdmi
15511.1242Sjmcneillfile	dev/ic/dw_hdmi_phy.c		dwhdmi
15521.1299Sriastradmakeoptions	dwhdmi	"CPPFLAGS.dwhdmi"+="${CPPFLAGS.drmkms}"
15531.1228Sjmcneill
15541.1247Sjakllsch# Analogix DisplayPort
15551.1247Sjakllschdevice	anxdp: edid, videomode, drmkms, drmkms_i2c
15561.1247Sjakllschfile	dev/ic/anx_dp.c			anxdp
15571.1299Sriastradmakeoptions	anxdp	"CPPFLAGS.anxdp"+="${CPPFLAGS.drmkms}"
15581.1247Sjakllsch
15591.1256Sjmcneill# Broadcom GENET v5 ethernet
15601.1256Sjmcneilldevice	genet: arp, ether, ifnet, mii
15611.1256Sjmcneillfile	dev/ic/bcmgenet.c		genet
15621.1256Sjmcneill
15631.1277Sryo# VMware Tools driver
15641.1277Sryoinclude "dev/vmt/files.vmt"
15651.1277Sryo
15661.516Sthorpej#
15671.516Sthorpej# File systems
15681.516Sthorpej#
15691.696Sjdolecekinclude "coda/files.coda"
15701.583Sjdolecekinclude "fs/adosfs/files.adosfs"
15711.696Sjdolecekinclude "fs/cd9660/files.cd9660"
15721.848Srumbleinclude "fs/efs/files.efs"
15731.584Sjdolecekinclude "fs/filecorefs/files.filecorefs"
15741.833Sdilloinclude "fs/hfs/files.hfs"
15751.696Sjdolecekinclude "fs/msdosfs/files.msdosfs"
15761.950Sreinoudinclude "fs/nilfs/files.nilfs"
15771.696Sjdolecekinclude "fs/ntfs/files.ntfs"
15781.696Sjdolecekinclude "fs/ptyfs/files.ptyfs"
15791.815Spookainclude "fs/puffs/files.puffs"
15801.756Sreinoudinclude "fs/udf/files.udf"
15811.750Stsutsuiinclude "fs/sysvbfs/files.sysvbfs"
15821.730Sjmmvinclude "fs/tmpfs/files.tmpfs"
15831.696Sjdolecekinclude "fs/union/files.union"
15841.1018Suchinclude "fs/v7fs/files.v7fs"
15851.1190Schristosinclude "fs/autofs/files.autofs"
15861.516Sthorpejinclude "miscfs/fdesc/files.fdesc"
15871.516Sthorpejinclude "miscfs/kernfs/files.kernfs"
15881.516Sthorpejinclude "miscfs/nullfs/files.nullfs"
15891.516Sthorpejinclude "miscfs/overlay/files.overlay"
15901.516Sthorpejinclude "miscfs/procfs/files.procfs"
15911.516Sthorpejinclude "miscfs/umapfs/files.umapfs"
15921.516Sthorpejinclude "nfs/files.nfs"
15931.516Sthorpejinclude "ufs/files.ufs"
15941.1168Spgoyetteinclude "fs/nfs/files.newnfs"
15951.516Sthorpej
15961.516Sthorpej#
15971.1013Smrg# UVM (virtual memory)
15981.1012Smrg#
15991.1013Smrginclude "uvm/files.uvm"
16001.1012Smrg
16011.1012Smrg#
16021.811Selad# Security models
16031.811Selad#
16041.811Seladinclude "secmodel/files.secmodel"
16051.811Selad
16061.1120Suebayasiinclude "kern/files.kern"
16071.979Suebayasi
16081.1135Suebayasiinclude "dev/files.dev"
16091.1135Suebayasi
16101.1119Suebayasiinclude "net/files.net"
16111.493Sjdolecek
16121.493Sjdolecek# Game adapter (joystick)
16131.493Sjdolecekdevice	joy
16141.493Sjdolecekfile	dev/ic/joy.c			joy needs-flag
16151.582Shaya
16161.734Sjmcneill#
16171.734Sjmcneill# General Purpose Input/Output framework
16181.734Sjmcneill#
16191.769Srizdefine	onewire_bitbang
16201.734Sjmcneillinclude	"dev/gpio/files.gpio"
16211.769Sriz
16221.769Srizinclude "dev/onewire/files.onewire"
16231.872Sjmcneill
16241.872Sjmcneill#
16251.872Sjmcneill# Pseudo audio device
16261.872Sjmcneill#
16271.872Sjmcneillinclude "dev/pad/files.pad"
16281.877Sjoerg
16291.877Sjoerg#
16301.877Sjoerg# Intel 386 Real Mode emulator
16311.877Sjoerg#
16321.877Sjoerginclude "lib/libx86emu/files.x86emu"
16331.882Syamt
16341.882Syamt#
16351.882Syamt# "tprof" profiler.
16361.882Syamt#
16371.882Syamtinclude	"dev/tprof/files.tprof"
16381.944Sjmcneill
16391.944Sjmcneill#
16401.1216Smaxv# NetBSD Virtual Machine Monitor.
16411.1216Smaxv#
16421.1216Smaxvinclude	"dev/nvmm/files.nvmm"
16431.1216Smaxv
16441.1216Smaxv#
16451.944Sjmcneill# alternate memory device
16461.944Sjmcneill#
16471.944Sjmcneillinclude "dev/altmem/files.altmem"
16481.1003Sahoka
16491.1003Sahoka#
16501.1003Sahoka# Flash subsystem
16511.1003Sahoka#
16521.1003Sahokainclude "dev/flash/files.flash"
16531.1003Sahoka
16541.1003Sahoka#
16551.1292Smsaitoh# NAND subsystem
16561.1003Sahoka#
16571.1003Sahokainclude "dev/nand/files.nand"
16581.1003Sahoka
16591.1019Sjmcneill#
16601.1292Smsaitoh# NOR subsystem
16611.1020Scliff#
16621.1020Scliffinclude "dev/nor/files.nor"
16631.1031Sriz
16641.1031Sriz#
16651.1031Sriz# iscsi
16661.1031Sriz#
16671.1031Srizinclude "dev/iscsi/files.iscsi"
16681.1066Schristos
16691.1115Suebayasi#
16701.1115Suebayasi# athn
16711.1115Suebayasi#
16721.1115Suebayasiinclude "dev/ic/files.athn"
16731.1151Sjmcneill
16741.1151Sjmcneill#
16751.1151Sjmcneill# MI clk api
16761.1151Sjmcneill#
16771.1151Sjmcneillinclude "dev/clk/files.clk"
16781.1189Sskrll
16791.1189Sskrll#
16801.1310Sthorpej# Goldfish virtual devices
16811.1310Sthorpej#
16821.1310Sthorpejinclude "dev/goldfish/files.goldfish"
16831.1310Sthorpej
16841.1310Sthorpej#
16851.1189Sskrll# Flattened Device Tree (FDT) support
16861.1189Sskrll#
16871.1189Sskrllinclude "dev/ofw/files.ofw"
16881.1189Sskrllinclude "dev/fdt/files.fdt"
16891.1207Schristos
16901.1295Sriastrad
16911.1295Sriastrad## ACPI -- this should be dev/acpi/files.acpi, but that currently has
16921.1295Sriastrad# some MD parts.  Having this here allows conditionals on NACPICA in
16931.1295Sriastrad# acpica.h, at least.
16941.1295Sriastrad#
16951.1295Sriastradinclude "dev/acpi/acpica/files.acpica"
16961.1295Sriastrad
16971.1207Schristos#
16981.1207Schristos# Name value library
16991.1207Schristos#
17001.1207Schristosinclude "external/bsd/libnv/conf/files.libnv"
1701