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