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