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