Home | History | Annotate | Line # | Download | only in conf
files revision 1.1167
      1 #	$NetBSD: files,v 1.1167 2016/12/13 20:20:34 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				KTRACE
     23 defflag				MBUFTRACE
     24 defflag	opt_ptrace.h		PTRACE PTRACE_HOOKS
     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 # speaker devices, attaches to audio or pcppi drivers
    335 device	spkr
    336 file	dev/spkr.c			spkr
    337 
    338 include "dev/files.audio"
    339 
    340 # High definition audio
    341 include "dev/hdaudio/files.hdaudio"
    342 
    343 # Base verbose vendor/product printing support
    344 file	dev/dev_verbose.c
    345 
    346 # video devices, attaches to video hardware driver
    347 #
    348 device	video
    349 attach	video at videobus
    350 
    351 # DTV subsystem
    352 #
    353 include "dev/dtv/files.dtv"
    354 
    355 # HDMI CEC
    356 #
    357 include "dev/hdmicec/files.hdmicec"
    358 
    359 # National Semiconductor LM7[89]
    360 #
    361 # (included here so files.i2c can define an attachment)
    362 
    363 device	lm: sysmon_envsys
    364 file	dev/ic/nslm7x.c			lm			needs-flag
    365 
    366 # JEDEC standard SPD EPROM
    367 #
    368 # (included here so files.i2c can define an attachment)
    369 
    370 device	spdmem
    371 file	dev/ic/spdmem.c			spdmem
    372 
    373 # I2C device support
    374 include "dev/i2c/files.i2c"
    375 
    376 # SPI device support
    377 include "dev/spi/files.spi"
    378 
    379 # IR device support
    380 include	"dev/ir/files.ir"
    381 
    382 # Parallel Port Bus support
    383 include "dev/ppbus/files.ppbus"
    384 
    385 # raster operations attributes
    386 #
    387 define	rasops1
    388 define	rasops2
    389 define	rasops4
    390 define	rasops8
    391 define	rasops15
    392 define	rasops16
    393 define	rasops24
    394 define	rasops32
    395 define	rasops_rotation
    396 
    397 # image decoding support
    398 include "dev/stbi/files.stbi"
    399 
    400 # splash screen support
    401 include "dev/splash/files.splash"
    402 
    403 # videomode support
    404 include "dev/videomode/files.videomode"
    405 
    406 # net device attributes - we have generic code for arc(net), ether(net),
    407 # fddi, token ring, atm and eco(net).
    408 #
    409 define	arcnet
    410 define	atm
    411 define	eco
    412 define	ether
    413 define	fddi
    414 define	hippi
    415 define	ieee1394
    416 define	token
    417 define	sppp
    418 define	wlan
    419 define	crypto
    420 
    421 # TPM
    422 device	tpm
    423 file	dev/ic/tpm.c			tpm			needs-flag
    424 
    425 # devices ARPing IPv4 pull this in:
    426 #
    427 define	arp
    428 
    429 #
    430 # ALTQ network traffic shaping subsystem
    431 #
    432 include "altq/files.altq"
    433 
    434 #
    435 # IPKDB kernel debugger
    436 #
    437 include "ipkdb/files.ipkdb"
    438 
    439 # Logical disk
    440 #
    441 device	ld: disk
    442 file	dev/ld.c			ld			needs-flag
    443 
    444 #
    445 # MII/PHY support for network devices
    446 #
    447 include "dev/mii/files.mii"
    448 
    449 #
    450 # RAIDframe
    451 #
    452 include "dev/raidframe/files.raidframe"
    453 
    454 #
    455 # Hardware-assisted data mover API
    456 #
    457 include "dev/dmover/files.dmover"
    458 
    459 #
    460 # "Chipset" drivers.  These are the bus-independent routines which
    461 # contain the cfdrivers.  Attachments are provided by files.<bus>
    462 #
    463 
    464 # Adaptec AIC-6[32]60 ICs
    465 #
    466 device	aic: scsi
    467 file	dev/ic/aic6360.c		aic
    468 
    469 # SMC 93Cx6 Serial EEPROM devices
    470 #
    471 define	smc93cx6
    472 file	dev/ic/smc93cx6.c		smc93cx6
    473 
    474 # Adaptec 2[789]4X, 394X, aic7770 and aic78[5678]0 SCSI controllers
    475 #
    476 defparam opt_ahc.h		AHC_DEBUG
    477 defflag	opt_ahc.h		AHC_NO_TAGS
    478 device	ahc: scsi
    479 define	ahc_seeprom
    480 define	ahc_aic77xx
    481 file	dev/ic/aic7xxx.c		ahc
    482 file	dev/ic/aic7xxx_osm.c		ahc
    483 file	dev/ic/aic7xxx_seeprom.c	ahc_seeprom
    484 file	dev/ic/aic77xx.c		ahc_aic77xx
    485 
    486 # Adaptec aic79xx SCSI controllers
    487 defflag	opt_ahd.h		AHD_DEBUG
    488 device	ahd: scsi
    489 file	dev/ic/aic79xx.c		ahd
    490 file	dev/ic/aic79xx_osm.c		ahd
    491 
    492 # DPT EATA SCSI controllers
    493 #
    494 device	dpt: scsi
    495 file	dev/ic/dpt.c			dpt
    496 
    497 # Compaq Smart ARRAY controllers
    498 #
    499 device	cac {unit = -1}
    500 file	dev/ic/cac.c			cac
    501 
    502 attach	ld at cac with ld_cac
    503 file	dev/ic/ld_cac.c			ld_cac
    504 
    505 # HP/Compaq Command Interface for SCSI-3 Support
    506 #
    507 device ciss: scsi
    508 file	dev/ic/ciss.c			ciss
    509 
    510 # Mylex DAC960 RAID controllers
    511 #
    512 device	mlx {unit = -1}
    513 file	dev/ic/mlx.c			mlx			needs-flag
    514 
    515 attach	ld at mlx with ld_mlx
    516 file	dev/ic/ld_mlx.c			ld_mlx
    517 
    518 # ICP-Vortex/Intel RAID controllers
    519 #
    520 device	icp {unit = -1}
    521 file	dev/ic/icp.c			icp			needs-flag
    522 file	dev/ic/icp_ioctl.c		icp
    523 
    524 attach	ld at icp with ld_icp
    525 file	dev/ic/ld_icp.c			ld_icp
    526 
    527 device	icpsp: scsi
    528 file	dev/ic/icpsp.c			icpsp
    529 attach	icpsp at icp
    530 
    531 # Adaptec FSA RAID controllers
    532 #
    533 device	aac {unit = -1}
    534 file	dev/ic/aac.c			aac
    535 
    536 attach	ld at aac with ld_aac
    537 file	dev/ic/ld_aac.c			ld_aac
    538 
    539 # AdvanSys 1200A, 1200B and ULTRA SCSI controllers
    540 #
    541 device	adv: scsi
    542 file	dev/ic/adv.c			adv
    543 file	dev/ic/advlib.c			adv
    544 file	dev/ic/advmcode.c		adv
    545 
    546 # AdvanSys ULTRA WIDE SCSI controllers
    547 #
    548 device	adw: scsi
    549 file	dev/ic/adw.c			adw
    550 
    551 # BusLogic MultiMaster and MultiMaster Ultra SCSI controllers
    552 # (Must be declared before AHA to ensure bha probes before aha.
    553 #  Probing AHA first configures bhas as aha, via their AHA
    554 #  hardware-compatibility mode.)
    555 #
    556 device	bha: scsi
    557 file	dev/ic/bha.c			bha
    558 
    559 # Adaptec AHA-154x and AHA-164x controllers
    560 # (must be after bha, see above)
    561 #
    562 device	aha: scsi
    563 file	dev/ic/aha.c			aha
    564 
    565 # Initio INIC-940/950 SCSI controllers
    566 #
    567 device	iha: scsi
    568 file	dev/ic/iha.c			iha
    569 
    570 # Qlogic ISP 10x0 SCSI Controllers
    571 #
    572 defflag	opt_isp.h		ISP_DISABLE_1020_SUPPORT
    573 				ISP_DISABLE_1080_SUPPORT
    574 				ISP_DISABLE_2100_SUPPORT
    575 				ISP_DISABLE_2200_SUPPORT
    576 				ISP_DISABLE_2300_SUPPORT
    577 				ISP_DISABLE_2322_SUPPORT
    578 				ISP_DISABLE_2400_SUPPORT
    579 				ISP_DISABLE_FW
    580 				ISP_TARGET_MODE
    581 defparam opt_isp.h		ISP_LOGDEFAULT
    582 				ISP_VPORTS
    583 device	isp: scsi
    584 file	dev/ic/isp.c			isp
    585 file	dev/ic/isp_library.c		isp
    586 file	dev/ic/isp_netbsd.c		isp
    587 file	dev/ic/isp_target.c		isp & isp_target_mode
    588 # LSILogic MegaRAID SAS
    589 #
    590 device	mfi: scsi
    591 file	dev/ic/mfi.c			mfi
    592 
    593 # LSILogic Fusion-MPT I/O Processor SCSI/FC Controllers
    594 #
    595 device	mpt: scsi
    596 file	dev/ic/mpt.c			mpt
    597 file	dev/ic/mpt_debug.c		mpt
    598 file	dev/ic/mpt_netbsd.c		mpt
    599 
    600 # Workbit NinjaSCSI-32 controllers
    601 device	njs: scsi
    602 file	dev/ic/ninjascsi32.c		njs
    603 
    604 # Symbios/NCR 53c700 SCSI controllers
    605 device	oosiop: scsi
    606 file	dev/ic/oosiop.c			oosiop
    607 
    608 # Symbios/NCR 53c710 SCSI controllers
    609 #
    610 device	osiop: scsi
    611 file	dev/ic/osiop.c			osiop
    612 
    613 # common stuff for siop and esiop
    614 #
    615 define	siop_common
    616 file	dev/ic/siop_common.c		siop_common
    617 
    618 # Symbios/NCR 53c720/53c8xx SCSI controllers
    619 #
    620 device	siop: scsi,siop_common
    621 file	dev/ic/siop.c			siop & (siop_pci | siop_gedoens)
    622 defflag	opt_siop.h			SIOP_SYMLED
    623 
    624 device	esiop: scsi,siop_common
    625 file	dev/ic/esiop.c			esiop
    626 
    627 # UltraStor SCSI controllers
    628 #
    629 device	uha: scsi
    630 file	dev/ic/uha.c			uha
    631 
    632 # 3Com common probe code
    633 define  elink
    634 file    dev/isa/elink.c                 elink
    635 
    636 # Aironet PC4500/PC4800
    637 #
    638 device	an: arp, wlan, ifnet
    639 file	dev/ic/an.c			an
    640 
    641 # AMD 79c930-based 802.11 cards
    642 #
    643 device	awi: arp, wlan, ifnet
    644 file	dev/ic/awi.c			awi
    645 file	dev/ic/am79c930.c		awi
    646 
    647 # Lucent & Intersil WaveLan IEEE (802.11)
    648 #
    649 device	wi: arp, wlan, ifnet
    650 file	dev/ic/wi.c			wi
    651 
    652 # Atheros HAL
    653 #
    654 include "external/isc/atheros_hal/conf/files.ath_hal"
    655 
    656 # Atheros 5210/5211/5212 multi-mode 802.11
    657 #
    658 device	ath: arp, wlan, ifnet
    659 file	dev/ic/ath.c			ath
    660 file	dev/ic/ath_netbsd.c		ath
    661 file	dev/ic/athrate-sample.c		ath
    662 
    663 # ADMtek ADM8211 802.11
    664 #
    665 device	atw: arp, wlan, ifnet, smc93cx6
    666 file	dev/ic/atw.c			atw
    667 
    668 # Realtek RTL8180 802.11
    669 #
    670 device rtw: arp, wlan, ifnet, smc93cx6
    671 file	dev/ic/rtw.c			rtw
    672 file	dev/ic/rtwphy.c			rtw
    673 file	dev/ic/rtwphyio.c		rtw
    674 
    675 # Ralink RT2500/RT2600/RT2860 802.11
    676 device	ral: arp, ether, ifnet, wlan, firmload
    677 file	dev/ic/rt2560.c			ral
    678 file	dev/ic/rt2661.c			ral
    679 file	dev/ic/rt2860.c			ral
    680 
    681 # Marvell Libertas Open
    682 device  malo: arp, ether, ifnet, wlan, firmload
    683 file    dev/ic/malo.c           malo
    684 
    685 # 3Com Etherlink-III Ethernet controller
    686 #
    687 device	ep: arp, ether, ifnet, mii, mii_bitbang
    688 file	dev/ic/elink3.c			ep
    689 
    690 # 3Com EtherLink XL Controller
    691 #
    692 device	ex: arp, ether, ifnet, mii, mii_bitbang
    693 file	dev/ic/elinkxl.c		ex
    694 
    695 # DEC EtherWORKS III (LEMAC) Ethernet controllers
    696 #
    697 device	lc: arp, ether, ifnet
    698 file	dev/ic/lemac.c			lc
    699 
    700 # LANCE and PCnet Ethernet controllers
    701 #
    702 device	le: arp, ether, ifnet
    703 define	le24
    704 define	le32
    705 file	dev/ic/am7990.c			le24
    706 file	dev/ic/am79900.c		le32
    707 file	dev/ic/lance.c			le24 | le32
    708 
    709 # DEC DEPCA-family of LANCE Ethernet controllers
    710 #
    711 device	depca { }: le24
    712 file	dev/ic/depca.c			depca
    713 attach	le at depca with le_depca
    714 
    715 # Sun HME Ethernet controllers
    716 #
    717 device	hme: arp, ether, ifnet, mii
    718 file	dev/ic/hme.c			hme
    719 
    720 # Sun GEM Ethernet controllers
    721 #
    722 device	gem: arp, ether, ifnet, mii
    723 file	dev/ic/gem.c			gem
    724 
    725 # Synopsis Designware GMAC core, as found on allwinner a20
    726 # and other SoCs
    727 device	awge: arp, ether, ifnet, mii
    728 file	dev/ic/dwc_gmac.c		awge
    729 
    730 # 8390-family Ethernet controllers
    731 #
    732 defflag	opt_ipkdb.h		IPKDB_DP8390
    733 define	dp8390nic
    734 file	dev/ic/dp8390.c			dp8390nic | ipkdb_dp8390
    735 
    736 # National Semiconductor DP83905 AT/LANTIC Ethernet media support
    737 #
    738 define	dp83905
    739 file	dev/ic/dp83905.c		dp83905
    740 
    741 # Macronix MX98905 Ethernet controller
    742 # (use as an attribute for an "ne" bus attachment)
    743 #
    744 define	mx98905
    745 file	dev/ic/mx98905.c		mx98905
    746 
    747 # TROPIC Token-Ring controller
    748 #
    749 device	tr: arp, token, ifnet
    750 file	dev/ic/tropic.c			tr
    751 
    752 # NCR 5380 SCSI Bus Controller
    753 #
    754 define	ncr5380sbc
    755 file	dev/ic/ncr5380sbc.c		ncr5380sbc
    756 device	nca: scsi, ncr5380sbc
    757 
    758 # Sun sc PAL SCSI Bus Controller
    759 #
    760 define	sunscpal
    761 file	dev/ic/sunscpal.c		sunscpal
    762 device	ssc: scsi, sunscpal
    763 
    764 # DEC FDDI Chipset
    765 #
    766 define	pdq
    767 file	dev/ic/pdq.c			pdq
    768 file	dev/ic/pdq_ifsubr.c		pdq
    769 
    770 # Cyclades Cyclom-8/16/32
    771 #
    772 device	cy: tty
    773 file	dev/ic/cy.c			cy			needs-flag
    774 
    775 # Efficient Networks, Inc. ATM interface
    776 #
    777 device	en: atm, ifnet
    778 file	dev/ic/midway.c			en
    779 
    780 # NCR 53x9x or Emulex ESP SCSI Controller
    781 #
    782 define	ncr53c9x
    783 device	esp: scsi, ncr53c9x
    784 file	dev/ic/ncr53c9x.c		ncr53c9x
    785 
    786 # Fujitsu MB87030/MB89352 SCSI Protocol Controller
    787 device	spc: scsi
    788 file	dev/ic/mb89352.c		spc
    789 
    790 # Western Digital WD33C93/WD33C93A SCSI Bus Interface Controller
    791 define	wd33c93
    792 file	dev/ic/wd33c93.c		wd33c93
    793 
    794 # Hitachi HD44780 LCD panel controller
    795 define	hd44780
    796 file	dev/ic/hd44780_subr.c		hd44780
    797 file	dev/ic/lcdkp_subr.c		hd44780
    798 
    799 # Matrix keypad
    800 define	matrixkp
    801 file	dev/ic/matrixkp_subr.c		matrixkp
    802 
    803 # Hitachi HD64570 serial controller
    804 #
    805 define	hd64570
    806 file	dev/ic/hd64570.c		hd64570
    807 
    808 # Riscom/N2 ISA/PCI Sync Serial Controller
    809 #
    810 device	ntwoc: ifnet, hd64570
    811 
    812 # Intel 82586 Ethernet Controller
    813 #
    814 define	i82586
    815 file	dev/ic/i82586.c			i82586
    816 
    817 # Intel 82596 Ethernet Controller
    818 #
    819 define	i82596
    820 file	dev/ic/i82596.c			i82596
    821 
    822 # Intel 82557/82558/82559 Ethernet Controller
    823 #
    824 device	fxp: ether, ifnet, arp, mii
    825 file	dev/ic/i82557.c			fxp
    826 
    827 # SEEQ 8005 Advanced Ethernet Data Link Controller
    828 #
    829 define	seeq8005
    830 file	dev/ic/seeq8005.c		seeq8005
    831 
    832 # SMC 91Cxx Ethernet Controller
    833 #
    834 device	sm: arp, ether, ifnet, mii, mii_bitbang
    835 file	dev/ic/smc91cxx.c		sm
    836 
    837 # SMC 83C170 EPIC/100 Fast Ethernet Controller
    838 #
    839 device	epic: arp, ether, ifnet, mii
    840 file	dev/ic/smc83c170.c		epic
    841 
    842 # DEC SGEC Second Generation Ethernet Controller
    843 #
    844 define	sgec
    845 file	dev/ic/sgec.c			sgec
    846 
    847 # MB86950 Ethernet Controller
    848 #
    849 define	mb86950
    850 file	dev/ic/mb86950.c		mb86950
    851 
    852 # MB8696x Ethernet Controller
    853 #
    854 define	mb86960
    855 file	dev/ic/mb86960.c		mb86960
    856 
    857 # Generic MB8696x Ethernet Controller driver
    858 #
    859 device	mbe: arp, ether, ifnet, mb86960
    860 
    861 # Interwave Am78C201 audio driver
    862 #
    863 define	interwave
    864 file	dev/ic/interwave.c		interwave
    865 
    866 # TMS 320av110 MPEG2/audio driver
    867 #
    868 define	tms320av110
    869 file	dev/ic/tms320av110.c		tms320av110
    870 
    871 # Novell NE2000-compatible Ethernet cards, based on the
    872 # National Semiconductor DS8390.
    873 #
    874 defflag	opt_ipkdb.h		IPKDB_NE			: IPKDB_DP8390
    875 device	ne: ether, ifnet, arp, dp8390nic, mii
    876 file	dev/ic/ne2000.c			ne | ipkdb_ne
    877 
    878 # 8250/16[45]50-based "com" ports
    879 #
    880 defflag	opt_com.h		COM_DEBUG
    881 # XXX In a perfect world, this would be done with attributes
    882 defflag	opt_com.h		COM_16650 COM_16750
    883 				COM_HAYESP COM_PXA2X0 COM_AU1X00
    884 				COM_REGMAP COM_FUNCMAP COM_AWIN
    885 defparam opt_com.h		COM_TOLERANCE
    886 device	com { } : tty
    887 file	dev/ic/com.c			com			needs-flag
    888 
    889 # PC-like keyboard controller
    890 #
    891 device	pckbc: pckbport
    892 file	dev/ic/pckbc.c			pckbc			needs-flag
    893 
    894 device	attimer
    895 file	dev/ic/attimer.c		attimer			needs-flag
    896 
    897 # Cirrus Logic CD240[01] 4-port Multi-Protocol Communications Controller
    898 #
    899 device	clmpcc: tty
    900 file	dev/ic/clmpcc.c			clmpcc			needs-flag
    901 
    902 # Abit uGuru
    903 #
    904 device	ug: sysmon_envsys
    905 file	dev/ic/ug.c			ug			needs-flag
    906 
    907 # Essential Communications Corp. HIPPI Interface
    908 #
    909 device	esh: hippi, ifnet
    910 file	dev/ic/rrunner.c		esh			needs-flag
    911 
    912 # SMC 90c26, SMC 90C56 (and 90C66 if in compat mode) chip driver
    913 #
    914 device	bah: ifnet, arcnet, arp
    915 file	dev/ic/smc90cx6.c		bah
    916 
    917 # OPL2/OPL3 FM synth driver
    918 #
    919 device	opl: midibus, midisyn
    920 file	dev/ic/opl.c			opl
    921 file	dev/ic/oplinstrs.c		opl
    922 
    923 # MPU401 MIDI UART compatibles
    924 #
    925 device	mpu: midibus
    926 file	dev/ic/mpu.c			mpu			needs-flag
    927 
    928 # AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers
    929 #
    930 define	ad1848
    931 file	dev/ic/ad1848.c			ad1848
    932 
    933 # AMD 7930 audio/ISDN codec
    934 #
    935 define	am7930
    936 file	dev/ic/am7930.c			am7930
    937 
    938 # Siemens PSB2160 audio codec, as found in HP systems
    939 device	arcofi: audiobus, auconv, mulaw
    940 file	dev/ic/arcofi.c			arcofi
    941 
    942 # SPARC `SUNW,audiocs'
    943 #
    944 device	audiocs: audiobus, auconv, ad1848
    945 file	dev/ic/cs4231.c			audiocs
    946 
    947 # AC-97 CODECs
    948 #
    949 define	ac97
    950 file	dev/ic/ac97.c			ac97
    951 
    952 # UDA1341 CODEC support
    953 define	uda1341
    954 file	dev/ic/uda1341.c		uda1341
    955 
    956 # Oki MSM6258 support code
    957 #
    958 define msm6258
    959 file	dev/ic/msm6258.c		msm6258
    960 
    961 # LSI64854 DMA controller back-end
    962 #
    963 define	lsi64854
    964 file	dev/ic/lsi64854.c		lsi64854
    965 
    966 # Cirrus Logic CL-CD180/1864/1865 multi port serial controller back-end
    967 #
    968 define	cd18xx
    969 file	dev/ic/cd18xx.c			cd18xx
    970 
    971 # Realtek 8019/8029 NE2000-compatible network interface subroutines
    972 #
    973 define	rtl80x9
    974 file	dev/ic/rtl80x9.c		rtl80x9			needs-flag
    975 
    976 # Realtek 8129/8139 Ethernet controllers
    977 #
    978 device	rtk: ether, ifnet, arp, mii
    979 file	dev/ic/rtl81x9.c		rtk | re
    980 
    981 # Realtek 8169 Ethernet controllers
    982 #
    983 device	re: ether, ifnet, arp, mii
    984 file	dev/ic/rtl8169.c		re
    985 
    986 # Common code for ESDI/IDE/etc. controllers
    987 #
    988 define	wdc_common
    989 define	ata_dma
    990 define	ata_udma
    991 define	ata_piobm
    992 device	wdc: ata, wdc_common
    993 
    994 defflag opt_ata.h	ATADEBUG
    995 defparam opt_ata.h	ATADEBUG_MASK
    996 defflag opt_wdc.h	WDC_NO_IDS
    997 
    998 device	atabus: atapi,ata_hl
    999 attach	atabus at ata
   1000 # The strange expression is to dump ata_* definitions to ata_dma.h.
   1001 file	dev/ic/wdc.c			(ata_dma | ata_udma | ata_piobm | atabus) & atabus & wdc_common	needs-flag
   1002 
   1003 # Workbit NinjaATA-32 IDE controllers
   1004 device	njata: ata, ata_piobm, wdc_common
   1005 file	dev/ic/ninjaata32.c		njata
   1006 
   1007 # CHIPS and Technologies 82C7[12][01] Universal Peripheral Controller
   1008 #
   1009 device	upc { [offset = -1] }
   1010 attach	wdc at upc with wdc_upc
   1011 attach	com at upc with com_upc
   1012 attach	lpt at upc with lpt_upc
   1013 file	dev/ic/upc.c			upc
   1014 file	dev/ic/wdc_upc.c		wdc_upc
   1015 file	dev/ic/com_upc.c		com_upc
   1016 file	dev/ic/lpt_upc.c		lpt_upc
   1017 
   1018 # AHCI-compatible SATA controllers
   1019 define ahcisata_core
   1020 file dev/ic/ahcisata_core.c ahcisata_core
   1021 device ahcisata: ata, ata_dma, ata_udma, sata, sata_fis, sata_pmp, ahcisata_core
   1022 
   1023 # Silicon Image SteelVine SATA-II controllers
   1024 define	siisata
   1025 file	dev/ic/siisata.c		siisata
   1026 device	siisata: ata, ata_dma, ata_udma, sata, sata_fis, sata_pmp, siisata
   1027 
   1028 # Marvell Serial-ATA Host Controller
   1029 define mvsata
   1030 file dev/ic/mvsata.c			mvsata
   1031 device mvsata: ata, ata_dma, ata_udma, wdc_common, sata, sata_pmp, mvsata
   1032 defflag opt_mvsata.h		MVSATA_WITHOUTDMA
   1033 
   1034 # DECchip 21x4x Ethernet controller family, and assorted clones.
   1035 #
   1036 device	tlp: arp, ether, ifnet, mii, mii_bitbang
   1037 file	dev/ic/tulip.c			tlp
   1038 
   1039 # Adaptec AIC-6915 Ethernet interface
   1040 #
   1041 device	sf: arp, ether, ifnet, mii
   1042 file	dev/ic/aic6915.c		sf
   1043 
   1044 # Mostek time-of-day clock and NVRAM
   1045 #
   1046 define	mk48txx
   1047 file	dev/ic/mk48txx.c		mk48txx
   1048 
   1049 # OKI MSM6242B
   1050 #
   1051 define	msm6242b
   1052 file	dev/ic/msm6242b.c		msm6242b
   1053 
   1054 # Intersil 7170 time-of-day clock
   1055 #
   1056 define	intersil7170
   1057 file	dev/ic/intersil7170.c		intersil7170
   1058 
   1059 # National Semiconductor MM58167 time-of-day clock
   1060 #
   1061 define	mm58167
   1062 file	dev/ic/mm58167.c		mm58167
   1063 
   1064 # Motorola mc146818 (and compatible) time-of-day clock
   1065 #
   1066 define	mc146818
   1067 file	dev/ic/mc146818.c		mc146818
   1068 
   1069 # Ricoh RS5C313 time of-day-clock
   1070 #
   1071 define	rs5c313
   1072 file	dev/ic/rs5c313.c		rs5c313
   1073 
   1074 # D-Link DL10019/10022 NE2000-compatible network interface subroutines
   1075 #
   1076 define	dl10019
   1077 file	dev/ic/dl10019.c		dl10019
   1078 
   1079 # ASIX AX88190 NE2000-compatible network interface subroutines
   1080 #
   1081 define	ax88190
   1082 file	dev/ic/ax88190.c		ax88190
   1083 
   1084 # WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ
   1085 #
   1086 device	we: ether, ifnet, arp, dp8390nic
   1087 file	dev/ic/we.c			we
   1088 
   1089 # Allied-Telesis Ethernet driver based on Fujitsu MB8696xA controllers
   1090 #
   1091 device	ate: arp, ether, ifnet, mb86960
   1092 
   1093 # Fujitsu FMV-18x Ethernet driver based on Fujitsu MB8696xA controllers
   1094 #
   1095 device	fmv: arp, ether, ifnet, mb86960
   1096 file	dev/ic/fmv.c			fmv
   1097 
   1098 # Crystal Semiconductor CS8900, CS8920, and CS8920M Ethernet
   1099 #
   1100 device	cs: arp, ether, ifnet
   1101 device	tscs: arp, ether, ifnet
   1102 file	dev/ic/cs89x0.c			cs | tscs
   1103 
   1104 # Radio device attributes
   1105 #
   1106 define	tea5757
   1107 file	dev/ic/tea5757.c		tea5757
   1108 define	lm700x
   1109 file	dev/ic/lm700x.c			lm700x
   1110 
   1111 # Philips PCF8584 i2c controller
   1112 define	pcf8584
   1113 file	dev/ic/pcf8584.c		pcf8584
   1114 
   1115 # PCA9564 i2c controller
   1116 define	pca9564
   1117 file	dev/ic/pca9564.c		pca9564
   1118 
   1119 # ACPI power management timer (hardware access, independent of ACPI)
   1120 #
   1121 define acpipmtimer
   1122 file	dev/ic/acpipmtimer.c	acpipmtimer
   1123 
   1124 device 	hpet
   1125 file 	dev/ic/hpet.c		hpet			needs-flag
   1126 
   1127 # DesignWare timer
   1128 device	dwctmr
   1129 file	dev/ic/dwc_tmr.c	dwctmr
   1130 
   1131 # SMSC LAN9118 Family Ethernet Controller
   1132 #
   1133 device	smsh: arp, ether, ifnet, mii
   1134 file	dev/ic/lan9118.c		smsh
   1135 
   1136 # Apple System Management Controller
   1137 #
   1138 define	applesmcbus	{ }
   1139 device	applesmc: applesmcbus
   1140 file	dev/ic/apple_smc.c		applesmc
   1141 
   1142 # Apple SMC fan sensors and control
   1143 device	applesmcfan: applesmcbus, sysmon_envsys
   1144 attach	applesmcfan at applesmcbus with apple_smc_fan
   1145 file	dev/ic/apple_smc_fan.c		applesmcfan
   1146 
   1147 # Apple SMC temperature sensors
   1148 device	applesmctemp: applesmcbus, sysmon_envsys
   1149 attach	applesmctemp at applesmcbus with apple_smc_temp
   1150 file	dev/ic/apple_smc_temp.c		applesmctemp
   1151 
   1152 # Apple SMC accelerometer (not yet implemented!)
   1153 #device	applesmcaccel: applesmcbus, sysmon_envsys
   1154 #attach	applesmcaccel at applesmcbus with apple_smc_accel
   1155 #file	dev/ic/apple_smc_accel.c	applesmcaccel
   1156 
   1157 # DRM - Direct Rendering Infrastructure: dev/drm
   1158 define drm {}
   1159 include "external/bsd/drm/conf/files.drm"
   1160 include "dev/drm/files.drm"
   1161 
   1162 # Linux API support
   1163 include "external/bsd/common/conf/files.linux"
   1164 
   1165 # DRM/KMS - Newer direct rendering manager with kernel mode-switching
   1166 include "external/bsd/drm2/drm/files.drmkms"
   1167 
   1168 
   1169 # Definitions for wscons
   1170 # device attributes: display, display with emulator, keyboard, and mouse
   1171 #
   1172 define	wsdisplaydev		{[kbdmux = 1]}
   1173 define	wsemuldisplaydev	{[console = -1], [kbdmux = 1]}
   1174 define	wskbddev		{[console = -1], [mux = 1]}
   1175 define	wsmousedev		{[mux = 0]}
   1176 define	vcons
   1177 # attribute to pull in raster support
   1178 #
   1179 define	wsrasteremulops
   1180 # common PC display functions
   1181 #
   1182 defflag	opt_pcdisplay.h		PCDISPLAY_SOFTCURSOR
   1183 define	pcdisplayops
   1184 file	dev/ic/pcdisplay_subr.c	pcdisplayops
   1185 file	dev/ic/pcdisplay_chars.c	pcdisplayops
   1186 # an attribute used by arch specific config files to include /dev/fb* (or
   1187 # equivalent) support - on most archs this is just a NOP (untill, maybe
   1188 # someday when we might make /dev/fb* support MI)
   1189 define	fb
   1190 # VGA graphics
   1191 #
   1192 defparam opt_vga.h		VGA_CONSOLE_SCREENTYPE
   1193 defflag opt_vga.h 		VGA_CONSOLE_ATI_BROKEN_FONTSEL
   1194 defflag opt_vga.h		VGA_RASTERCONSOLE
   1195 defflag opt_vga.h		VGA_RESET
   1196 device	vga: displaydev, wsemuldisplaydev, pcdisplayops, drm
   1197 file	dev/ic/vga.c		vga & !vga_rasterconsole	needs-flag
   1198 file	dev/ic/vga_raster.c	vga_rasterconsole		needs-flag
   1199 file	dev/ic/vga_subr.c	vga | vga_rasterconsole
   1200 file	dev/ic/vga_common.c	vga | vga_rasterconsole
   1201 
   1202 # Integraphics Systems IGA168x and CyberPro framebuffers (linear non-VGA mode)
   1203 #
   1204 device	igsfb: wsemuldisplaydev, rasops8, vcons, videomode
   1205 file	dev/ic/igsfb.c			igsfb			needs-flag
   1206 file	dev/ic/igsfb_subr.c		igsfb
   1207 
   1208 device	chipsfb: wsemuldisplaydev, rasops8, vcons, videomode
   1209 file	dev/ic/ct65550.c		chipsfb
   1210 defflag	opt_chipsfb.h	CHIPSFB_DEBUG
   1211 defflag	opt_chipsfb.h	CHIPSFB_WAIT
   1212 
   1213 # STI (hp graphics)
   1214 device	sti: wsemuldisplaydev
   1215 file	dev/ic/sti.c		sti
   1216 
   1217 include "dev/wscons/files.wscons"
   1218 include "dev/rasops/files.rasops"
   1219 include "dev/wsfont/files.wsfont"
   1220 include "dev/wsfb/files.wsfb"
   1221 
   1222 # Attributes which machine-independent bus support can be attached to.
   1223 # These should be defined here, because some of these busses can have
   1224 # devices which provide these attributes, and we'd like to avoid hairy
   1225 # ordering constraints on inclusion of the busses' "files" files.
   1226 #
   1227 define	isabus	{ }			# ISA attachment
   1228 define	eisabus	{ }			# EISA attachment
   1229 define	pcibus	{[bus = -1]}		# PCI attachment
   1230 define	tcbus	{ }			# TurboChannel attachment
   1231 define	mcabus	{ }			# MicroChannel attachment
   1232 define	usbus	{ }			# USB attachment
   1233 define	fwbus	{ }			# IEEE 1394 attachment
   1234 define	vmebus	{ }			# VME bus attachment
   1235 define	acpibus	{ }			# ACPI "bus" attachment
   1236 define	pcmciabus { [controller = -1], [socket = -1]}	# PCMCIA bus attachment
   1237 define	cbbus	{ }			# CardBus attachment
   1238 define	pcmciaslot { }			# PCMCIA slot itself
   1239 define	sdmmcbus { }			# SD/MMC attachment
   1240 
   1241 # We need the USB bus controllers here so different busses can
   1242 # use them in an 'attach-with'.
   1243 #
   1244 
   1245 define	usbroothub
   1246 file	dev/usb/usbroothub.c	usbroothub
   1247 
   1248 define	usb_dma
   1249 
   1250 # UHCI USB controller
   1251 #
   1252 device	uhci: usbus, usbroothub, usb_dma
   1253 file	dev/usb/uhci.c			uhci			needs-flag
   1254 
   1255 # OHCI USB controller
   1256 #
   1257 device	ohci: usbus, usbroothub, usb_dma
   1258 file	dev/usb/ohci.c			ohci			needs-flag
   1259 
   1260 # EHCI USB2 controller
   1261 #
   1262 device	ehci: usbus, usbroothub, usb_dma
   1263 file	dev/usb/ehci.c			ehci			needs-flag
   1264 
   1265 # xHCI USB3 controller
   1266 #
   1267 device	xhci: usbus, usbroothub, usb_dma
   1268 file	dev/usb/xhci.c			xhci			needs-flag
   1269 
   1270 # Mentor graphics OTG IP
   1271 defflag	opt_motg.h	MOTG_ALLWINNER
   1272 device	motg: usbus, usbroothub
   1273 file	dev/usb/motg.c			motg			needs-flag
   1274 
   1275 # SL811HS/T USB controller
   1276 defflag	opt_slhci.h	SLHCI_TRY_LSVH SLHCI_PROFILE_TRANSFER
   1277 device	slhci: usbus, usbroothub
   1278 file	dev/ic/sl811hs.c		slhci			needs-flag
   1279 
   1280 # DesignWare OTG host controller
   1281 #
   1282 include "external/bsd/dwc2/conf/files.dwc2"
   1283 
   1284 # USB HID processing (as used by bluetooth and usb code)
   1285 define	hid
   1286 file	dev/usb/hid.c			hid
   1287 
   1288 # SD Host controller
   1289 device	sdhc: sdmmcbus
   1290 file	dev/sdmmc/sdhc.c		sdhc			needs-flag
   1291 
   1292 # Winbond Integrated Media Reader
   1293 device	wb: sdmmcbus
   1294 file	dev/ic/w83l518d.c		wb
   1295 file	dev/ic/w83l518d_sdmmc.c		wb
   1296 
   1297 # Realtek RTS5209/RTS5229 Card Reader
   1298 device	rtsx: sdmmcbus
   1299 file	dev/ic/rtsx.c			rtsx
   1300 
   1301 # DesignWare SD/MMC host controller
   1302 defflag	opt_dwc_mmc.h	DWC_MMC_DEBUG
   1303 device	dwcmmc: sdmmcbus
   1304 file	dev/ic/dwc_mmc.c		dwcmmc
   1305 
   1306 # ARM PrimeCell PL181 (MMCI) host controller
   1307 device	plmmc: sdmmcbus
   1308 file	dev/ic/pl181.c			plmmc
   1309 
   1310 # Myson MTD803 3-in-1 Fast Ethernet Controller
   1311 device	mtd: arp, ether, ifnet, mii
   1312 file	dev/ic/mtd803.c			mtd
   1313 
   1314 # radio devices, attaches to radio hardware driver
   1315 device	radio
   1316 attach	radio at radiodev
   1317 
   1318 # IEEE 1394 controllers
   1319 # (These need to be here since it will have both PCI and CardBus attachments)
   1320 #
   1321 device	fwohci: fwbus
   1322 
   1323 # Sony Programmable I/O Controller
   1324 device	spic: wsmousedev
   1325 file	dev/ic/spic.c			spic
   1326 
   1327 # IBM CPC700 PowerPC bridge
   1328 define	cpcbus { addr, [irq=-1] }
   1329 device	cpc: cpcbus, pcibus
   1330 file	dev/ic/cpc700.c			cpc
   1331 
   1332 attach	com at cpcbus with com_cpcbus
   1333 file	dev/ic/com_cpcbus.c		com_cpcbus
   1334 
   1335 device	cpctim
   1336 attach	cpctim at cpcbus
   1337 file	dev/ic/timer_cpcbus.c		cpctim
   1338 
   1339 device	cpciic
   1340 attach	cpciic at cpcbus with iic_cpcbus
   1341 file	dev/ic/iic_cpcbus.c		iic_cpcbus
   1342 
   1343 
   1344 # Attributes used by the ISDN subsystem
   1345 #
   1346 define	isdndev		# the ISDN subsystem
   1347 define	passive_isdn	# files needed by passive cards (XXX - protocol
   1348 			# specific)
   1349 define	isdncapi	# ISDN CAPI (http://www.capi.org/)
   1350 
   1351 # The isac found on the Fritz V2.0 Card.
   1352 define	nisacsx
   1353 file	dev/ic/isacsx.c			nisacsx	needs-flag
   1354 
   1355 # The 'standard' isac
   1356 define	nisac
   1357 file	dev/ic/isac.c			nisac	needs-flag
   1358 
   1359 # ISDN cards based on the Siemens ISAC/HSCX chipset (or lookalikes)
   1360 #
   1361 device	isic: isdndev, passive_isdn, nisac
   1362 
   1363 file	dev/ic/isic.c			isic
   1364 file	dev/ic/isic_l1.c		isic|ifpci|ifritz
   1365 file	dev/ic/isic_l1fsm.c		isic|ifpci|ifritz
   1366 file	dev/ic/hscx.c			isic
   1367 file	dev/ic/isic_bchan.c		isic
   1368 
   1369 # (old) Diehl active ISDN cards
   1370 #
   1371 #device	daic: isdndev
   1372 #file	dev/ic/daic.c			daic
   1373 
   1374 # AWM B1/T1
   1375 # XXX: passive_isdn
   1376 device	iavc: isdndev, isdncapi, passive_isdn
   1377 file	dev/ic/iavc.c			iavc
   1378 
   1379 # Broadcom AirForce / Apple Airport Extreme
   1380 device	bwi: arp, ifnet, firmload, wlan
   1381 file	dev/ic/bwi.c			bwi
   1382 
   1383 # DM9000 Ethernet controllers
   1384 #
   1385 device	dme: arp, ether, ifnet
   1386 file	dev/ic/dm9000.c			dme
   1387 
   1388 # NVM Express Controller
   1389 #
   1390 device	nvme {nsid = -1}
   1391 file	dev/ic/nvme.c			nvme
   1392 
   1393 attach	ld at nvme with ld_nvme
   1394 file	dev/ic/ld_nvme.c		ld_nvme
   1395 
   1396 # legitimate pseudo-devices
   1397 #
   1398 defpseudodev vnd:	disk
   1399 defflag opt_vnd.h	VND_COMPRESSION
   1400 defpseudo ccd:		disk
   1401 defpseudodev cgd:	disk, des, blowfish, cast128
   1402 defpseudodev md:	disk
   1403 defpseudodev fss:	disk
   1404 
   1405 defpseudo pty:		tty
   1406 defpseudo rnd
   1407 defpseudo ksyms
   1408 defpseudo nullcons
   1409 defpseudo lockstat
   1410 defpseudo bio:		sysmon_envsys
   1411 
   1412 defpseudo loop:		ifnet
   1413 defpseudo sl:		ifnet
   1414 defpseudo ppp:		ifnet, bpf_filter
   1415 defpseudo pppoe:	ifnet, ether, sppp
   1416 defpseudo tun:		ifnet
   1417 defpseudo vlan:		ifnet, ether
   1418 defpseudo bridge:	ifnet, ether
   1419 defpseudo bpfilter:	ifnet, bpf_filter
   1420 defpseudo strip:	ifnet
   1421 defpseudo gre:		ifnet
   1422 defpseudo gif:		ifnet
   1423 defpseudo faith:	ifnet
   1424 defpseudo mpls:		ifnet
   1425 defpseudo srt:		ifnet
   1426 defpseudo stf:		ifnet
   1427 defpseudodev tap:	ifnet, ether, arp
   1428 defpseudo carp:		ifnet, ether, arp
   1429 defpseudodev etherip:	ifnet, ether, arp
   1430 
   1431 defpseudo sequencer
   1432 defpseudo clockctl
   1433 
   1434 #
   1435 # Accept filters.  XXX should use another registration/initialization method.
   1436 #
   1437 defpseudo accf_data
   1438 defpseudo accf_http
   1439 
   1440 # ISDN userland pseudo devices
   1441 #
   1442 defpseudo isdntrc:	isdndev, tty
   1443 defpseudo isdnbchan:	isdndev, tty
   1444 defpseudo isdntel:	isdndev, tty
   1445 defpseudo isdnctl:	isdndev, tty
   1446 defpseudo isdn:		isdndev, tty
   1447 
   1448 # ISDN network interfaces
   1449 defpseudo irip:		isdndev, ifnet
   1450 defflag opt_irip.h	IRIP_VJ
   1451 defpseudo ippp:		isdndev, sppp, ifnet
   1452 
   1453 # KTTCP network throughput testing pseudo-device
   1454 defpseudo kttcp
   1455 file	dev/kttcp.c			kttcp		needs-flag
   1456 
   1457 # Veriexec
   1458 defpseudo veriexec
   1459 file	kern/kern_veriexec.c	veriexec
   1460 file	dev/veriexec.c		veriexec	needs-flag
   1461 
   1462 # driver attach / detach user interface
   1463 defpseudo drvctl
   1464 file	kern/kern_drvctl.c		drvctl		needs-flag
   1465 
   1466 # cpu control
   1467 defpseudo cpuctl
   1468 defflag				CPU_UCODE: firmload
   1469 
   1470 # pass-to-userspace transporter
   1471 defpseudo putter
   1472 file	dev/putter/putter.c		putter
   1473 
   1474 # userspace block/char device drivers
   1475 defpseudo pud
   1476 file	dev/pud/pud.c			pud
   1477 file	dev/pud/pud_dev.c		pud
   1478 
   1479 # device-mapper driver for LVM
   1480 include "dev/dm/files.dm"
   1481 
   1482 #
   1483 # File systems
   1484 #
   1485 include "coda/files.coda"
   1486 include "fs/adosfs/files.adosfs"
   1487 include "fs/cd9660/files.cd9660"
   1488 include "fs/efs/files.efs"
   1489 include "fs/filecorefs/files.filecorefs"
   1490 include "fs/hfs/files.hfs"
   1491 include "fs/msdosfs/files.msdosfs"
   1492 include "fs/nilfs/files.nilfs"
   1493 include "fs/ntfs/files.ntfs"
   1494 include "fs/ptyfs/files.ptyfs"
   1495 include "fs/puffs/files.puffs"
   1496 include "fs/udf/files.udf"
   1497 include "fs/smbfs/files.smbfs"
   1498 include "fs/sysvbfs/files.sysvbfs"
   1499 include "fs/tmpfs/files.tmpfs"
   1500 include "fs/union/files.union"
   1501 include "fs/v7fs/files.v7fs"
   1502 include "miscfs/fdesc/files.fdesc"
   1503 include "miscfs/kernfs/files.kernfs"
   1504 include "miscfs/nullfs/files.nullfs"
   1505 include "miscfs/overlay/files.overlay"
   1506 include "miscfs/procfs/files.procfs"
   1507 include "miscfs/umapfs/files.umapfs"
   1508 include "nfs/files.nfs"
   1509 include "ufs/files.ufs"
   1510 
   1511 #
   1512 # UVM (virtual memory)
   1513 #
   1514 include "uvm/files.uvm"
   1515 
   1516 #
   1517 # Security models
   1518 #
   1519 include "secmodel/files.secmodel"
   1520 
   1521 include "kern/files.kern"
   1522 
   1523 include "dev/files.dev"
   1524 
   1525 include "net/files.net"
   1526 
   1527 # Game adapter (joystick)
   1528 device	joy
   1529 file	dev/ic/joy.c			joy needs-flag
   1530 
   1531 # process monitor for make(1)
   1532 # normally built as module
   1533 defpseudo filemon
   1534 file	dev/filemon/filemon.c		filemon
   1535 file	dev/filemon/filemon_wrapper.c	filemon
   1536 
   1537 #
   1538 # General Purpose Input/Output framework
   1539 #
   1540 define	onewire_bitbang
   1541 include	"dev/gpio/files.gpio"
   1542 
   1543 include "dev/onewire/files.onewire"
   1544 
   1545 #
   1546 # Pseudo audio device
   1547 #
   1548 include "dev/pad/files.pad"
   1549 
   1550 #
   1551 # Intel 386 Real Mode emulator
   1552 #
   1553 include "lib/libx86emu/files.x86emu"
   1554 
   1555 #
   1556 # "tprof" profiler.
   1557 #
   1558 include	"dev/tprof/files.tprof"
   1559 
   1560 #
   1561 # alternate memory device
   1562 #
   1563 include "dev/altmem/files.altmem"
   1564 
   1565 #
   1566 # Flash subsystem
   1567 #
   1568 include "dev/flash/files.flash"
   1569 
   1570 #
   1571 # NAND subsytem
   1572 #
   1573 include "dev/nand/files.nand"
   1574 
   1575 #
   1576 # NOR subsytem
   1577 #
   1578 include "dev/nor/files.nor"
   1579 
   1580 #
   1581 # iscsi
   1582 #
   1583 include "dev/iscsi/files.iscsi"
   1584 
   1585 #
   1586 # athn
   1587 #
   1588 include "dev/ic/files.athn"
   1589 
   1590 #
   1591 # MI clk api
   1592 #
   1593 include "dev/clk/files.clk"
   1594