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