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