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