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