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