1# 2# GENERIC -- Generic kernel configuration file for FreeBSD/amd64 3# 4# For more information on this file, please read the config(5) manual page, 5# and/or the handbook section on Kernel Configuration Files: 6# 7# https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 8# 9# The handbook is also available locally in /usr/share/doc/handbook 10# if you've installed the doc distribution, otherwise always see the 11# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the 12# latest information. 13# 14# An exhaustive list of options and more detailed explanations of the 15# device lines is also present in the ../../conf/NOTES and NOTES files. 16# If you are in doubt as to the purpose or necessity of a line, check first 17# in NOTES. 18# 19 20cpu HAMMER 21ident GENERIC 22 23makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 24makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support 25 26options SCHED_ULE # ULE scheduler 27options SCHED_4BSD # Original 4.xBSD scheduler 28options NUMA # Non-Uniform Memory Architecture support 29options PREEMPTION # Enable kernel thread preemption 30options EXTERR_STRINGS 31options VIMAGE # Subsystem virtualization, e.g. VNET 32options INET # InterNETworking 33options INET6 # IPv6 communications protocols 34options IPSEC_SUPPORT # Allow kldload of ipsec and tcpmd5 35options IPSEC_OFFLOAD # Inline ipsec offload infra 36options FIB_ALGO # Modular fib lookups 37options TCP_OFFLOAD # TCP offload 38options TCP_BLACKBOX # Enhanced TCP event logging 39options TCP_HHOOK # hhook(9) framework for TCP 40options TCP_RFC7413 # TCP Fast Open 41options SCTP_SUPPORT # Allow kldload of SCTP 42options KERN_TLS # TLS transmit & receive offload 43options FFS # Berkeley Fast Filesystem 44options SOFTUPDATES # Enable FFS soft updates support 45options UFS_ACL # Support for access control lists 46options UFS_DIRHASH # Improve performance on big directories 47options UFS_GJOURNAL # Enable gjournal-based UFS journaling 48options QUOTA # Enable disk quotas for UFS 49options MD_ROOT # MD is a potential root device 50options NFSCL # Network Filesystem Client 51options NFSD # Network Filesystem Server 52options NFSLOCKD # Network Lock Manager 53options NFS_ROOT # NFS usable as /, requires NFSCL 54options MSDOSFS # MSDOS Filesystem 55options CD9660 # ISO 9660 Filesystem 56options PROCFS # Process filesystem (requires PSEUDOFS) 57options PSEUDOFS # Pseudo-filesystem framework 58options TMPFS # Efficient memory filesystem 59options GEOM_RAID # Soft RAID functionality. 60options GEOM_LABEL # Provides labelization 61options EFIRT # EFI Runtime Services support 62options COMPAT_FREEBSD32 # Compatible with i386 binaries 63options COMPAT_FREEBSD4 # Compatible with FreeBSD4 64options COMPAT_FREEBSD5 # Compatible with FreeBSD5 65options COMPAT_FREEBSD6 # Compatible with FreeBSD6 66options COMPAT_FREEBSD7 # Compatible with FreeBSD7 67options COMPAT_FREEBSD9 # Compatible with FreeBSD9 68options COMPAT_FREEBSD10 # Compatible with FreeBSD10 69options COMPAT_FREEBSD11 # Compatible with FreeBSD11 70options COMPAT_FREEBSD12 # Compatible with FreeBSD12 71options COMPAT_FREEBSD13 # Compatible with FreeBSD13 72options COMPAT_FREEBSD14 # Compatible with FreeBSD14 73options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 74options KTRACE # ktrace(1) support 75options STACK # stack(9) support 76options SYSVSHM # SYSV-style shared memory 77options SYSVMSG # SYSV-style message queues 78options SYSVSEM # SYSV-style semaphores 79options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 80options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 81options KBD_INSTALL_CDEV # install a CDEV entry in /dev 82options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 83options AUDIT # Security event auditing 84options CAPABILITY_MODE # Capsicum capability mode 85options CAPABILITIES # Capsicum capabilities 86options MAC # TrustedBSD MAC Framework 87options KDTRACE_FRAME # Ensure frames are compiled in 88options KDTRACE_HOOKS # Kernel DTrace hooks 89options DDB_CTF # Kernel ELF linker loads CTF data 90options INCLUDE_CONFIG_FILE # Include this file in kernel 91options RACCT # Resource accounting framework 92options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default 93options RCTL # Resource limits 94 95# Debugging support. Always need this: 96options KDB # Enable kernel debugger support. 97options KDB_TRACE # Print a stack trace for a panic. 98# For full debugger support use (turn off in stable branch): 99include "std.debug" 100 101# Compression support 102options GZIO # gzip (dumps) 103options ZSTDIO # zstd (dumps, tarfs, uzip, zfs) 104 105# Kernel dump features. 106options EKCD # Support for encrypted kernel dumps 107options DEBUGNET # debugnet networking 108options NETDUMP # netdump(4) client support 109options NETGDB # netgdb(4) client support 110 111# Make an SMP-capable kernel by default 112options SMP # Symmetric MultiProcessor Kernel 113 114# CPU frequency control 115device cpufreq 116 117# Bus support. 118device acpi 119device smbios 120options IOMMU 121device pci 122options PCI_HP # PCI-Express native HotPlug 123options PCI_IOV # PCI SR-IOV support 124 125options COMPAT_LINUXKPI 126 127# Enable support for the kernel PLL to use an external PPS signal, 128# under supervision of [x]ntpd(8) 129# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp 130 131options PPS_SYNC 132 133# Floppy drives 134device fdc 135 136# ATA controllers 137device ahci # AHCI-compatible SATA controllers 138device ata # Legacy ATA/SATA controllers 139device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA 140device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA 141 142# SCSI Controllers 143device ahc # AHA2940 and onboard AIC7xxx devices 144device ahd # AHA39320/29320 and onboard AIC79xx devices 145device hptiop # Highpoint RocketRaid 3xxx series 146device isp # Qlogic family 147#device ispfw # Firmware for QLogic HBAs- normally a module 148device mpt # LSI-Logic MPT-Fusion 149device mps # LSI-Logic MPT-Fusion 2 150device mpr # LSI-Logic MPT-Fusion 3 151device mpi3mr # LSI-Logic MPT-Fusion 4 152device sym # NCR/Symbios Logic 153device isci # Intel C600 SAS controller 154device ocs_fc # Emulex FC adapters 155device pvscsi # VMware PVSCSI 156 157# ATA/SCSI peripherals 158device scbus # SCSI bus (required for ATA/SCSI) 159device ch # SCSI media changers 160device da # Direct Access (disks) 161device sa # Sequential Access (tape etc) 162device cd # CD 163device pass # Passthrough device (direct ATA/SCSI access) 164device ses # Enclosure Services (SES and SAF-TE) 165#device ctl # CAM Target Layer 166 167# RAID controllers interfaced to the SCSI subsystem 168device arcmsr # Areca SATA II RAID 169device ciss # Compaq Smart RAID 5* 170device ips # IBM (Adaptec) ServeRAID 171device smartpqi # Microsemi smartpqi driver 172device tws # LSI 3ware 9750 SATA+SAS 6Gb/s RAID controller 173 174# RAID controllers 175device aac # Adaptec FSA RAID 176device aacp # SCSI passthrough for aac (requires CAM) 177device aacraid # Adaptec by PMC RAID 178device ida # Compaq Smart RAID 179device mfi # LSI MegaRAID SAS 180device mlx # Mylex DAC960 family 181device mrsas # LSI/Avago MegaRAID SAS/SATA, 6Gb/s and 12Gb/s 182#XXX pointer/int warnings 183#device pst # Promise Supertrak SX6000 184 185# NVM Express (NVMe) support 186device nvme # base NVMe driver 187device nvd # expose NVMe namespaces as disks, depends on nvme 188 189# Universal Flash Storage Host Controller Interface support 190device ufshci # UFS host controller 191 192# Intel Volume Management Device (VMD) support 193device vmd 194 195# atkbdc0 controls both the keyboard and the PS/2 mouse 196device atkbdc # AT keyboard controller 197device atkbd # AT keyboard 198device psm # PS/2 mouse 199 200device kbdmux # keyboard multiplexer 201 202# syscons is the legacy console driver, resembling an SCO console 203device vga # VGA video card driver 204device splash # Splash screen and screen saver support 205device sc 206options SC_PIXEL_MODE # add support for the raster text mode 207 208# vt is the default video console driver 209device vt 210device vt_vga 211device vt_efifb 212device vt_vbefb 213 214device agp # support several AGP chipsets 215 216# CardBus bridge support 217device cbb # CardBus (yenta) bridge 218device cardbus # CardBus (32-bit) bus 219 220# Serial (COM) ports 221device uart # Generic UART driver 222 223# Parallel port 224device ppc 225device ppbus # Parallel port bus (required) 226device lpt # Printer 227device ppi # Parallel port interface device 228#device vpo # Requires scbus and da 229 230device puc # Multi I/O cards and multi-channel UARTs 231 232# MDIO bus for Ethernet NICs that directly expose the MDIO bus 233device mdio 234 235# PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure 236device iflib 237device em # Intel PRO/1000 Gigabit Ethernet Family 238device igc # Intel I225 2.5G Ethernet 239device ix # Intel PRO/10GbE PCIE PF Ethernet 240device ixv # Intel PRO/10GbE PCIE VF Ethernet 241device ixl # Intel 700 Series Physical Function 242device iavf # Intel Adaptive Virtual Function 243device ice # Intel 800 Series Physical Function 244device vmx # VMware VMXNET3 Ethernet 245device axp # AMD EPYC integrated NIC (requires miibus) 246 247# PCI Ethernet NICs. 248device aq # Aquantia / Marvell AQC1xx 249device bxe # Broadcom NetXtreme II BCM5771X/BCM578XX 10GbE 250device rge # Realtek 8125/8126/8127 251device ti # Alteon Networks Tigon I/II gigabit Ethernet 252 253# Nvidia/Mellanox Connect-X 4 and later, Ethernet only 254# o requires COMPAT_LINUXKPI and xz(4) 255# o mlx5ib requires ibcore infra and is not included by default 256device mlx5 # Base driver 257device mlxfw # Firmware update 258device mlx5en # Ethernet driver 259 260# PCI Ethernet NICs that use the common MII bus controller code. 261# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! 262device miibus # MII bus support 263device ae # Attansic/Atheros L2 FastEthernet 264device age # Attansic/Atheros L1 Gigabit Ethernet 265device alc # Atheros AR8131/AR8132 Ethernet 266device ale # Atheros AR8121/AR8113/AR8114 Ethernet 267device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet 268device bfe # Broadcom BCM440x 10/100 Ethernet 269device bge # Broadcom BCM570xx Gigabit Ethernet 270device cas # Sun Cassini/Cassini+ and NS DP83065 Saturn 271device dc # DEC/Intel 21143 and various workalikes 272device et # Agere ET1310 10/100/Gigabit Ethernet 273device fxp # Intel EtherExpress PRO/100B (82557, 82558) 274device gem # Sun GEM/Sun ERI/Apple GMAC 275device jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet 276device lge # Level 1 LXT1001 gigabit Ethernet 277device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet 278device nfe # nVidia nForce MCP on-board Ethernet 279device nge # NatSemi DP83820 gigabit Ethernet 280device re # Realtek 8139C+/8169/8169S/8110S 281device rl # Realtek 8129/8139 282device sge # Silicon Integrated Systems SiS190/191 283device sis # Silicon Integrated Systems SiS 900/SiS 7016 284device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet 285device ste # Sundance ST201 (D-Link DFE-550TX) 286device stge # Sundance/Tamarack TC9021 gigabit Ethernet 287device vge # VIA VT612x gigabit Ethernet 288device vr # VIA Rhine, Rhine II 289device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') 290 291# Wireless NIC cards 292device wlan # 802.11 support 293options IEEE80211_DEBUG # enable debug msgs 294options IEEE80211_SUPPORT_MESH # enable 802.11s draft support 295device wlan_wep # 802.11 WEP support 296device wlan_tkip # 802.11 TKIP support 297device wlan_ccmp # 802.11 CCMP support 298device wlan_gcmp # 802.11 GCMP support 299device wlan_amrr # AMRR transmit rate control algorithm 300device ath # Atheros CardBus/PCI NICs 301device ath_hal # Atheros CardBus/PCI chip support 302options AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation 303device ath_rate_sample # SampleRate tx rate control for ath 304#device bwi # Broadcom BCM430x/BCM431x wireless NICs. 305#device bwn # Broadcom BCM43xx wireless NICs. 306device ipw # Intel 2100 wireless NICs. 307device iwi # Intel 2200BG/2225BG/2915ABG wireless NICs. 308device iwn # Intel 4965/1000/5000/6000 wireless NICs. 309device malo # Marvell Libertas wireless NICs. 310device mwl # Marvell 88W8363 802.11n wireless NICs. 311device ral # Ralink Technology RT2500 wireless NICs. 312device wpi # Intel 3945ABG wireless NICs. 313 314# Pseudo devices. 315device crypto # core crypto support 316device aesni # AES-NI OpenCrypto module 317device loop # Network loopback 318device ether # Ethernet support 319device vlan # 802.1Q VLAN support 320device tuntap # Packet tunnel. 321device md # Memory "disks" 322device gif # IPv6 and IPv4 tunneling 323device firmware # firmware assist module 324device xz # lzma decompression 325 326# The `bpf' device enables the Berkeley Packet Filter. 327# Be aware of the administrative consequences of enabling this! 328# Note that 'bpf' is required for DHCP. 329device bpf # Berkeley packet filter 330 331# random(4) 332device rdrand_rng # Intel Bull Mountain RNG 333# Disabled for now since tpm(4) breaks suspend/resume. 334#device tpm # Trusted Platform Module 335options RANDOM_ENABLE_TPM # enable entropy from TPM 2.0 336options RANDOM_ENABLE_KBD 337options RANDOM_ENABLE_MOUSE 338 339# USB support 340options USB_DEBUG # enable debug msgs 341device uhci # UHCI PCI->USB interface 342device ohci # OHCI PCI->USB interface 343device ehci # EHCI PCI->USB interface (USB 2.0) 344device xhci # XHCI PCI->USB interface (USB 3.0) 345device usb # USB Bus (required) 346device usbhid # USB HID Transport 347device hkbd # HID Keyboard 348device ukbd # USB Keyboard 349device umass # Disks/Mass storage - Requires scbus and da 350 351# Sound support 352device sound # Generic sound driver (required) 353device snd_cmi # CMedia CMI8338/CMI8738 354device snd_csa # Crystal Semiconductor CS461x/428x 355device snd_emu10kx # Creative SoundBlaster Live! and Audigy 356device snd_es137x # Ensoniq AudioPCI ES137x 357device snd_hda # Intel High Definition Audio 358device snd_ich # Intel, NVidia and other ICH AC'97 Audio 359device snd_via8233 # VIA VT8233x Audio 360 361# MMC/SD 362device mmc # MMC/SD bus 363device mmcsd # MMC/SD memory card 364device sdhci # Generic PCI SD Host Controller 365 366# VirtIO support 367device virtio # Generic VirtIO bus (required) 368device virtio_pci # VirtIO PCI device 369device vtnet # VirtIO Ethernet device 370device virtio_blk # VirtIO Block device 371device virtio_scsi # VirtIO SCSI device 372device virtio_balloon # VirtIO Memory Balloon device 373 374# Linux KVM paravirtualization support 375device kvm_clock # KVM paravirtual clock driver 376 377# HyperV drivers and enhancement support 378device hyperv # HyperV drivers 379 380# Xen HVM Guest Optimizations 381# NOTE: XENHVM depends on xenpci and xentimer. 382# They must be added or removed together. 383options XENHVM # Xen HVM kernel infrastructure 384device xenefi # Xen EFI timer device 385device xenpci # Xen HVM Hypervisor services driver 386device xentimer # Xen x86 PV timer device 387 388# Netmap provides direct access to TX/RX rings on supported NICs 389device netmap # netmap(4) support 390 391# evdev interface 392options EVDEV_SUPPORT # evdev support in legacy drivers 393device evdev # input event device support 394device uinput # install /dev/uinput cdev 395 396# HID support 397options HID_DEBUG # enable debug msgs 398device hid # Generic HID support 399device hidbus # Generic HID Bus 400options IICHID_SAMPLING # Workaround missing GPIO INTR support 401 402# EFI devices 403device efidev # EFI pseudo-device 404device efirtc # EFI RTC 405