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 VIMAGE # Subsystem virtualization, e.g. VNET 30options INET # InterNETworking 31options INET6 # IPv6 communications protocols 32options IPSEC_SUPPORT # Allow kldload of ipsec and tcpmd5 33options ROUTE_MPATH # Multipath routing support 34options FIB_ALGO # Modular fib lookups 35options TCP_OFFLOAD # TCP offload 36options TCP_BLACKBOX # Enhanced TCP event logging 37options TCP_HHOOK # hhook(9) framework for TCP 38options TCP_RFC7413 # TCP Fast Open 39options SCTP_SUPPORT # Allow kldload of SCTP 40options KERN_TLS # TLS transmit & receive offload 41options FFS # Berkeley Fast Filesystem 42options SOFTUPDATES # Enable FFS soft updates support 43options UFS_ACL # Support for access control lists 44options UFS_DIRHASH # Improve performance on big directories 45options UFS_GJOURNAL # Enable gjournal-based UFS journaling 46options QUOTA # Enable disk quotas for UFS 47options MD_ROOT # MD is a potential root device 48options NFSCL # Network Filesystem Client 49options NFSD # Network Filesystem Server 50options NFSLOCKD # Network Lock Manager 51options NFS_ROOT # NFS usable as /, requires NFSCL 52options MSDOSFS # MSDOS Filesystem 53options CD9660 # ISO 9660 Filesystem 54options PROCFS # Process filesystem (requires PSEUDOFS) 55options PSEUDOFS # Pseudo-filesystem framework 56options TMPFS # Efficient memory filesystem 57options GEOM_RAID # Soft RAID functionality. 58options GEOM_LABEL # Provides labelization 59options EFIRT # EFI Runtime Services support 60options COMPAT_FREEBSD32 # Compatible with i386 binaries 61options COMPAT_FREEBSD4 # Compatible with FreeBSD4 62options COMPAT_FREEBSD5 # Compatible with FreeBSD5 63options COMPAT_FREEBSD6 # Compatible with FreeBSD6 64options COMPAT_FREEBSD7 # Compatible with FreeBSD7 65options COMPAT_FREEBSD9 # Compatible with FreeBSD9 66options COMPAT_FREEBSD10 # Compatible with FreeBSD10 67options COMPAT_FREEBSD11 # Compatible with FreeBSD11 68options COMPAT_FREEBSD12 # Compatible with FreeBSD12 69options COMPAT_FREEBSD13 # Compatible with FreeBSD13 70options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 71options KTRACE # ktrace(1) support 72options STACK # stack(9) support 73options SYSVSHM # SYSV-style shared memory 74options SYSVMSG # SYSV-style message queues 75options SYSVSEM # SYSV-style semaphores 76options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 77options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 78options KBD_INSTALL_CDEV # install a CDEV entry in /dev 79options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 80options AUDIT # Security event auditing 81options CAPABILITY_MODE # Capsicum capability mode 82options CAPABILITIES # Capsicum capabilities 83options MAC # TrustedBSD MAC Framework 84options KDTRACE_FRAME # Ensure frames are compiled in 85options KDTRACE_HOOKS # Kernel DTrace hooks 86options DDB_CTF # Kernel ELF linker loads CTF data 87options INCLUDE_CONFIG_FILE # Include this file in kernel 88options RACCT # Resource accounting framework 89options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default 90options RCTL # Resource limits 91 92# Debugging support. Always need this: 93options KDB # Enable kernel debugger support. 94options KDB_TRACE # Print a stack trace for a panic. 95 96# Kernel Sanitizers 97#options COVERAGE # Generic kernel coverage. Used by KCOV 98#options KCOV # Kernel Coverage Sanitizer 99# Warning: KUBSAN can result in a kernel too large for loader to load 100#options KUBSAN # Kernel Undefined Behavior Sanitizer 101#options KCSAN # Kernel Concurrency Sanitizer 102 103# Kernel dump features. 104options EKCD # Support for encrypted kernel dumps 105options GZIO # gzip-compressed kernel and user dumps 106options ZSTDIO # zstd-compressed kernel and user 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 sym # NCR/Symbios Logic 152device isci # Intel C600 SAS controller 153device ocs_fc # Emulex FC adapters 154device pvscsi # VMware PVSCSI 155 156# ATA/SCSI peripherals 157device scbus # SCSI bus (required for ATA/SCSI) 158device ch # SCSI media changers 159device da # Direct Access (disks) 160device sa # Sequential Access (tape etc) 161device cd # CD 162device pass # Passthrough device (direct ATA/SCSI access) 163device ses # Enclosure Services (SES and SAF-TE) 164#device ctl # CAM Target Layer 165 166# RAID controllers interfaced to the SCSI subsystem 167device arcmsr # Areca SATA II RAID 168device ciss # Compaq Smart RAID 5* 169device ips # IBM (Adaptec) ServeRAID 170device smartpqi # Microsemi smartpqi driver 171device tws # LSI 3ware 9750 SATA+SAS 6Gb/s RAID controller 172 173# RAID controllers 174device aac # Adaptec FSA RAID 175device aacp # SCSI passthrough for aac (requires CAM) 176device aacraid # Adaptec by PMC RAID 177device ida # Compaq Smart RAID 178device mfi # LSI MegaRAID SAS 179device mlx # Mylex DAC960 family 180device mrsas # LSI/Avago MegaRAID SAS/SATA, 6Gb/s and 12Gb/s 181#XXX pointer/int warnings 182#device pst # Promise Supertrak SX6000 183 184# NVM Express (NVMe) support 185device nvme # base NVMe driver 186device nvd # expose NVMe namespaces as disks, depends on nvme 187 188# Intel Volume Management Device (VMD) support 189device vmd 190 191# atkbdc0 controls both the keyboard and the PS/2 mouse 192device atkbdc # AT keyboard controller 193device atkbd # AT keyboard 194device psm # PS/2 mouse 195 196device kbdmux # keyboard multiplexer 197 198# syscons is the legacy console driver, resembling an SCO console 199device vga # VGA video card driver 200device splash # Splash screen and screen saver support 201device sc 202options SC_PIXEL_MODE # add support for the raster text mode 203 204# vt is the default video console driver 205device vt 206device vt_vga 207device vt_efifb 208device vt_vbefb 209 210device agp # support several AGP chipsets 211 212# CardBus bridge support 213device cbb # CardBus (yenta) bridge 214device cardbus # CardBus (32-bit) bus 215 216# Serial (COM) ports 217device uart # Generic UART driver 218 219# Parallel port 220device ppc 221device ppbus # Parallel port bus (required) 222device lpt # Printer 223device ppi # Parallel port interface device 224#device vpo # Requires scbus and da 225 226device puc # Multi I/O cards and multi-channel UARTs 227 228# PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure 229device iflib 230device em # Intel PRO/1000 Gigabit Ethernet Family 231device igc # Intel I225 2.5G Ethernet 232device ix # Intel PRO/10GbE PCIE PF Ethernet 233device ixv # Intel PRO/10GbE PCIE VF Ethernet 234device ixl # Intel 700 Series Physical Function 235device iavf # Intel Adaptive Virtual Function 236device ice # Intel 800 Series Physical Function 237device vmx # VMware VMXNET3 Ethernet 238device axp # AMD EPYC integrated NIC (requires miibus) 239 240# PCI Ethernet NICs. 241device bxe # Broadcom NetXtreme II BCM5771X/BCM578XX 10GbE 242device le # AMD Am7900 LANCE and Am79C9xx PCnet 243device ti # Alteon Networks Tigon I/II gigabit Ethernet 244 245# Nvidia/Mellanox Connect-X 4 and later, Ethernet only 246# o requires COMPAT_LINUXKPI and xz(4) 247# o mlx5ib requires ibcore infra and is not included by default 248device mlx5 # Base driver 249device mlxfw # Firmware update 250device mlx5en # Ethernet driver 251 252# PCI Ethernet NICs that use the common MII bus controller code. 253# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! 254device miibus # MII bus support 255device ae # Attansic/Atheros L2 FastEthernet 256device age # Attansic/Atheros L1 Gigabit Ethernet 257device alc # Atheros AR8131/AR8132 Ethernet 258device ale # Atheros AR8121/AR8113/AR8114 Ethernet 259device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet 260device bfe # Broadcom BCM440x 10/100 Ethernet 261device bge # Broadcom BCM570xx Gigabit Ethernet 262device cas # Sun Cassini/Cassini+ and NS DP83065 Saturn 263device dc # DEC/Intel 21143 and various workalikes 264device et # Agere ET1310 10/100/Gigabit Ethernet 265device fxp # Intel EtherExpress PRO/100B (82557, 82558) 266device gem # Sun GEM/Sun ERI/Apple GMAC 267device jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet 268device lge # Level 1 LXT1001 gigabit Ethernet 269device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet 270device nfe # nVidia nForce MCP on-board Ethernet 271device nge # NatSemi DP83820 gigabit Ethernet 272device re # RealTek 8139C+/8169/8169S/8110S 273device rl # RealTek 8129/8139 274device sge # Silicon Integrated Systems SiS190/191 275device sis # Silicon Integrated Systems SiS 900/SiS 7016 276device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet 277device ste # Sundance ST201 (D-Link DFE-550TX) 278device stge # Sundance/Tamarack TC9021 gigabit Ethernet 279device vge # VIA VT612x gigabit Ethernet 280device vr # VIA Rhine, Rhine II 281device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') 282 283# Wireless NIC cards 284device wlan # 802.11 support 285options IEEE80211_DEBUG # enable debug msgs 286options IEEE80211_SUPPORT_MESH # enable 802.11s draft support 287device wlan_wep # 802.11 WEP support 288device wlan_ccmp # 802.11 CCMP 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