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