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 NUMA # Non-Uniform Memory Architecture support 28options PREEMPTION # Enable kernel thread preemption 29options EXTERR_STRINGS 30options VIMAGE # Subsystem virtualization, e.g. VNET 31options INET # InterNETworking 32options INET6 # IPv6 communications protocols 33options IPSEC_SUPPORT # Allow kldload of ipsec and tcpmd5 34options IPSEC_OFFLOAD # Inline ipsec offload infra 35options ROUTE_MPATH # Multipath routing support 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# Kernel dump features. 102options EKCD # Support for encrypted kernel dumps 103options GZIO # gzip-compressed kernel and user dumps 104options ZSTDIO # zstd-compressed kernel and user dumps 105options DEBUGNET # debugnet networking 106options NETDUMP # netdump(4) client support 107options NETGDB # netgdb(4) client support 108 109# Make an SMP-capable kernel by default 110options SMP # Symmetric MultiProcessor Kernel 111 112# CPU frequency control 113device cpufreq 114 115# Bus support. 116device acpi 117device smbios 118options IOMMU 119device pci 120options PCI_HP # PCI-Express native HotPlug 121options PCI_IOV # PCI SR-IOV support 122 123options COMPAT_LINUXKPI 124 125# Enable support for the kernel PLL to use an external PPS signal, 126# under supervision of [x]ntpd(8) 127# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp 128 129options PPS_SYNC 130 131# Floppy drives 132device fdc 133 134# ATA controllers 135device ahci # AHCI-compatible SATA controllers 136device ata # Legacy ATA/SATA controllers 137device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA 138device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA 139 140# SCSI Controllers 141device ahc # AHA2940 and onboard AIC7xxx devices 142device ahd # AHA39320/29320 and onboard AIC79xx devices 143device hptiop # Highpoint RocketRaid 3xxx series 144device isp # Qlogic family 145#device ispfw # Firmware for QLogic HBAs- normally a module 146device mpt # LSI-Logic MPT-Fusion 147device mps # LSI-Logic MPT-Fusion 2 148device mpr # LSI-Logic MPT-Fusion 3 149device mpi3mr # LSI-Logic MPT-Fusion 4 150device sym # NCR/Symbios Logic 151device isci # Intel C600 SAS controller 152device ocs_fc # Emulex FC adapters 153device pvscsi # VMware PVSCSI 154 155# ATA/SCSI peripherals 156device scbus # SCSI bus (required for ATA/SCSI) 157device ch # SCSI media changers 158device da # Direct Access (disks) 159device sa # Sequential Access (tape etc) 160device cd # CD 161device pass # Passthrough device (direct ATA/SCSI access) 162device ses # Enclosure Services (SES and SAF-TE) 163#device ctl # CAM Target Layer 164 165# RAID controllers interfaced to the SCSI subsystem 166device arcmsr # Areca SATA II RAID 167device ciss # Compaq Smart RAID 5* 168device ips # IBM (Adaptec) ServeRAID 169device smartpqi # Microsemi smartpqi driver 170device tws # LSI 3ware 9750 SATA+SAS 6Gb/s RAID controller 171 172# RAID controllers 173device aac # Adaptec FSA RAID 174device aacp # SCSI passthrough for aac (requires CAM) 175device aacraid # Adaptec by PMC RAID 176device ida # Compaq Smart RAID 177device mfi # LSI MegaRAID SAS 178device mlx # Mylex DAC960 family 179device mrsas # LSI/Avago MegaRAID SAS/SATA, 6Gb/s and 12Gb/s 180#XXX pointer/int warnings 181#device pst # Promise Supertrak SX6000 182 183# NVM Express (NVMe) support 184device nvme # base NVMe driver 185device nvd # expose NVMe namespaces as disks, depends on nvme 186 187# Universal Flash Storage Host Controller Interface support 188device ufshci # UFS host controller 189 190# Intel Volume Management Device (VMD) support 191device vmd 192 193# atkbdc0 controls both the keyboard and the PS/2 mouse 194device atkbdc # AT keyboard controller 195device atkbd # AT keyboard 196device psm # PS/2 mouse 197 198device kbdmux # keyboard multiplexer 199 200# syscons is the legacy console driver, resembling an SCO console 201device vga # VGA video card driver 202device splash # Splash screen and screen saver support 203device sc 204options SC_PIXEL_MODE # add support for the raster text mode 205 206# vt is the default video console driver 207device vt 208device vt_vga 209device vt_efifb 210device vt_vbefb 211 212device agp # support several AGP chipsets 213 214# CardBus bridge support 215device cbb # CardBus (yenta) bridge 216device cardbus # CardBus (32-bit) bus 217 218# Serial (COM) ports 219device uart # Generic UART driver 220 221# Parallel port 222device ppc 223device ppbus # Parallel port bus (required) 224device lpt # Printer 225device ppi # Parallel port interface device 226#device vpo # Requires scbus and da 227 228device puc # Multi I/O cards and multi-channel UARTs 229 230# PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure 231device iflib 232device em # Intel PRO/1000 Gigabit Ethernet Family 233device igc # Intel I225 2.5G Ethernet 234device ix # Intel PRO/10GbE PCIE PF Ethernet 235device ixv # Intel PRO/10GbE PCIE VF Ethernet 236device ixl # Intel 700 Series Physical Function 237device iavf # Intel Adaptive Virtual Function 238device ice # Intel 800 Series Physical Function 239device vmx # VMware VMXNET3 Ethernet 240device axp # AMD EPYC integrated NIC (requires miibus) 241 242# PCI Ethernet NICs. 243device bxe # Broadcom NetXtreme II BCM5771X/BCM578XX 10GbE 244device le # AMD Am7900 LANCE and Am79C9xx PCnet 245device ti # Alteon Networks Tigon I/II gigabit Ethernet 246 247# Nvidia/Mellanox Connect-X 4 and later, Ethernet only 248# o requires COMPAT_LINUXKPI and xz(4) 249# o mlx5ib requires ibcore infra and is not included by default 250device mlx5 # Base driver 251device mlxfw # Firmware update 252device mlx5en # Ethernet driver 253 254# PCI Ethernet NICs that use the common MII bus controller code. 255# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! 256device miibus # MII bus support 257device ae # Attansic/Atheros L2 FastEthernet 258device age # Attansic/Atheros L1 Gigabit Ethernet 259device alc # Atheros AR8131/AR8132 Ethernet 260device ale # Atheros AR8121/AR8113/AR8114 Ethernet 261device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet 262device bfe # Broadcom BCM440x 10/100 Ethernet 263device bge # Broadcom BCM570xx Gigabit Ethernet 264device cas # Sun Cassini/Cassini+ and NS DP83065 Saturn 265device dc # DEC/Intel 21143 and various workalikes 266device et # Agere ET1310 10/100/Gigabit Ethernet 267device fxp # Intel EtherExpress PRO/100B (82557, 82558) 268device gem # Sun GEM/Sun ERI/Apple GMAC 269device jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet 270device lge # Level 1 LXT1001 gigabit Ethernet 271device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet 272device nfe # nVidia nForce MCP on-board Ethernet 273device nge # NatSemi DP83820 gigabit Ethernet 274device re # RealTek 8139C+/8169/8169S/8110S 275device rl # RealTek 8129/8139 276device sge # Silicon Integrated Systems SiS190/191 277device sis # Silicon Integrated Systems SiS 900/SiS 7016 278device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet 279device ste # Sundance ST201 (D-Link DFE-550TX) 280device stge # Sundance/Tamarack TC9021 gigabit Ethernet 281device vge # VIA VT612x gigabit Ethernet 282device vr # VIA Rhine, Rhine II 283device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') 284 285# Wireless NIC cards 286device wlan # 802.11 support 287options IEEE80211_DEBUG # enable debug msgs 288options IEEE80211_SUPPORT_MESH # enable 802.11s draft support 289device wlan_wep # 802.11 WEP support 290device wlan_tkip # 802.11 TKIP support 291device wlan_ccmp # 802.11 CCMP support 292device wlan_gcmp # 802.11 GCMP support 293device wlan_amrr # AMRR transmit rate control algorithm 294device ath # Atheros CardBus/PCI NICs 295device ath_hal # Atheros CardBus/PCI chip support 296options AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation 297device ath_rate_sample # SampleRate tx rate control for ath 298#device bwi # Broadcom BCM430x/BCM431x wireless NICs. 299#device bwn # Broadcom BCM43xx wireless NICs. 300device ipw # Intel 2100 wireless NICs. 301device iwi # Intel 2200BG/2225BG/2915ABG wireless NICs. 302device iwn # Intel 4965/1000/5000/6000 wireless NICs. 303device malo # Marvell Libertas wireless NICs. 304device mwl # Marvell 88W8363 802.11n wireless NICs. 305device ral # Ralink Technology RT2500 wireless NICs. 306device wpi # Intel 3945ABG wireless NICs. 307 308# Pseudo devices. 309device crypto # core crypto support 310device aesni # AES-NI OpenCrypto module 311device loop # Network loopback 312device rdrand_rng # Intel Bull Mountain RNG 313device ether # Ethernet support 314device vlan # 802.1Q VLAN support 315device tuntap # Packet tunnel. 316device md # Memory "disks" 317device gif # IPv6 and IPv4 tunneling 318device firmware # firmware assist module 319device xz # lzma decompression 320 321# The `bpf' device enables the Berkeley Packet Filter. 322# Be aware of the administrative consequences of enabling this! 323# Note that 'bpf' is required for DHCP. 324device bpf # Berkeley packet filter 325 326# USB support 327options USB_DEBUG # enable debug msgs 328device uhci # UHCI PCI->USB interface 329device ohci # OHCI PCI->USB interface 330device ehci # EHCI PCI->USB interface (USB 2.0) 331device xhci # XHCI PCI->USB interface (USB 3.0) 332device usb # USB Bus (required) 333device usbhid # USB HID Transport 334device hkbd # HID Keyboard 335device ukbd # USB Keyboard 336device umass # Disks/Mass storage - Requires scbus and da 337 338# Sound support 339device sound # Generic sound driver (required) 340device snd_cmi # CMedia CMI8338/CMI8738 341device snd_csa # Crystal Semiconductor CS461x/428x 342device snd_emu10kx # Creative SoundBlaster Live! and Audigy 343device snd_es137x # Ensoniq AudioPCI ES137x 344device snd_hda # Intel High Definition Audio 345device snd_ich # Intel, NVidia and other ICH AC'97 Audio 346device snd_via8233 # VIA VT8233x Audio 347 348# MMC/SD 349device mmc # MMC/SD bus 350device mmcsd # MMC/SD memory card 351device sdhci # Generic PCI SD Host Controller 352 353# VirtIO support 354device virtio # Generic VirtIO bus (required) 355device virtio_pci # VirtIO PCI device 356device vtnet # VirtIO Ethernet device 357device virtio_blk # VirtIO Block device 358device virtio_scsi # VirtIO SCSI device 359device virtio_balloon # VirtIO Memory Balloon device 360 361# Linux KVM paravirtualization support 362device kvm_clock # KVM paravirtual clock driver 363 364# HyperV drivers and enhancement support 365device hyperv # HyperV drivers 366 367# Xen HVM Guest Optimizations 368# NOTE: XENHVM depends on xenpci and xentimer. 369# They must be added or removed together. 370options XENHVM # Xen HVM kernel infrastructure 371device xenefi # Xen EFI timer device 372device xenpci # Xen HVM Hypervisor services driver 373device xentimer # Xen x86 PV timer device 374 375# Netmap provides direct access to TX/RX rings on supported NICs 376device netmap # netmap(4) support 377 378# evdev interface 379options EVDEV_SUPPORT # evdev support in legacy drivers 380device evdev # input event device support 381device uinput # install /dev/uinput cdev 382 383# HID support 384options HID_DEBUG # enable debug msgs 385device hid # Generic HID support 386device hidbus # Generic HID Bus 387options IICHID_SAMPLING # Workaround missing GPIO INTR support 388 389# EFI devices 390device efidev # EFI pseudo-device 391device efirtc # EFI RTC 392