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