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