files revision 1.1315
11.1315Spgoyette#	$NetBSD: files,v 1.1315 2025/03/22 00:41:20 pgoyette 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.1167Schristos# speaker devices, attaches to audio or pcppi drivers
3961.1176Snatdevice	spkr: wsbelldev
3971.1177Spgoyettefile	dev/spkr.c			spkr
3981.1167Schristos
3991.1114Suebayasiinclude "dev/files.audio"
4001.650Sbjh21
4011.1129Sjmcneill# High definition audio
4021.1129Sjmcneillinclude "dev/hdaudio/files.hdaudio"
4031.1129Sjmcneill
4041.1105Schristos# Base verbose vendor/product printing support
4051.1105Schristosfile	dev/dev_verbose.c
4061.1105Schristos
4071.915Sjmcneill# video devices, attaches to video hardware driver
4081.915Sjmcneill#
4091.915Sjmcneilldevice	video
4101.915Sjmcneillattach	video at videobus
4111.915Sjmcneill
4121.1024Sjmcneill# DTV subsystem
4131.1024Sjmcneill#
4141.1024Sjmcneillinclude "dev/dtv/files.dtv"
4151.1024Sjmcneill
4161.1130Sjmcneill# HDMI CEC
4171.1130Sjmcneill#
4181.1130Sjmcneillinclude "dev/hdmicec/files.hdmicec"
4191.1130Sjmcneill
4201.922Spgoyette# National Semiconductor LM7[89]
4211.922Spgoyette#
4221.922Spgoyette# (included here so files.i2c can define an attachment)
4231.922Spgoyette
4241.922Spgoyettedevice	lm: sysmon_envsys
4251.922Spgoyettefile	dev/ic/nslm7x.c			lm			needs-flag
4261.922Spgoyette
4271.984Spgoyette# JEDEC standard SPD EPROM
4281.984Spgoyette#
4291.984Spgoyette# (included here so files.i2c can define an attachment)
4301.984Spgoyette
4311.984Spgoyettedevice	spdmem
4321.984Spgoyettefile	dev/ic/spdmem.c			spdmem
4331.984Spgoyette
4341.1294Sthorpej# Microchip MCP23x08 / MCP23x17 general purpose input/output
4351.1294Sthorpejdevice	mcpgpio: gpiobus
4361.1294Sthorpejfile	dev/ic/mcp23xxxgpio.c		mcpgpio
4371.1294Sthorpej
4381.1231Stnn# SSD1306 or SH1106 OLED/PLED display (attaches via I2C or SPI)
4391.1231Stnndevice	ssdfb:	wsemuldisplaydev
4401.1231Stnnfile	dev/ic/ssdfb.c	ssdfb
4411.1231Stnn
4421.1291Sbrad# Sparkfun Serial motor controller (attaches via I2C or SPI)
4431.1291Sbraddevice  scmd
4441.1291Sbradfile	dev/ic/scmd.c	scmd
4451.1291Sbrad
4461.1304Sbrad# Bosch BMP280 / BME280 sensor (attaches via I2C or SPI)
4471.1304Sbraddevice  bmx280thp
4481.1304Sbradfile	dev/ic/bmx280.c	bmx280thp
4491.1304Sbrad
4501.1186Sbouyer# Generic HID support (used by USB, bluetooth and i2c)
4511.1186Sbouyerinclude "dev/hid/files.hid"
4521.1186Sbouyer
4531.635Sthorpej# I2C device support
4541.635Sthorpejinclude "dev/i2c/files.i2c"
4551.635Sthorpej
4561.1199Sjmcneill# PWM device support
4571.1199Sjmcneillinclude "dev/pwm/files.pwm"
4581.1199Sjmcneill
4591.813Sgdamore# SPI device support
4601.813Sgdamoreinclude "dev/spi/files.spi"
4611.813Sgdamore
4621.559Sthorpej# IR device support
4631.559Sthorpejinclude	"dev/ir/files.ir"
4641.559Sthorpej
4651.651Sjdolecek# Parallel Port Bus support
4661.651Sjdolecekinclude "dev/ppbus/files.ppbus"
4671.651Sjdolecek
4681.363Sthorpej# raster operations attributes
4691.473Slukem#
4701.426Slukemdefine	rasops1
4711.426Slukemdefine	rasops2
4721.426Slukemdefine	rasops4
4731.426Slukemdefine	rasops8
4741.426Slukemdefine	rasops15
4751.426Slukemdefine	rasops16
4761.426Slukemdefine	rasops24
4771.426Slukemdefine	rasops32
4781.829Soberdefine	rasops_rotation
4791.60Scgd
4801.997Sjmcneill# image decoding support
4811.997Sjmcneillinclude "dev/stbi/files.stbi"
4821.997Sjmcneill
4831.760Sjmcneill# splash screen support
4841.760Sjmcneillinclude "dev/splash/files.splash"
4851.760Sjmcneill
4861.768Sgdamore# videomode support
4871.768Sgdamoreinclude "dev/videomode/files.videomode"
4881.768Sgdamore
4891.1253Sthorpej# net device attributes
4901.473Slukem#
4911.874Scubedefine	arcnet
4921.60Scgddefine	ether
4931.399Sonoedefine	ieee1394
4941.284Sexplorerdefine	sppp
4951.1272Sriastraddefine	wlan: aes
4961.294Sitojundefine	crypto
4971.100Sws
4981.1039Schristos# TPM
4991.1039Schristosdevice	tpm
5001.1039Schristosfile	dev/ic/tpm.c			tpm			needs-flag
5011.1039Schristos
5021.119Sis# devices ARPing IPv4 pull this in:
5031.473Slukem#
5041.119Sisdefine	arp
5051.119Sis
5061.515Sthorpej#
5071.515Sthorpej# ALTQ network traffic shaping subsystem
5081.515Sthorpej#
5091.515Sthorpejinclude "altq/files.altq"
5101.515Sthorpej
5111.404Sad# Logical disk
5121.473Slukem#
5131.404Saddevice	ld: disk
5141.426Slukemfile	dev/ld.c			ld			needs-flag
5151.513Sthorpej
5161.513Sthorpej#
5171.513Sthorpej# MII/PHY support for network devices
5181.513Sthorpej#
5191.513Sthorpejinclude "dev/mii/files.mii"
5201.375Sthorpej
5211.473Slukem#
5221.512Sthorpej# RAIDframe
5231.512Sthorpej#
5241.512Sthorpejinclude "dev/raidframe/files.raidframe"
5251.639Sgrog
5261.639Sgrog#
5271.542Sthorpej# Hardware-assisted data mover API
5281.542Sthorpej#
5291.542Sthorpejinclude "dev/dmover/files.dmover"
5301.512Sthorpej
5311.512Sthorpej#
5321.83Sthorpej# "Chipset" drivers.  These are the bus-independent routines which
5331.83Sthorpej# contain the cfdrivers.  Attachments are provided by files.<bus>
5341.473Slukem#
5351.145Schristos
5361.145Schristos# Adaptec AIC-6[32]60 ICs
5371.473Slukem#
5381.173Sthorpejdevice	aic: scsi
5391.145Schristosfile	dev/ic/aic6360.c		aic
5401.346Sthorpej
5411.346Sthorpej# SMC 93Cx6 Serial EEPROM devices
5421.473Slukem#
5431.346Sthorpejdefine	smc93cx6
5441.346Sthorpejfile	dev/ic/smc93cx6.c		smc93cx6
5451.83Sthorpej
5461.86Smycroft# Adaptec 2[789]4X, 394X, aic7770 and aic78[5678]0 SCSI controllers
5471.473Slukem#
5481.474Slukemdefparam opt_ahc.h		AHC_DEBUG
5491.474Slukemdefflag	opt_ahc.h		AHC_NO_TAGS
5501.173Sthorpejdevice	ahc: scsi
5511.345Sthorpejdefine	ahc_seeprom
5521.354Sfvdldefine	ahc_aic77xx
5531.142Senamifile	dev/ic/aic7xxx.c		ahc
5541.609Sfvdlfile	dev/ic/aic7xxx_osm.c		ahc
5551.345Sthorpejfile	dev/ic/aic7xxx_seeprom.c	ahc_seeprom
5561.354Sfvdlfile	dev/ic/aic77xx.c		ahc_aic77xx
5571.609Sfvdl
5581.609Sfvdl# Adaptec aic79xx SCSI controllers
5591.609Sfvdldefflag	opt_ahd.h		AHD_DEBUG
5601.609Sfvdldevice	ahd: scsi
5611.609Sfvdlfile	dev/ic/aic79xx.c		ahd
5621.609Sfvdlfile	dev/ic/aic79xx_osm.c		ahd
5631.318Sad
5641.318Sad# DPT EATA SCSI controllers
5651.473Slukem#
5661.318Saddevice	dpt: scsi
5671.318Sadfile	dev/ic/dpt.c			dpt
5681.355Sad
5691.355Sad# Compaq Smart ARRAY controllers
5701.473Slukem#
5711.355Saddevice	cac {unit = -1}
5721.355Sadfile	dev/ic/cac.c			cac
5731.355Sad
5741.404Sadattach	ld at cac with ld_cac
5751.404Sadfile	dev/ic/ld_cac.c			ld_cac
5761.419Sad
5771.764She# HP/Compaq Command Interface for SCSI-3 Support
5781.764She#
5791.1194Sjoergdefflag	opt_ciss.h			CISS_NO_INTERRUPT_HACK
5801.764Shedevice ciss: scsi
5811.764Shefile	dev/ic/ciss.c			ciss
5821.764She
5831.419Sad# Mylex DAC960 RAID controllers
5841.473Slukem#
5851.419Saddevice	mlx {unit = -1}
5861.419Sadfile	dev/ic/mlx.c			mlx			needs-flag
5871.419Sad
5881.419Sadattach	ld at mlx with ld_mlx
5891.419Sadfile	dev/ic/ld_mlx.c			ld_mlx
5901.521Sad
5911.521Sad# ICP-Vortex/Intel RAID controllers
5921.521Sad#
5931.521Saddevice	icp {unit = -1}
5941.521Sadfile	dev/ic/icp.c			icp			needs-flag
5951.611Sthorpejfile	dev/ic/icp_ioctl.c		icp
5961.521Sad
5971.521Sadattach	ld at icp with ld_icp
5981.521Sadfile	dev/ic/ld_icp.c			ld_icp
5991.521Sad
6001.521Saddevice	icpsp: scsi
6011.521Sadfile	dev/ic/icpsp.c			icpsp
6021.521Sadattach	icpsp at icp
6031.523Sad
6041.523Sad# Adaptec FSA RAID controllers
6051.523Sad#
6061.523Saddevice	aac {unit = -1}
6071.523Sadfile	dev/ic/aac.c			aac
6081.523Sad
6091.523Sadattach	ld at aac with ld_aac
6101.523Sadfile	dev/ic/ld_aac.c			ld_aac
6111.238Sdante
6121.238Sdante# AdvanSys 1200A, 1200B and ULTRA SCSI controllers
6131.473Slukem#
6141.238Sdantedevice	adv: scsi
6151.238Sdantefile	dev/ic/adv.c			adv
6161.428Sthorpejfile	dev/ic/advlib.c			adv
6171.428Sthorpejfile	dev/ic/advmcode.c		adv
6181.248Sdante
6191.248Sdante# AdvanSys ULTRA WIDE SCSI controllers
6201.473Slukem#
6211.248Sdantedevice	adw: scsi
6221.248Sdantefile	dev/ic/adw.c			adw
6231.194Sjonathan
6241.130Sjonathan# BusLogic MultiMaster and MultiMaster Ultra SCSI controllers
6251.130Sjonathan# (Must be declared before AHA to ensure bha probes before aha.
6261.130Sjonathan#  Probing AHA first configures bhas as aha, via their AHA
6271.130Sjonathan#  hardware-compatibility mode.)
6281.473Slukem#
6291.173Sthorpejdevice	bha: scsi
6301.142Senamifile	dev/ic/bha.c			bha
6311.130Sjonathan
6321.113Smycroft# Adaptec AHA-154x and AHA-164x controllers
6331.130Sjonathan# (must be after bha, see above)
6341.473Slukem#
6351.173Sthorpejdevice	aha: scsi
6361.142Senamifile	dev/ic/aha.c			aha
6371.445Stsutsui
6381.445Stsutsui# Initio INIC-940/950 SCSI controllers
6391.473Slukem#
6401.445Stsutsuidevice	iha: scsi
6411.445Stsutsuifile	dev/ic/iha.c			iha
6421.118Scgd
6431.118Scgd# Qlogic ISP 10x0 SCSI Controllers
6441.473Slukem#
6451.474Slukemdefflag	opt_isp.h		ISP_DISABLE_1020_SUPPORT
6461.474Slukem				ISP_DISABLE_1080_SUPPORT
6471.474Slukem				ISP_DISABLE_2100_SUPPORT
6481.474Slukem				ISP_DISABLE_2200_SUPPORT
6491.846Smjacob				ISP_DISABLE_2300_SUPPORT
6501.894Smjacob				ISP_DISABLE_2322_SUPPORT
6511.846Smjacob				ISP_DISABLE_2400_SUPPORT
6521.846Smjacob				ISP_DISABLE_FW
6531.846Smjacob				ISP_TARGET_MODE
6541.474Slukemdefparam opt_isp.h		ISP_LOGDEFAULT
6551.894Smjacob				ISP_VPORTS
6561.173Sthorpejdevice	isp: scsi
6571.142Senamifile	dev/ic/isp.c			isp
6581.846Smjacobfile	dev/ic/isp_library.c		isp
6591.223Smjacobfile	dev/ic/isp_netbsd.c		isp
6601.711Sdrochnerfile	dev/ic/isp_target.c		isp & isp_target_mode
6611.821Sbouyer# LSILogic MegaRAID SAS
6621.821Sbouyer#
6631.821Sbouyerdevice	mfi: scsi
6641.821Sbouyerfile	dev/ic/mfi.c			mfi
6651.821Sbouyer
6661.528Smatt# LSILogic Fusion-MPT I/O Processor SCSI/FC Controllers
6671.528Smatt#
6681.608Sthorpejdevice	mpt: scsi
6691.608Sthorpejfile	dev/ic/mpt.c			mpt
6701.608Sthorpejfile	dev/ic/mpt_debug.c		mpt
6711.608Sthorpejfile	dev/ic/mpt_netbsd.c		mpt
6721.605Stsutsui
6731.682Sitohy# Workbit NinjaSCSI-32 controllers
6741.682Sitohydevice	njs: scsi
6751.682Sitohyfile	dev/ic/ninjascsi32.c		njs
6761.682Sitohy
6771.605Stsutsui# Symbios/NCR 53c700 SCSI controllers
6781.605Stsutsuidevice	oosiop: scsi
6791.605Stsutsuifile	dev/ic/oosiop.c			oosiop
6801.436Stsutsui
6811.436Stsutsui# Symbios/NCR 53c710 SCSI controllers
6821.473Slukem#
6831.436Stsutsuidevice	osiop: scsi
6841.436Stsutsuifile	dev/ic/osiop.c			osiop
6851.364Sbouyer
6861.368Sbouyer# common stuff for siop and esiop
6871.473Slukem#
6881.426Slukemdefine	siop_common
6891.426Slukemfile	dev/ic/siop_common.c		siop_common
6901.368Sbouyer
6911.364Sbouyer# Symbios/NCR 53c720/53c8xx SCSI controllers
6921.473Slukem#
6931.426Slukemdevice	siop: scsi,siop_common
6941.898Sskrllfile	dev/ic/siop.c			siop & (siop_pci | siop_gedoens)
6951.517Sbouyerdefflag	opt_siop.h			SIOP_SYMLED
6961.518Sbouyer
6971.518Sbouyerdevice	esiop: scsi,siop_common
6981.518Sbouyerfile	dev/ic/esiop.c			esiop
6991.94Smycroft
7001.94Smycroft# UltraStor SCSI controllers
7011.473Slukem#
7021.173Sthorpejdevice	uha: scsi
7031.142Senamifile	dev/ic/uha.c			uha
7041.409Sonoe
7051.878Sgarbled# 3Com common probe code
7061.878Sgarbleddefine  elink
7071.878Sgarbledfile    dev/isa/elink.c                 elink
7081.878Sgarbled
7091.409Sonoe# Aironet PC4500/PC4800
7101.473Slukem#
7111.653Stsarnadevice	an: arp, wlan, ifnet
7121.409Sonoefile	dev/ic/an.c			an
7131.86Smycroft
7141.376Sonoe# AMD 79c930-based 802.11 cards
7151.473Slukem#
7161.376Sonoedevice	awi: arp, wlan, ifnet
7171.376Sonoefile	dev/ic/awi.c			awi
7181.376Sonoefile	dev/ic/am79c930.c		awi
7191.438Sichiro
7201.438Sichiro# Lucent & Intersil WaveLan IEEE (802.11)
7211.473Slukem#
7221.656Sjunyoungdevice	wi: arp, wlan, ifnet
7231.438Sichirofile	dev/ic/wi.c			wi
7241.617Sdyoung
7251.930Salc# Atheros HAL
7261.930Salc#
7271.930Salcinclude "external/isc/atheros_hal/conf/files.ath_hal"
7281.930Salc
7291.641Sdyoung# Atheros 5210/5211/5212 multi-mode 802.11
7301.641Sdyoung#
7311.656Sjunyoungdevice	ath: arp, wlan, ifnet
7321.1066Schristosfile	dev/ic/ath.c			ath
7331.1066Schristosfile	dev/ic/ath_netbsd.c		ath
7341.1066Schristosfile	dev/ic/athrate-sample.c		ath
7351.641Sdyoung
7361.617Sdyoung# ADMtek ADM8211 802.11
7371.617Sdyoung#
7381.656Sjunyoungdevice	atw: arp, wlan, ifnet, smc93cx6
7391.617Sdyoungfile	dev/ic/atw.c			atw
7401.376Sonoe
7411.687Sdyoung# Realtek RTL8180 802.11
7421.687Sdyoung#
7431.687Sdyoungdevice rtw: arp, wlan, ifnet, smc93cx6
7441.687Sdyoungfile	dev/ic/rtw.c			rtw
7451.687Sdyoungfile	dev/ic/rtwphy.c			rtw
7461.687Sdyoungfile	dev/ic/rtwphyio.c		rtw
7471.687Sdyoung
7481.1157Schristos# Ralink RT2500/RT2600/RT2860 802.11
7491.779Smartindevice	ral: arp, ether, ifnet, wlan, firmload
7501.778Sdogcowfile	dev/ic/rt2560.c			ral
7511.778Sdogcowfile	dev/ic/rt2661.c			ral
7521.1157Schristosfile	dev/ic/rt2860.c			ral
7531.722Sdrochner
7541.1053Sdegroote# Marvell Libertas Open
7551.1053Sdegrootedevice  malo: arp, ether, ifnet, wlan, firmload
7561.1053Sdegrootefile    dev/ic/malo.c           malo
7571.1053Sdegroote
7581.83Sthorpej# 3Com Etherlink-III Ethernet controller
7591.473Slukem#
7601.333Sthorpejdevice	ep: arp, ether, ifnet, mii, mii_bitbang
7611.142Senamifile	dev/ic/elink3.c			ep
7621.253Sfvdl
7631.253Sfvdl# 3Com EtherLink XL Controller
7641.473Slukem#
7651.331Sthorpejdevice	ex: arp, ether, ifnet, mii, mii_bitbang
7661.253Sfvdlfile	dev/ic/elinkxl.c		ex
7671.131Smatt
7681.131Smatt# DEC EtherWORKS III (LEMAC) Ethernet controllers
7691.473Slukem#
7701.173Sthorpejdevice	lc: arp, ether, ifnet
7711.142Senamifile	dev/ic/lemac.c			lc
7721.84Smycroft
7731.84Smycroft# LANCE and PCnet Ethernet controllers
7741.473Slukem#
7751.173Sthorpejdevice	le: arp, ether, ifnet
7761.426Slukemdefine	le24
7771.426Slukemdefine	le32
7781.227Sexplorerfile	dev/ic/am7990.c			le24
7791.225Sdrochnerfile	dev/ic/am79900.c		le32
7801.225Sdrochnerfile	dev/ic/lance.c			le24 | le32
7811.383Sthorpej
7821.383Sthorpej# DEC DEPCA-family of LANCE Ethernet controllers
7831.473Slukem#
7841.383Sthorpejdevice	depca { }: le24
7851.383Sthorpejfile	dev/ic/depca.c			depca
7861.383Sthorpejattach	le at depca with le_depca
7871.122Sscottr
7881.290Smrg# Sun HME Ethernet controllers
7891.473Slukem#
7901.293Spkdevice	hme: arp, ether, ifnet, mii
7911.293Spkfile	dev/ic/hme.c			hme
7921.461Seeh
7931.461Seeh# Sun GEM Ethernet controllers
7941.473Slukem#
7951.461Seehdevice	gem: arp, ether, ifnet, mii
7961.461Seehfile	dev/ic/gem.c			gem
7971.290Smrg
7981.1293Sjmcneill# Synopsys DesignWare GMAC core, as found on allwinner a20
7991.1103Smartin# and other SoCs
8001.1103Smartindevice	awge: arp, ether, ifnet, mii
8011.1103Smartinfile	dev/ic/dwc_gmac.c		awge
8021.1103Smartin
8031.1293Sjmcneill# Synopsys DesignWare Ethernet Quality-of-Service controller
8041.1293Sjmcneilldevice	eqos: arp, ether, ifnet, mii
8051.1293Sjmcneillfile	dev/ic/dwc_eqos.c		eqos
8061.1293Sjmcneill
8071.1307Sjmcneill# Synopsys DesignWare Watchdog
8081.1307Sjmcneilldevice	dwcwdt: sysmon_wdog
8091.1307Sjmcneillfile	dev/ic/dwc_wdt.c		dwcwdt
8101.1307Sjmcneill
8111.122Sscottr# 8390-family Ethernet controllers
8121.473Slukem#
8131.122Sscottrdefine	dp8390nic
8141.1202Smartinfile	dev/ic/dp8390.c			dp8390nic
8151.485Sbjh21
8161.485Sbjh21# National Semiconductor DP83905 AT/LANTIC Ethernet media support
8171.485Sbjh21#
8181.485Sbjh21define	dp83905
8191.485Sbjh21file	dev/ic/dp83905.c		dp83905
8201.484Sbjh21
8211.484Sbjh21# Macronix MX98905 Ethernet controller
8221.484Sbjh21# (use as an attribute for an "ne" bus attachment)
8231.484Sbjh21#
8241.484Sbjh21define	mx98905
8251.484Sbjh21file	dev/ic/mx98905.c		mx98905
8261.77Scgd
8271.91Scgd# NCR 5380 SCSI Bus Controller
8281.473Slukem#
8291.91Scgddefine	ncr5380sbc
8301.142Senamifile	dev/ic/ncr5380sbc.c		ncr5380sbc
8311.356Spkdevice	nca: scsi, ncr5380sbc
8321.91Scgd
8331.434Sfredette# Sun sc PAL SCSI Bus Controller
8341.473Slukem#
8351.434Sfredettedefine	sunscpal
8361.434Sfredettefile	dev/ic/sunscpal.c		sunscpal
8371.434Sfredettedevice	ssc: scsi, sunscpal
8381.434Sfredette
8391.474Slukem# Cyclades Cyclom-8/16/32
8401.473Slukem#
8411.173Sthorpejdevice	cy: tty
8421.142Senamifile	dev/ic/cy.c			cy			needs-flag
8431.103Sthorpej
8441.117Sthorpej# NCR 53x9x or Emulex ESP SCSI Controller
8451.473Slukem#
8461.117Sthorpejdefine	ncr53c9x
8471.359Smycroftdevice	esp: scsi, ncr53c9x
8481.142Senamifile	dev/ic/ncr53c9x.c		ncr53c9x
8491.227Sexplorer
8501.679Smycroft# Fujitsu MB87030/MB89352 SCSI Protocol Controller
8511.679Smycroftdevice	spc: scsi
8521.679Smycroftfile	dev/ic/mb89352.c		spc
8531.679Smycroft
8541.796Sbjh21# Western Digital WD33C93/WD33C93A SCSI Bus Interface Controller
8551.796Sbjh21define	wd33c93
8561.796Sbjh21file	dev/ic/wd33c93.c		wd33c93
8571.796Sbjh21
8581.590Ssoren# Hitachi HD44780 LCD panel controller
8591.590Ssorendefine	hd44780
8601.590Ssorenfile	dev/ic/hd44780_subr.c		hd44780
8611.590Ssorenfile	dev/ic/lcdkp_subr.c		hd44780
8621.590Ssoren
8631.710Sjoff# Matrix keypad
8641.710Sjoffdefine	matrixkp
8651.710Sjofffile	dev/ic/matrixkp_subr.c		matrixkp
8661.710Sjoff
8671.227Sexplorer# Hitachi HD64570 serial controller
8681.473Slukem#
8691.359Smycroftdefine	hd64570
8701.227Sexplorerfile	dev/ic/hd64570.c		hd64570
8711.339Schopps
8721.339Schopps# Riscom/N2 ISA/PCI Sync Serial Controller
8731.473Slukem#
8741.339Schoppsdevice	ntwoc: ifnet, hd64570
8751.128Spk
8761.128Spk# Intel 82586 Ethernet Controller
8771.473Slukem#
8781.128Spkdefine	i82586
8791.142Senamifile	dev/ic/i82586.c			i82586
8801.291Sthorpej
8811.658Sjkunz# Intel 82596 Ethernet Controller
8821.658Sjkunz#
8831.658Sjkunzdefine	i82596
8841.658Sjkunzfile	dev/ic/i82596.c			i82596
8851.658Sjkunz
8861.291Sthorpej# Intel 82557/82558/82559 Ethernet Controller
8871.473Slukem#
8881.291Sthorpejdevice	fxp: ether, ifnet, arp, mii
8891.291Sthorpejfile	dev/ic/i82557.c			fxp
8901.389Sbjh21
8911.389Sbjh21# SEEQ 8005 Advanced Ethernet Data Link Controller
8921.473Slukem#
8931.389Sbjh21define	seeq8005
8941.389Sbjh21file	dev/ic/seeq8005.c		seeq8005
8951.137Sthorpej
8961.137Sthorpej# SMC 91Cxx Ethernet Controller
8971.473Slukem#
8981.379Sbriggsdevice	sm: arp, ether, ifnet, mii, mii_bitbang
8991.142Senamifile	dev/ic/smc91cxx.c		sm
9001.188Sthorpej
9011.188Sthorpej# SMC 83C170 EPIC/100 Fast Ethernet Controller
9021.473Slukem#
9031.230Sthorpejdevice	epic: arp, ether, ifnet, mii
9041.188Sthorpejfile	dev/ic/smc83c170.c		epic
9051.309Sragge
9061.309Sragge# DEC SGEC Second Generation Ethernet Controller
9071.473Slukem#
9081.309Sraggedefine	sgec
9091.309Sraggefile	dev/ic/sgec.c			sgec
9101.177Senami
9111.715Sjdolecek# MB86950 Ethernet Controller
9121.715Sjdolecek#
9131.715Sjdolecekdefine	mb86950
9141.715Sjdolecekfile	dev/ic/mb86950.c		mb86950
9151.715Sjdolecek
9161.177Senami# MB8696x Ethernet Controller
9171.473Slukem#
9181.177Senamidefine	mb86960
9191.177Senamifile	dev/ic/mb86960.c		mb86960
9201.177Senami
9211.177Senami# Generic MB8696x Ethernet Controller driver
9221.473Slukem#
9231.177Senamidevice	mbe: arp, ether, ifnet, mb86960
9241.146Saugustss
9251.146Saugustss# Interwave Am78C201 audio driver
9261.473Slukem#
9271.146Saugustssdefine	interwave
9281.146Saugustssfile	dev/ic/interwave.c		interwave
9291.154Sis
9301.154Sis# TMS 320av110 MPEG2/audio driver
9311.473Slukem#
9321.154Sisdefine	tms320av110
9331.154Sisfile	dev/ic/tms320av110.c		tms320av110
9341.152Sthorpej
9351.152Sthorpej# Novell NE2000-compatible Ethernet cards, based on the
9361.152Sthorpej# National Semiconductor DS8390.
9371.473Slukem#
9381.423Sthorpejdevice	ne: ether, ifnet, arp, dp8390nic, mii
9391.1202Smartinfile	dev/ic/ne2000.c			ne
9401.153Sthorpej
9411.153Sthorpej# 8250/16[45]50-based "com" ports
9421.668Sthorpej#
9431.749Schsdefflag	opt_com.h		COM_DEBUG
9441.153Sthorpej# XXX In a perfect world, this would be done with attributes
9451.1078Skiyoharadefflag	opt_com.h		COM_16650 COM_16750
9461.1218Sthorpej				COM_HAYESP COM_PXA2X0
9471.1016Smattdefparam opt_com.h		COM_TOLERANCE
9481.392Seehdevice	com { } : tty
9491.426Slukemfile	dev/ic/com.c			com			needs-flag
9501.336Sthorpej
9511.336Sthorpej# PC-like keyboard controller
9521.473Slukem#
9531.659Sbjh21device	pckbc: pckbport
9541.660Sbjh21file	dev/ic/pckbc.c			pckbc			needs-flag
9551.274Sscw
9561.714Scubedevice	attimer
9571.714Scubefile	dev/ic/attimer.c		attimer			needs-flag
9581.714Scube
9591.274Sscw# Cirrus Logic CD240[01] 4-port Multi-Protocol Communications Controller
9601.473Slukem#
9611.274Sscwdevice	clmpcc: tty
9621.426Slukemfile	dev/ic/clmpcc.c			clmpcc			needs-flag
9631.385Sbjh21
9641.843Sxtraeme# Abit uGuru
9651.843Sxtraeme#
9661.843Sxtraemedevice	ug: sysmon_envsys
9671.843Sxtraemefile	dev/ic/ug.c			ug			needs-flag
9681.843Sxtraeme
9691.242Sis# SMC 90c26, SMC 90C56 (and 90C66 if in compat mode) chip driver
9701.473Slukem#
9711.874Scubedevice	bah: ifnet, arcnet, arp
9721.426Slukemfile	dev/ic/smc90cx6.c		bah
9731.234Saugustss
9741.234Saugustss# OPL2/OPL3 FM synth driver
9751.473Slukem#
9761.235Saugustssdevice	opl: midibus, midisyn
9771.234Saugustssfile	dev/ic/opl.c			opl
9781.234Saugustssfile	dev/ic/oplinstrs.c		opl
9791.305Saugustss
9801.305Saugustss# MPU401 MIDI UART compatibles
9811.473Slukem#
9821.305Saugustssdevice	mpu: midibus
9831.426Slukemfile	dev/ic/mpu.c			mpu			needs-flag
9841.236Spk
9851.236Spk# AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers
9861.473Slukem#
9871.236Spkdefine	ad1848
9881.236Spkfile	dev/ic/ad1848.c			ad1848
9891.290Smrg
9901.290Smrg# AMD 7930 audio/ISDN codec
9911.473Slukem#
9921.366Saugustssdefine	am7930
9931.366Saugustssfile	dev/ic/am7930.c			am7930
9941.290Smrg
9951.1100Stsutsui# Siemens PSB2160 audio codec, as found in HP systems
9961.1100Stsutsuidevice	arcofi: audiobus, auconv, mulaw
9971.1100Stsutsuifile	dev/ic/arcofi.c			arcofi
9981.1100Stsutsui
9991.290Smrg# SPARC `SUNW,audiocs'
10001.473Slukem#
10011.519Saugustssdevice	audiocs: audiobus, auconv, ad1848
10021.290Smrgfile	dev/ic/cs4231.c			audiocs
10031.326Saugustss
10041.326Saugustss# AC-97 CODECs
10051.473Slukem#
10061.326Saugustssdefine	ac97
10071.326Saugustssfile	dev/ic/ac97.c			ac97
10081.437Sminoura
10091.1040Snisimura# UDA1341 CODEC support
10101.1040Snisimuradefine	uda1341
10111.1040Snisimurafile	dev/ic/uda1341.c		uda1341
10121.1040Snisimura
10131.437Sminoura# Oki MSM6258 support code
10141.473Slukem#
10151.437Sminouradefine msm6258
10161.437Sminourafile	dev/ic/msm6258.c		msm6258
10171.240Spk
10181.240Spk# LSI64854 DMA controller back-end
10191.473Slukem#
10201.240Spkdefine	lsi64854
10211.240Spkfile	dev/ic/lsi64854.c		lsi64854
10221.465Smrg
10231.465Smrg# Cirrus Logic CL-CD180/1864/1865 multi port serial controller back-end
10241.473Slukem#
10251.465Smrgdefine	cd18xx
10261.465Smrgfile	dev/ic/cd18xx.c			cd18xx
10271.240Spk
10281.654Swiz# Realtek 8019/8029 NE2000-compatible network interface subroutines
10291.473Slukem#
10301.252Sthorpejdefine	rtl80x9
10311.980Stsutsuifile	dev/ic/rtl80x9.c		rtl80x9			needs-flag
10321.360Shaya
10331.654Swiz# Realtek 8129/8139 Ethernet controllers
10341.473Slukem#
10351.362Shayadevice	rtk: ether, ifnet, arp, mii
10361.675Ssekiyafile	dev/ic/rtl81x9.c		rtk | re
10371.185Skml
10381.673Stoshii# Realtek 8169 Ethernet controllers
10391.673Stoshii#
10401.673Stoshiidevice	re: ether, ifnet, arp, mii
10411.709Syamtfile	dev/ic/rtl8169.c		re
10421.673Stoshii
10431.1200Sjakllsch# Virtual I/O Device (VIRTIO) bus controller and devices
10441.1200Sjakllsch#
10451.1200Sjakllschinclude "dev/virtio/files.virtio"
10461.1200Sjakllsch
10471.258Spk# Common code for ESDI/IDE/etc. controllers
10481.473Slukem#
10491.680Sthorpejdefine	wdc_common
10501.809Sitohydefine	ata_dma
10511.809Sitohydefine	ata_udma
10521.809Sitohydefine	ata_piobm
10531.680Sthorpejdevice	wdc: ata, wdc_common
10541.637Sbouyer
10551.1079Sjmcneilldefflag opt_ata.h	ATADEBUG
10561.1079Sjmcneilldefparam opt_ata.h	ATADEBUG_MASK
10571.1079Sjmcneilldefflag opt_wdc.h	WDC_NO_IDS
10581.835Sdyoung
10591.656Sjunyoungdevice	atabus: atapi,ata_hl
10601.656Sjunyoungattach	atabus at ata
10611.809Sitohy# The strange expression is to dump ata_* definitions to ata_dma.h.
10621.809Sitohyfile	dev/ic/wdc.c			(ata_dma | ata_udma | ata_piobm | atabus) & atabus & wdc_common	needs-flag
10631.386Sbjh21
10641.810Sitohy# Workbit NinjaATA-32 IDE controllers
10651.810Sitohydevice	njata: ata, ata_piobm, wdc_common
10661.810Sitohyfile	dev/ic/ninjaata32.c		njata
10671.810Sitohy
10681.844Sbouyer# AHCI-compatible SATA controllers
10691.1309Sabsdefflag	opt_ahcisata.h	AHCISATA_REMOVE_EXTRA_DELAY
10701.1290Srindefparam opt_ahcisata.h	AHCISATA_EXTRA_DELAY_MS
10711.844Sbouyerdefine ahcisata_core
10721.844Sbouyerfile dev/ic/ahcisata_core.c ahcisata_core
10731.1054Sbouyerdevice ahcisata: ata, ata_dma, ata_udma, sata, sata_fis, sata_pmp, ahcisata_core
10741.844Sbouyer
10751.956Sjakllsch# Silicon Image SteelVine SATA-II controllers
10761.956Sjakllschdefine	siisata
10771.956Sjakllschfile	dev/ic/siisata.c		siisata
10781.1054Sbouyerdevice	siisata: ata, ata_dma, ata_udma, sata, sata_fis, sata_pmp, siisata
10791.956Sjakllsch
10801.957Sjakllsch# Marvell Serial-ATA Host Controller
10811.951Skiyoharadefine mvsata
10821.951Skiyoharafile dev/ic/mvsata.c			mvsata
10831.1182Skredevice mvsata: ata, ata_dma, ata_udma, wdc_common, sata, sata_fis, sata_pmp, mvsata
10841.951Skiyoharadefflag opt_mvsata.h		MVSATA_WITHOUTDMA
10851.951Skiyohara
10861.314Sthorpej# DECchip 21x4x Ethernet controller family, and assorted clones.
10871.473Slukem#
10881.333Sthorpejdevice	tlp: arp, ether, ifnet, mii, mii_bitbang
10891.314Sthorpejfile	dev/ic/tulip.c			tlp
10901.322Sthorpej
10911.322Sthorpej# Adaptec AIC-6915 Ethernet interface
10921.473Slukem#
10931.322Sthorpejdevice	sf: arp, ether, ifnet, mii
10941.322Sthorpejfile	dev/ic/aic6915.c		sf
10951.378Spk
10961.378Spk# Mostek time-of-day clock and NVRAM
10971.473Slukem#
10981.378Spkdefine	mk48txx
10991.507Spkfile	dev/ic/mk48txx.c		mk48txx
11001.378Spk
11011.1061Srkujawa# OKI MSM6242B
11021.1061Srkujawa#
11031.1061Srkujawadefine	msm6242b
11041.1061Srkujawafile	dev/ic/msm6242b.c		msm6242b
11051.1061Srkujawa
11061.378Spk# Intersil 7170 time-of-day clock
11071.473Slukem#
11081.378Spkdefine	intersil7170
11091.378Spkfile	dev/ic/intersil7170.c		intersil7170
11101.434Sfredette
11111.434Sfredette# National Semiconductor MM58167 time-of-day clock
11121.473Slukem#
11131.434Sfredettedefine	mm58167
11141.434Sfredettefile	dev/ic/mm58167.c		mm58167
11151.643Stsutsui
11161.643Stsutsui# Motorola mc146818 (and compatible) time-of-day clock
11171.643Stsutsui#
11181.643Stsutsuidefine	mc146818
11191.643Stsutsuifile	dev/ic/mc146818.c		mc146818
11201.422Sthorpej
11211.808Suwe# Ricoh RS5C313 time of-day-clock
11221.808Suwe#
11231.808Suwedefine	rs5c313
11241.808Suwefile	dev/ic/rs5c313.c		rs5c313
11251.808Suwe
11261.422Sthorpej# D-Link DL10019/10022 NE2000-compatible network interface subroutines
11271.473Slukem#
11281.422Sthorpejdefine	dl10019
11291.422Sthorpejfile	dev/ic/dl10019.c		dl10019
11301.453Senami
11311.453Senami# ASIX AX88190 NE2000-compatible network interface subroutines
11321.473Slukem#
11331.453Senamidefine	ax88190
11341.453Senamifile	dev/ic/ax88190.c		ax88190
11351.429Sjdolecek
11361.429Sjdolecek# WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ
11371.473Slukem#
11381.429Sjdolecekdevice	we: ether, ifnet, arp, dp8390nic
11391.429Sjdolecekfile	dev/ic/we.c			we
11401.432Sjdolecek
11411.432Sjdolecek# Allied-Telesis Ethernet driver based on Fujitsu MB8696xA controllers
11421.473Slukem#
11431.432Sjdolecekdevice	ate: arp, ether, ifnet, mb86960
11441.557Stsutsui
11451.557Stsutsui# Fujitsu FMV-18x Ethernet driver based on Fujitsu MB8696xA controllers
11461.557Stsutsui#
11471.557Stsutsuidevice	fmv: arp, ether, ifnet, mb86960
11481.557Stsutsuifile	dev/ic/fmv.c			fmv
11491.471Syamt
11501.471Syamt# Crystal Semiconductor CS8900, CS8920, and CS8920M Ethernet
11511.473Slukem#
11521.471Syamtdevice	cs: arp, ether, ifnet
11531.704Sjoffdevice	tscs: arp, ether, ifnet
11541.704Sjofffile	dev/ic/cs89x0.c			cs | tscs
11551.487Saugustss
11561.487Saugustss# Radio device attributes
11571.487Saugustss#
11581.487Saugustssdefine	tea5757
11591.656Sjunyoungfile	dev/ic/tea5757.c		tea5757
11601.487Saugustssdefine	lm700x
11611.656Sjunyoungfile	dev/ic/lm700x.c			lm700x
11621.179Sdrochner
11631.837Stnn# Philips PCF8584 i2c controller
11641.837Stnndefine	pcf8584
11651.837Stnnfile	dev/ic/pcf8584.c		pcf8584
11661.837Stnn
11671.985Snonaka# PCA9564 i2c controller
11681.985Snonakadefine	pca9564
11691.985Snonakafile	dev/ic/pca9564.c		pca9564
11701.985Snonaka
11711.1187Sbouyer# Synopsys DesignWare I2C controller
11721.1187Sbouyerdefine	dwiic
11731.1187Sbouyerdevice dwiic: dwiic, i2cbus
11741.1187Sbouyerfile	dev/ic/dwiic.c			dwiic
11751.1187Sbouyer
11761.1303Sjmcneill# Cadence I2C controller
11771.1303Sjmcneilldefine	cdnsiic
11781.1303Sjmcneilldevice	cdnsiic: i2cbus
11791.1303Sjmcneillfile	dev/ic/cdnsiic.c		cdnsiic
11801.1303Sjmcneill
11811.784Sdrochner# ACPI power management timer (hardware access, independent of ACPI)
11821.784Sdrochner#
11831.784Sdrochnerdefine acpipmtimer
11841.784Sdrochnerfile	dev/ic/acpipmtimer.c	acpipmtimer
11851.784Sdrochner
11861.834Snjolydevice 	hpet
11871.834Snjolyfile 	dev/ic/hpet.c		hpet			needs-flag
11881.834Snjoly
11891.952Skiyohara# SMSC LAN9118 Family Ethernet Controller
11901.952Skiyohara#
11911.965Skiyoharadevice	smsh: arp, ether, ifnet, mii
11921.952Skiyoharafile	dev/ic/lan9118.c		smsh
11931.952Skiyohara
11941.1088Sriastrad# Apple System Management Controller
11951.1088Sriastrad#
11961.1089Sriastraddefine	applesmcbus	{ }
11971.1090Sriastraddevice	applesmc: applesmcbus
11981.1088Sriastradfile	dev/ic/apple_smc.c		applesmc
11991.1088Sriastrad
12001.1088Sriastrad# Apple SMC fan sensors and control
12011.1090Sriastraddevice	applesmcfan: applesmcbus, sysmon_envsys
12021.1090Sriastradattach	applesmcfan at applesmcbus with apple_smc_fan
12031.1088Sriastradfile	dev/ic/apple_smc_fan.c		applesmcfan
12041.1088Sriastrad
12051.1088Sriastrad# Apple SMC temperature sensors
12061.1090Sriastraddevice	applesmctemp: applesmcbus, sysmon_envsys
12071.1090Sriastradattach	applesmctemp at applesmcbus with apple_smc_temp
12081.1088Sriastradfile	dev/ic/apple_smc_temp.c		applesmctemp
12091.1088Sriastrad
12101.1089Sriastrad# Apple SMC accelerometer (not yet implemented!)
12111.1090Sriastrad#device	applesmcaccel: applesmcbus, sysmon_envsys
12121.1090Sriastrad#attach	applesmcaccel at applesmcbus with apple_smc_accel
12131.1088Sriastrad#file	dev/ic/apple_smc_accel.c	applesmcaccel
12141.1088Sriastrad
12151.836Sdrochner# DRM - Direct Rendering Infrastructure: dev/drm
12161.836Sdrochnerdefine drm {}
12171.949Smrginclude "external/bsd/drm/conf/files.drm"
12181.1002Sjmcneillinclude "dev/drm/files.drm"
12191.836Sdrochner
12201.1153Sskrll# Linux API support
12211.1153Sskrllinclude "external/bsd/common/conf/files.linux"
12221.1153Sskrll
12231.1086Sriastrad# DRM/KMS - Newer direct rendering manager with kernel mode-switching
12241.1086Sriastradinclude "external/bsd/drm2/drm/files.drmkms"
12251.1086Sriastrad
12261.1039Schristos
12271.179Sdrochner# Definitions for wscons
12281.179Sdrochner# device attributes: display, display with emulator, keyboard, and mouse
12291.473Slukem#
12301.479Saugustssdefine	wsdisplaydev		{[kbdmux = 1]}
12311.479Saugustssdefine	wsemuldisplaydev	{[console = -1], [kbdmux = 1]}
12321.479Saugustssdefine	wskbddev		{[console = -1], [mux = 1]}
12331.479Saugustssdefine	wsmousedev		{[mux = 0]}
12341.1176Snatdefine	wsbelldev		{[console = -1], [mux = 1]}
12351.761Smacallandefine	vcons
12361.179Sdrochner# attribute to pull in raster support
12371.473Slukem#
12381.179Sdrochnerdefine	wsrasteremulops
12391.187Sdrochner# common PC display functions
12401.473Slukem#
12411.474Slukemdefflag	opt_pcdisplay.h		PCDISPLAY_SOFTCURSOR
12421.426Slukemdefine	pcdisplayops
12431.187Sdrochnerfile	dev/ic/pcdisplay_subr.c	pcdisplayops
12441.207Sdrochnerfile	dev/ic/pcdisplay_chars.c	pcdisplayops
12451.777Smartin# an attribute used by arch specific config files to include /dev/fb* (or
12461.777Smartin# equivalent) support - on most archs this is just a NOP (untill, maybe
12471.777Smartin# someday when we might make /dev/fb* support MI)
12481.777Smartindefine	fb
12491.179Sdrochner# VGA graphics
12501.473Slukem#
12511.541Sdrochnerdefparam opt_vga.h		VGA_CONSOLE_SCREENTYPE
12521.538Sdrochnerdefflag opt_vga.h 		VGA_CONSOLE_ATI_BROKEN_FONTSEL
12531.572Sjunyoungdefflag opt_vga.h		VGA_RASTERCONSOLE
12541.593Stsutsuidefflag opt_vga.h		VGA_RESET
12551.876Sjmcneilldevice	vga: displaydev, wsemuldisplaydev, pcdisplayops, drm
12561.572Sjunyoungfile	dev/ic/vga.c		vga & !vga_rasterconsole	needs-flag
12571.572Sjunyoungfile	dev/ic/vga_raster.c	vga_rasterconsole		needs-flag
12581.572Sjunyoungfile	dev/ic/vga_subr.c	vga | vga_rasterconsole
12591.572Sjunyoungfile	dev/ic/vga_common.c	vga | vga_rasterconsole
12601.998Smacallan
12611.508Suwe# Integraphics Systems IGA168x and CyberPro framebuffers (linear non-VGA mode)
12621.473Slukem#
12631.1042Smacallandevice	igsfb: wsemuldisplaydev, rasops8, vcons, videomode
12641.615Suwefile	dev/ic/igsfb.c			igsfb			needs-flag
12651.551Suwefile	dev/ic/igsfb_subr.c		igsfb
12661.91Scgd
12671.1169Smacallandevice	chipsfb: wsemuldisplaydev, rasops8, vcons, videomode, glyphcache
12681.998Smacallanfile	dev/ic/ct65550.c		chipsfb
12691.998Smacallandefflag	opt_chipsfb.h	CHIPSFB_DEBUG
12701.998Smacallandefflag	opt_chipsfb.h	CHIPSFB_WAIT
12711.998Smacallan
12721.683Sjkunz# STI (hp graphics)
12731.683Sjkunzdevice	sti: wsemuldisplaydev
12741.1005Stsutsuifile	dev/ic/sti.c		sti
12751.683Sjkunz
12761.892Sdrochnerinclude "dev/wscons/files.wscons"
12771.892Sdrochnerinclude "dev/rasops/files.rasops"
12781.892Sdrochnerinclude "dev/wsfont/files.wsfont"
12791.892Sdrochnerinclude "dev/wsfb/files.wsfb"
12801.892Sdrochner
12811.77Scgd# Attributes which machine-independent bus support can be attached to.
12821.77Scgd# These should be defined here, because some of these busses can have
12831.77Scgd# devices which provide these attributes, and we'd like to avoid hairy
12841.77Scgd# ordering constraints on inclusion of the busses' "files" files.
12851.473Slukem#
12861.474Slukemdefine	isabus	{ }			# ISA attachment
12871.474Slukemdefine	eisabus	{ }			# EISA attachment
12881.474Slukemdefine	pcibus	{[bus = -1]}		# PCI attachment
12891.474Slukemdefine	mcabus	{ }			# MicroChannel attachment
12901.474Slukemdefine	usbus	{ }			# USB attachment
12911.724Skiyoharadefine	fwbus	{ }			# IEEE 1394 attachment
12921.474Slukemdefine	vmebus	{ }			# VME bus attachment
12931.474Slukemdefine	acpibus	{ }			# ACPI "bus" attachment
12941.259Spkdefine	pcmciabus { [controller = -1], [socket = -1]}	# PCMCIA bus attachment
12951.909Sdrochnerdefine	cbbus	{ }			# CardBus attachment
12961.909Sdrochnerdefine	pcmciaslot { }			# PCMCIA slot itself
12971.945Snonakadefine	sdmmcbus { }			# SD/MMC attachment
12981.222Saugustss
12991.222Saugustss# We need the USB bus controllers here so different busses can
13001.222Saugustss# use them in an 'attach-with'.
13011.473Slukem#
13021.703Sfvdl
13031.890Sdrochnerdefine	usbroothub
13041.1155Sskrllfile	dev/usb/usbroothub.c	usbroothub
13051.890Sdrochner
13061.1005Stsutsuidefine	usb_dma
13071.1005Stsutsui
13081.1075Sjakllsch# UHCI USB controller
13091.1075Sjakllsch#
13101.1005Stsutsuidevice	uhci: usbus, usbroothub, usb_dma
13111.426Slukemfile	dev/usb/uhci.c			uhci			needs-flag
13121.222Saugustss
13131.222Saugustss# OHCI USB controller
13141.473Slukem#
13151.1005Stsutsuidevice	ohci: usbus, usbroothub, usb_dma
13161.426Slukemfile	dev/usb/ohci.c			ohci			needs-flag
13171.412Saugustss
13181.1057Smatt# EHCI USB2 controller
13191.473Slukem#
13201.1005Stsutsuidevice	ehci: usbus, usbroothub, usb_dma
13211.426Slukemfile	dev/usb/ehci.c			ehci			needs-flag
13221.545Sisaki
13231.1075Sjakllsch# xHCI USB3 controller
13241.1057Smatt#
13251.1057Smattdevice	xhci: usbus, usbroothub, usb_dma
13261.1057Smattfile	dev/usb/xhci.c			xhci			needs-flag
13271.1057Smatt
13281.1239Smaxv# vHCI USB controller
13291.1239Smaxv#
13301.1239Smaxvdefpseudodev vhci: usbus, usbroothub
13311.1239Smaxvfile	dev/usb/vhci.c			vhci			needs-flag
13321.1239Smaxv
13331.1094Sbouyer# Mentor graphics OTG IP
13341.1155Sskrlldevice	motg: usbus, usbroothub
13351.1094Sbouyerfile	dev/usb/motg.c			motg			needs-flag
13361.1094Sbouyer
13371.545Sisaki# SL811HS/T USB controller
13381.1156Sskrlldefflag	opt_slhci.h	SLHCI_TRY_LSVH SLHCI_PROFILE_TRANSFER
13391.893Sisakidevice	slhci: usbus, usbroothub
13401.545Sisakifile	dev/ic/sl811hs.c		slhci			needs-flag
13411.579Smartin
13421.1062Sskrll# DesignWare OTG host controller
13431.1062Sskrll#
13441.1080Sskrllinclude "external/bsd/dwc2/conf/files.dwc2"
13451.1080Sskrll
13461.945Snonaka# SD Host controller
13471.1087Snonakadevice	sdhc: sdmmcbus
13481.945Snonakafile	dev/sdmmc/sdhc.c		sdhc			needs-flag
13491.945Snonaka
13501.958Sjmcneill# Winbond Integrated Media Reader
13511.958Sjmcneilldevice	wb: sdmmcbus
13521.958Sjmcneillfile	dev/ic/w83l518d.c		wb
13531.958Sjmcneillfile	dev/ic/w83l518d_sdmmc.c		wb
13541.958Sjmcneill
13551.1087Snonaka# Realtek RTS5209/RTS5229 Card Reader
13561.1087Snonakadevice	rtsx: sdmmcbus
13571.1087Snonakafile	dev/ic/rtsx.c			rtsx
13581.1087Snonaka
13591.1122Sjmcneill# DesignWare SD/MMC host controller
13601.1122Sjmcneilldefflag	opt_dwc_mmc.h	DWC_MMC_DEBUG
13611.1122Sjmcneilldevice	dwcmmc: sdmmcbus
13621.1122Sjmcneillfile	dev/ic/dwc_mmc.c		dwcmmc
13631.1122Sjmcneill
13641.1175Sjmcneill# ARM PrimeCell PL031 (RTC) real time clock
13651.1175Sjmcneilldevice	plrtc
13661.1175Sjmcneillfile	dev/ic/pl031.c			plrtc
13671.1175Sjmcneill
13681.1174Sjmcneill# ARM PrimeCell PL041 (AACI) Advanced Audio CODEC interface
13691.1174Sjmcneilldevice	aaci: audiobus, auconv, aurateconv, mulaw, ac97
13701.1174Sjmcneillfile	dev/ic/pl041.c			aaci
13711.1174Sjmcneill
13721.1173Sjmcneill# ARM PrimeCell PL050 (KMI) PS2 keyboard/mouse interface
13731.1173Sjmcneilldevice	plkmi: pckbport
13741.1173Sjmcneillfile	dev/ic/pl050.c			plkmi
13751.1173Sjmcneill
13761.1214Sjmcneill# ARM PrimeCell PL061 (GPIO) general purpose input/output
13771.1214Sjmcneilldevice	plgpio: gpiobus
13781.1214Sjmcneillfile	dev/ic/pl061.c			plgpio
13791.1214Sjmcneill
13801.1127Sskrll# ARM PrimeCell PL181 (MMCI) host controller
13811.1127Sskrlldevice	plmmc: sdmmcbus
13821.1127Sskrllfile	dev/ic/pl181.c			plmmc
13831.1127Sskrll
13841.1296Smanu# Intel GPIO
13851.1296Smanudevice	igpio: gpiobus
13861.1296Smanufile	dev/ic/igpio.c			igpio
13871.1296Smanu
13881.579Smartin# Myson MTD803 3-in-1 Fast Ethernet Controller
13891.579Smartindevice	mtd: arp, ether, ifnet, mii
13901.579Smartinfile	dev/ic/mtd803.c			mtd
13911.369Smatt
13921.487Saugustss# radio devices, attaches to radio hardware driver
13931.487Saugustssdevice	radio
13941.489Sdrochnerattach	radio at radiodev
13951.498Sjmc
13961.402Smatt# IEEE 1394 controllers
13971.402Smatt# (These need to be here since it will have both PCI and CardBus attachments)
13981.473Slukem#
13991.369Smattdevice	fwohci: fwbus
14001.520Saugustss
14011.520Saugustss# Sony Programmable I/O Controller
14021.520Saugustssdevice	spic: wsmousedev
14031.520Saugustssfile	dev/ic/spic.c			spic
14041.529Saugustss
14051.529Saugustss# IBM CPC700 PowerPC bridge
14061.529Saugustssdefine	cpcbus { addr, [irq=-1] }
14071.529Saugustssdevice	cpc: cpcbus, pcibus
14081.529Saugustssfile	dev/ic/cpc700.c			cpc
14091.529Saugustss
14101.529Saugustssattach	com at cpcbus with com_cpcbus
14111.529Saugustssfile	dev/ic/com_cpcbus.c		com_cpcbus
14121.529Saugustss
14131.529Saugustssdevice	cpctim
14141.529Saugustssattach	cpctim at cpcbus
14151.529Saugustssfile	dev/ic/timer_cpcbus.c		cpctim
14161.529Saugustss
14171.530Saugustssdevice	cpciic
14181.530Saugustssattach	cpciic at cpcbus with iic_cpcbus
14191.529Saugustssfile	dev/ic/iic_cpcbus.c		iic_cpcbus
14201.529Saugustss
14211.60Scgd
14221.934Smacallan# Broadcom AirForce / Apple Airport Extreme
14231.934Smacallandevice	bwi: arp, ifnet, firmload, wlan
14241.934Smacallanfile	dev/ic/bwi.c			bwi
14251.934Smacallan
14261.995Sahoka# DM9000 Ethernet controllers
14271.995Sahoka#
14281.1262Snisimuradevice	dme: arp, ether, ifnet, mii
14291.995Sahokafile	dev/ic/dm9000.c			dme
14301.995Sahoka
14311.1158Snonaka# NVM Express Controller
14321.1158Snonaka#
14331.1158Snonakadevice	nvme {nsid = -1}
14341.1158Snonakafile	dev/ic/nvme.c			nvme
14351.1158Snonaka
14361.1158Snonakaattach	ld at nvme with ld_nvme
14371.1158Snonakafile	dev/ic/ld_nvme.c		ld_nvme
14381.1158Snonaka
14391.1183Sjmcneill# Broadcom FullMAC 802.11 driver
14401.1298Srjsdevice	bwfm: arp, ifnet, wlan, firmload
14411.1183Sjmcneillfile	dev/ic/bwfm.c			bwfm
14421.1183Sjmcneill
14431.1185Sjmcneill# QEMU Firmware Configuration (fw_cfg) device
14441.1185Sjmcneilldevice	qemufwcfg
14451.1185Sjmcneillfile	dev/ic/qemufwcfg.c		qemufwcfg
14461.1185Sjmcneill
14471.1215Sjakllsch# AMD Cryptographic Coprocessor
14481.1215Sjakllschdevice	amdccp
14491.1215Sjakllschfile	dev/ic/amdccp.c			amdccp
14501.1215Sjakllsch
14511.1314Sjmcneill# System Control and Management Interface (SCMI)
14521.1314Sjmcneillfile	dev/ic/scmi.c			scmi
14531.1314Sjmcneill
14541.60Scgd# legitimate pseudo-devices
14551.473Slukem#
14561.907Sdrochnerdefpseudodev vnd:	disk
14571.726Shubertfdefflag opt_vnd.h	VND_COMPRESSION
14581.474Slukemdefpseudo ccd:		disk
14591.1271Sriastraddefpseudodev cgd:	disk, des, blowfish, cast128, aes, adiantum
14601.907Sdrochnerdefpseudodev md:	disk
14611.916Shannkendefpseudodev fss:	disk
14621.298Sthorpej
14631.474Slukemdefpseudo pty:		tty
14641.298Sthorpejdefpseudo rnd
14651.610Sraggedefpseudo ksyms
14661.642Scdidefpseudo nullcons
14671.807Saddefpseudo lockstat
14681.839Sbouyerdefpseudo bio:		sysmon_envsys
14691.298Sthorpej
14701.474Slukemdefpseudo loop:		ifnet
14711.474Slukemdefpseudo sl:		ifnet
14721.474Slukemdefpseudo ppp:		ifnet, bpf_filter
14731.474Slukemdefpseudo pppoe:	ifnet, ether, sppp
14741.474Slukemdefpseudo tun:		ifnet
14751.474Slukemdefpseudo vlan:		ifnet, ether
14761.474Slukemdefpseudo bridge:	ifnet, ether
14771.1276Sroydefpseudo vether:	ifnet, ether
14781.474Slukemdefpseudo bpfilter:	ifnet, bpf_filter
14791.474Slukemdefpseudo gre:		ifnet
14801.474Slukemdefpseudo gif:		ifnet
14811.474Slukemdefpseudo faith:	ifnet
14821.1161Schristosdefpseudo mpls:		ifnet
14831.826Smousedefpseudo srt:		ifnet
14841.474Slukemdefpseudo stf:		ifnet
14851.969Spookadefpseudodev tap:	ifnet, ether, arp
14861.969Spookadefpseudo carp:		ifnet, ether, arp
14871.1170Sknakahardefpseudodev l2tp:	ifnet, ether, arp
14881.1172Sbouyerdefpseudo canloop:	ifnet
14891.1191Sknakahardefpseudo ipsecif:	ifnet		# avoid to confuse ipsec itself option
14901.1275Sriastraddefpseudo wg:		ifnet, blake2s, libsodium
14911.1283Syamaguchdefpseudo lagg:		ifnet, ether
14921.60Scgd
14931.298Sthorpejdefpseudo sequencer
14941.462Smanudefpseudo clockctl
14951.228Saugustss
14961.912Stls#
14971.912Stls# Accept filters.  XXX should use another registration/initialization method.
14981.912Stls#
14991.912Stlsdefpseudo accf_data
15001.912Stlsdefpseudo accf_http
15011.912Stls
15021.539Sthorpej# KTTCP network throughput testing pseudo-device
15031.539Sthorpejdefpseudo kttcp
15041.539Sthorpejfile	dev/kttcp.c			kttcp		needs-flag
15051.576Sblymn
15061.790Selad# Veriexec
15071.717Sblymndefpseudo veriexec
15081.1128Smaxvfile	kern/kern_veriexec.c	veriexec
15091.1152Smaxvfile	dev/veriexec.c		veriexec	needs-flag
15101.415Smartin
15111.681Sdrochner# driver attach / detach user interface
15121.681Sdrochnerdefpseudo drvctl
15131.906Sjmcneillfile	kern/kern_drvctl.c		drvctl		needs-flag
15141.681Sdrochner
15151.857Sad# cpu control
15161.857Saddefpseudo cpuctl
15171.1037Sdrochnerdefflag				CPU_UCODE: firmload
15181.857Sad
15191.870Spooka# pass-to-userspace transporter
15201.870Spookadefpseudo putter
15211.873Spookafile	dev/putter/putter.c		putter
15221.870Spooka
15231.875Spooka# userspace block/char device drivers
15241.875Spookadefpseudo pud
15251.875Spookafile	dev/pud/pud.c			pud
15261.875Spookafile	dev/pud/pud_dev.c		pud
15271.875Spooka
15281.931Shaad# device-mapper driver for LVM
15291.931Shaadinclude "dev/dm/files.dm"
15301.931Shaad
15311.1180Sjmcneill# LED framework
15321.1180Sjmcneillfile	dev/led.c			leds
15331.1180Sjmcneill
15341.1220Smlelstv# IPMI
15351.1220Smlelstvdevice	ipmi: sysmon_envsys, sysmon_wdog
15361.1220Smlelstvattach	ipmi at ipmibus
15371.1220Smlelstv
15381.1228Sjmcneill# Designware HDMI TX
15391.1267Shkenkendevice	dwhdmi: edid, videomode, drmkms, drmkms_i2c, ddc_read_edid
15401.1228Sjmcneillfile	dev/ic/dw_hdmi.c		dwhdmi
15411.1242Sjmcneillfile	dev/ic/dw_hdmi_phy.c		dwhdmi
15421.1299Sriastradmakeoptions	dwhdmi	"CPPFLAGS.dwhdmi"+="${CPPFLAGS.drmkms}"
15431.1228Sjmcneill
15441.1247Sjakllsch# Analogix DisplayPort
15451.1247Sjakllschdevice	anxdp: edid, videomode, drmkms, drmkms_i2c
15461.1247Sjakllschfile	dev/ic/anx_dp.c			anxdp
15471.1299Sriastradmakeoptions	anxdp	"CPPFLAGS.anxdp"+="${CPPFLAGS.drmkms}"
15481.1247Sjakllsch
15491.1256Sjmcneill# Broadcom GENET v5 ethernet
15501.1256Sjmcneilldevice	genet: arp, ether, ifnet, mii
15511.1256Sjmcneillfile	dev/ic/bcmgenet.c		genet
15521.1256Sjmcneill
15531.1277Sryo# VMware Tools driver
15541.1277Sryoinclude "dev/vmt/files.vmt"
15551.1277Sryo
15561.516Sthorpej#
15571.516Sthorpej# File systems
15581.516Sthorpej#
15591.696Sjdolecekinclude "coda/files.coda"
15601.583Sjdolecekinclude "fs/adosfs/files.adosfs"
15611.696Sjdolecekinclude "fs/cd9660/files.cd9660"
15621.848Srumbleinclude "fs/efs/files.efs"
15631.584Sjdolecekinclude "fs/filecorefs/files.filecorefs"
15641.833Sdilloinclude "fs/hfs/files.hfs"
15651.696Sjdolecekinclude "fs/msdosfs/files.msdosfs"
15661.950Sreinoudinclude "fs/nilfs/files.nilfs"
15671.696Sjdolecekinclude "fs/ntfs/files.ntfs"
15681.696Sjdolecekinclude "fs/ptyfs/files.ptyfs"
15691.815Spookainclude "fs/puffs/files.puffs"
15701.756Sreinoudinclude "fs/udf/files.udf"
15711.750Stsutsuiinclude "fs/sysvbfs/files.sysvbfs"
15721.730Sjmmvinclude "fs/tmpfs/files.tmpfs"
15731.696Sjdolecekinclude "fs/union/files.union"
15741.1018Suchinclude "fs/v7fs/files.v7fs"
15751.1190Schristosinclude "fs/autofs/files.autofs"
15761.516Sthorpejinclude "miscfs/fdesc/files.fdesc"
15771.516Sthorpejinclude "miscfs/kernfs/files.kernfs"
15781.516Sthorpejinclude "miscfs/nullfs/files.nullfs"
15791.516Sthorpejinclude "miscfs/overlay/files.overlay"
15801.516Sthorpejinclude "miscfs/procfs/files.procfs"
15811.516Sthorpejinclude "miscfs/umapfs/files.umapfs"
15821.516Sthorpejinclude "nfs/files.nfs"
15831.516Sthorpejinclude "ufs/files.ufs"
15841.1168Spgoyetteinclude "fs/nfs/files.newnfs"
15851.516Sthorpej
15861.516Sthorpej#
15871.1013Smrg# UVM (virtual memory)
15881.1012Smrg#
15891.1013Smrginclude "uvm/files.uvm"
15901.1012Smrg
15911.1012Smrg#
15921.811Selad# Security models
15931.811Selad#
15941.811Seladinclude "secmodel/files.secmodel"
15951.811Selad
15961.1120Suebayasiinclude "kern/files.kern"
15971.979Suebayasi
15981.1135Suebayasiinclude "dev/files.dev"
15991.1135Suebayasi
16001.1119Suebayasiinclude "net/files.net"
16011.493Sjdolecek
16021.493Sjdolecek# Game adapter (joystick)
16031.493Sjdolecekdevice	joy
16041.493Sjdolecekfile	dev/ic/joy.c			joy needs-flag
16051.582Shaya
16061.734Sjmcneill#
16071.734Sjmcneill# General Purpose Input/Output framework
16081.734Sjmcneill#
16091.769Srizdefine	onewire_bitbang
16101.734Sjmcneillinclude	"dev/gpio/files.gpio"
16111.769Sriz
16121.769Srizinclude "dev/onewire/files.onewire"
16131.872Sjmcneill
16141.872Sjmcneill#
16151.872Sjmcneill# Pseudo audio device
16161.872Sjmcneill#
16171.872Sjmcneillinclude "dev/pad/files.pad"
16181.877Sjoerg
16191.877Sjoerg#
16201.877Sjoerg# Intel 386 Real Mode emulator
16211.877Sjoerg#
16221.877Sjoerginclude "lib/libx86emu/files.x86emu"
16231.882Syamt
16241.882Syamt#
16251.882Syamt# "tprof" profiler.
16261.882Syamt#
16271.882Syamtinclude	"dev/tprof/files.tprof"
16281.944Sjmcneill
16291.944Sjmcneill#
16301.1216Smaxv# NetBSD Virtual Machine Monitor.
16311.1216Smaxv#
16321.1216Smaxvinclude	"dev/nvmm/files.nvmm"
16331.1216Smaxv
16341.1216Smaxv#
16351.944Sjmcneill# alternate memory device
16361.944Sjmcneill#
16371.944Sjmcneillinclude "dev/altmem/files.altmem"
16381.1003Sahoka
16391.1003Sahoka#
16401.1003Sahoka# Flash subsystem
16411.1003Sahoka#
16421.1003Sahokainclude "dev/flash/files.flash"
16431.1003Sahoka
16441.1003Sahoka#
16451.1292Smsaitoh# NAND subsystem
16461.1003Sahoka#
16471.1003Sahokainclude "dev/nand/files.nand"
16481.1003Sahoka
16491.1019Sjmcneill#
16501.1292Smsaitoh# NOR subsystem
16511.1020Scliff#
16521.1020Scliffinclude "dev/nor/files.nor"
16531.1031Sriz
16541.1031Sriz#
16551.1031Sriz# iscsi
16561.1031Sriz#
16571.1031Srizinclude "dev/iscsi/files.iscsi"
16581.1066Schristos
16591.1115Suebayasi#
16601.1115Suebayasi# athn
16611.1115Suebayasi#
16621.1115Suebayasiinclude "dev/ic/files.athn"
16631.1151Sjmcneill
16641.1151Sjmcneill#
16651.1151Sjmcneill# MI clk api
16661.1151Sjmcneill#
16671.1151Sjmcneillinclude "dev/clk/files.clk"
16681.1189Sskrll
16691.1189Sskrll#
16701.1310Sthorpej# Goldfish virtual devices
16711.1310Sthorpej#
16721.1310Sthorpejinclude "dev/goldfish/files.goldfish"
16731.1310Sthorpej
16741.1310Sthorpej#
16751.1189Sskrll# Flattened Device Tree (FDT) support
16761.1189Sskrll#
16771.1189Sskrllinclude "dev/ofw/files.ofw"
16781.1189Sskrllinclude "dev/fdt/files.fdt"
16791.1207Schristos
16801.1295Sriastrad
16811.1295Sriastrad## ACPI -- this should be dev/acpi/files.acpi, but that currently has
16821.1295Sriastrad# some MD parts.  Having this here allows conditionals on NACPICA in
16831.1295Sriastrad# acpica.h, at least.
16841.1295Sriastrad#
16851.1295Sriastradinclude "dev/acpi/acpica/files.acpica"
16861.1295Sriastrad
16871.1207Schristos#
16881.1207Schristos# Name value library
16891.1207Schristos#
16901.1207Schristosinclude "external/bsd/libnv/conf/files.libnv"
1691