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