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