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 BLOAT_KERNEL_WITH_EXTERR 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# Intel Volume Management Device (VMD) support 188device vmd 189 190# atkbdc0 controls both the keyboard and the PS/2 mouse 191device atkbdc # AT keyboard controller 192device atkbd # AT keyboard 193device psm # PS/2 mouse 194 195device kbdmux # keyboard multiplexer 196 197# syscons is the legacy console driver, resembling an SCO console 198device vga # VGA video card driver 199device splash # Splash screen and screen saver support 200device sc 201options SC_PIXEL_MODE # add support for the raster text mode 202 203# vt is the default video console driver 204device vt 205device vt_vga 206device vt_efifb 207device vt_vbefb 208 209device agp # support several AGP chipsets 210 211# CardBus bridge support 212device cbb # CardBus (yenta) bridge 213device cardbus # CardBus (32-bit) bus 214 215# Serial (COM) ports 216device uart # Generic UART driver 217 218# Parallel port 219device ppc 220device ppbus # Parallel port bus (required) 221device lpt # Printer 222device ppi # Parallel port interface device 223#device vpo # Requires scbus and da 224 225device puc # Multi I/O cards and multi-channel UARTs 226 227# PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure 228device iflib 229device em # Intel PRO/1000 Gigabit Ethernet Family 230device igc # Intel I225 2.5G Ethernet 231device ix # Intel PRO/10GbE PCIE PF Ethernet 232device ixv # Intel PRO/10GbE PCIE VF Ethernet 233device ixl # Intel 700 Series Physical Function 234device iavf # Intel Adaptive Virtual Function 235device ice # Intel 800 Series Physical Function 236device vmx # VMware VMXNET3 Ethernet 237device axp # AMD EPYC integrated NIC (requires miibus) 238 239# PCI Ethernet NICs. 240device bxe # Broadcom NetXtreme II BCM5771X/BCM578XX 10GbE 241device le # AMD Am7900 LANCE and Am79C9xx PCnet 242device ti # Alteon Networks Tigon I/II gigabit Ethernet 243 244# Nvidia/Mellanox Connect-X 4 and later, Ethernet only 245# o requires COMPAT_LINUXKPI and xz(4) 246# o mlx5ib requires ibcore infra and is not included by default 247device mlx5 # Base driver 248device mlxfw # Firmware update 249device mlx5en # Ethernet driver 250 251# PCI Ethernet NICs that use the common MII bus controller code. 252# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! 253device miibus # MII bus support 254device ae # Attansic/Atheros L2 FastEthernet 255device age # Attansic/Atheros L1 Gigabit Ethernet 256device alc # Atheros AR8131/AR8132 Ethernet 257device ale # Atheros AR8121/AR8113/AR8114 Ethernet 258device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet 259device bfe # Broadcom BCM440x 10/100 Ethernet 260device bge # Broadcom BCM570xx Gigabit Ethernet 261device cas # Sun Cassini/Cassini+ and NS DP83065 Saturn 262device dc # DEC/Intel 21143 and various workalikes 263device et # Agere ET1310 10/100/Gigabit Ethernet 264device fxp # Intel EtherExpress PRO/100B (82557, 82558) 265device gem # Sun GEM/Sun ERI/Apple GMAC 266device jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet 267device lge # Level 1 LXT1001 gigabit Ethernet 268device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet 269device nfe # nVidia nForce MCP on-board Ethernet 270device nge # NatSemi DP83820 gigabit Ethernet 271device re # RealTek 8139C+/8169/8169S/8110S 272device rl # RealTek 8129/8139 273device sge # Silicon Integrated Systems SiS190/191 274device sis # Silicon Integrated Systems SiS 900/SiS 7016 275device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet 276device ste # Sundance ST201 (D-Link DFE-550TX) 277device stge # Sundance/Tamarack TC9021 gigabit Ethernet 278device vge # VIA VT612x gigabit Ethernet 279device vr # VIA Rhine, Rhine II 280device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') 281 282# Wireless NIC cards 283device wlan # 802.11 support 284options IEEE80211_DEBUG # enable debug msgs 285options IEEE80211_SUPPORT_MESH # enable 802.11s draft support 286device wlan_wep # 802.11 WEP support 287device wlan_ccmp # 802.11 CCMP support 288device wlan_gcmp # 802.11 GCMP support 289device wlan_tkip # 802.11 TKIP support 290device wlan_amrr # AMRR transmit rate control algorithm 291device ath # Atheros CardBus/PCI NICs 292device ath_hal # Atheros CardBus/PCI chip support 293options AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation 294device ath_rate_sample # SampleRate tx rate control for ath 295#device bwi # Broadcom BCM430x/BCM431x wireless NICs. 296#device bwn # Broadcom BCM43xx wireless NICs. 297device ipw # Intel 2100 wireless NICs. 298device iwi # Intel 2200BG/2225BG/2915ABG wireless NICs. 299device iwn # Intel 4965/1000/5000/6000 wireless NICs. 300device malo # Marvell Libertas wireless NICs. 301device mwl # Marvell 88W8363 802.11n wireless NICs. 302device ral # Ralink Technology RT2500 wireless NICs. 303device wpi # Intel 3945ABG wireless NICs. 304 305# Pseudo devices. 306device crypto # core crypto support 307device aesni # AES-NI OpenCrypto module 308device loop # Network loopback 309device padlock_rng # VIA Padlock RNG 310device rdrand_rng # Intel Bull Mountain RNG 311device ether # Ethernet support 312device vlan # 802.1Q VLAN support 313device tuntap # Packet tunnel. 314device md # Memory "disks" 315device gif # IPv6 and IPv4 tunneling 316device firmware # firmware assist module 317device xz # lzma decompression 318 319# The `bpf' device enables the Berkeley Packet Filter. 320# Be aware of the administrative consequences of enabling this! 321# Note that 'bpf' is required for DHCP. 322device bpf # Berkeley packet filter 323 324# USB support 325options USB_DEBUG # enable debug msgs 326device uhci # UHCI PCI->USB interface 327device ohci # OHCI PCI->USB interface 328device ehci # EHCI PCI->USB interface (USB 2.0) 329device xhci # XHCI PCI->USB interface (USB 3.0) 330device usb # USB Bus (required) 331device usbhid # USB HID Transport 332device hkbd # HID Keyboard 333device ukbd # USB Keyboard 334device umass # Disks/Mass storage - Requires scbus and da 335 336# Sound support 337device sound # Generic sound driver (required) 338device snd_cmi # CMedia CMI8338/CMI8738 339device snd_csa # Crystal Semiconductor CS461x/428x 340device snd_emu10kx # Creative SoundBlaster Live! and Audigy 341device snd_es137x # Ensoniq AudioPCI ES137x 342device snd_hda # Intel High Definition Audio 343device snd_ich # Intel, NVidia and other ICH AC'97 Audio 344device snd_via8233 # VIA VT8233x Audio 345 346# MMC/SD 347device mmc # MMC/SD bus 348device mmcsd # MMC/SD memory card 349device sdhci # Generic PCI SD Host Controller 350 351# VirtIO support 352device virtio # Generic VirtIO bus (required) 353device virtio_pci # VirtIO PCI device 354device vtnet # VirtIO Ethernet device 355device virtio_blk # VirtIO Block device 356device virtio_scsi # VirtIO SCSI device 357device virtio_balloon # VirtIO Memory Balloon device 358 359# Linux KVM paravirtualization support 360device kvm_clock # KVM paravirtual clock driver 361 362# HyperV drivers and enhancement support 363device hyperv # HyperV drivers 364 365# Xen HVM Guest Optimizations 366# NOTE: XENHVM depends on xenpci and xentimer. 367# They must be added or removed together. 368options XENHVM # Xen HVM kernel infrastructure 369device xenefi # Xen EFI timer device 370device xenpci # Xen HVM Hypervisor services driver 371device xentimer # Xen x86 PV timer device 372 373# Netmap provides direct access to TX/RX rings on supported NICs 374device netmap # netmap(4) support 375 376# evdev interface 377options EVDEV_SUPPORT # evdev support in legacy drivers 378device evdev # input event device support 379device uinput # install /dev/uinput cdev 380 381# HID support 382options HID_DEBUG # enable debug msgs 383device hid # Generic HID support 384device hidbus # Generic HID Bus 385options IICHID_SAMPLING # Workaround missing GPIO INTR support 386 387# EFI devices 388device efidev # EFI pseudo-device 389device efirtc # EFI RTC 390