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