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