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