xref: /freebsd/sys/amd64/conf/GENERIC (revision 3332f1b444d4a73238e9f59cca27bfc95fe936bd)
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# $FreeBSD$
20
21cpu		HAMMER
22ident		GENERIC
23
24makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
25makeoptions	WITH_CTF=1		# Run ctfconvert(1) for DTrace support
26
27options 	SCHED_ULE		# ULE scheduler
28options 	NUMA			# Non-Uniform Memory Architecture support
29options 	PREEMPTION		# Enable kernel thread preemption
30options 	VIMAGE			# Subsystem virtualization, e.g. VNET
31options 	INET			# InterNETworking
32options 	INET6			# IPv6 communications protocols
33options		CC_NEWRENO		# include newreno congestion control
34options		CC_DEFAULT=\"newreno\"	# define our default CC module it should be compiled in.
35options 	IPSEC_SUPPORT		# Allow kldload of ipsec and tcpmd5
36options		ROUTE_MPATH		# Multipath routing support
37options		FIB_ALGO		# Modular fib lookups
38options 	TCP_OFFLOAD		# TCP offload
39options 	TCP_BLACKBOX		# Enhanced TCP event logging
40options 	TCP_HHOOK		# hhook(9) framework for TCP
41options		TCP_RFC7413		# TCP Fast Open
42options 	SCTP_SUPPORT		# Allow kldload of SCTP
43options		KERN_TLS		# TLS transmit & receive offload
44options 	FFS			# Berkeley Fast Filesystem
45options 	SOFTUPDATES		# Enable FFS soft updates support
46options 	UFS_ACL			# Support for access control lists
47options 	UFS_DIRHASH		# Improve performance on big directories
48options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
49options 	QUOTA			# Enable disk quotas for UFS
50options 	MD_ROOT			# MD is a potential root device
51options 	NFSCL			# Network Filesystem Client
52options 	NFSD			# Network Filesystem Server
53options 	NFSLOCKD		# Network Lock Manager
54options 	NFS_ROOT		# NFS usable as /, requires NFSCL
55options 	MSDOSFS			# MSDOS Filesystem
56options 	CD9660			# ISO 9660 Filesystem
57options 	PROCFS			# Process filesystem (requires PSEUDOFS)
58options 	PSEUDOFS		# Pseudo-filesystem framework
59options 	TMPFS			# Efficient memory filesystem
60options 	GEOM_RAID		# Soft RAID functionality.
61options 	GEOM_LABEL		# Provides labelization
62options 	EFIRT			# EFI Runtime Services support
63options 	COMPAT_FREEBSD32	# Compatible with i386 binaries
64options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
65options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
66options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
67options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
68options 	COMPAT_FREEBSD9		# Compatible with FreeBSD9
69options 	COMPAT_FREEBSD10	# Compatible with FreeBSD10
70options 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
71options 	COMPAT_FREEBSD12	# Compatible with FreeBSD12
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):
98options 	BUF_TRACKING		# Track buffer history
99options 	DDB			# Support DDB.
100options 	FULL_BUF_TRACKING	# Track more buffer history
101options 	GDB			# Support remote GDB.
102options 	DEADLKRES		# Enable the deadlock resolver
103options 	INVARIANTS		# Enable calls of extra sanity checking
104options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
105options 	QUEUE_MACRO_DEBUG_TRASH	# Trash queue(2) internal pointers on invalidation
106options 	WITNESS			# Enable checks to detect deadlocks and cycles
107options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
108options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
109options 	VERBOSE_SYSINIT=0	# Support debug.verbose_sysinit, off by default
110
111# Kernel Sanitizers
112#options 	COVERAGE		# Generic kernel coverage. Used by KCOV
113#options 	KCOV			# Kernel Coverage Sanitizer
114# Warning: KUBSAN can result in a kernel too large for loader to load
115#options 	KUBSAN			# Kernel Undefined Behavior Sanitizer
116#options 	KCSAN			# Kernel Concurrency Sanitizer
117
118# Kernel dump features.
119options 	EKCD			# Support for encrypted kernel dumps
120options 	GZIO			# gzip-compressed kernel and user dumps
121options 	ZSTDIO			# zstd-compressed kernel and user dumps
122options 	DEBUGNET		# debugnet networking
123options 	NETDUMP			# netdump(4) client support
124options 	NETGDB			# netgdb(4) client support
125
126# Make an SMP-capable kernel by default
127options 	SMP			# Symmetric MultiProcessor Kernel
128options 	EARLY_AP_STARTUP
129
130# CPU frequency control
131device		cpufreq
132
133# Bus support.
134device		acpi
135device		smbios
136options 	IOMMU
137device		pci
138options 	PCI_HP			# PCI-Express native HotPlug
139options		PCI_IOV			# PCI SR-IOV support
140
141options 	COMPAT_LINUXKPI
142
143# Enable support for the kernel PLL to use an external PPS signal,
144# under supervision of [x]ntpd(8)
145# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp
146
147options 	PPS_SYNC
148
149# Floppy drives
150device		fdc
151
152# ATA controllers
153device		ahci			# AHCI-compatible SATA controllers
154device		ata			# Legacy ATA/SATA controllers
155device		mvs			# Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
156device		siis			# SiliconImage SiI3124/SiI3132/SiI3531 SATA
157
158# SCSI Controllers
159device		ahc			# AHA2940 and onboard AIC7xxx devices
160device		ahd			# AHA39320/29320 and onboard AIC79xx devices
161device		esp			# AMD Am53C974 (Tekram DC-390(T))
162device		hptiop			# Highpoint RocketRaid 3xxx series
163device		isp			# Qlogic family
164#device		ispfw			# Firmware for QLogic HBAs- normally a module
165device		mpt			# LSI-Logic MPT-Fusion
166device		mps			# LSI-Logic MPT-Fusion 2
167device		mpr			# LSI-Logic MPT-Fusion 3
168device		sym			# NCR/Symbios Logic
169device		isci			# Intel C600 SAS controller
170device		ocs_fc			# Emulex FC adapters
171device		pvscsi			# VMware PVSCSI
172
173# ATA/SCSI peripherals
174device		scbus			# SCSI bus (required for ATA/SCSI)
175device		ch			# SCSI media changers
176device		da			# Direct Access (disks)
177device		sa			# Sequential Access (tape etc)
178device		cd			# CD
179device		pass			# Passthrough device (direct ATA/SCSI access)
180device		ses			# Enclosure Services (SES and SAF-TE)
181#device		ctl			# CAM Target Layer
182
183# RAID controllers interfaced to the SCSI subsystem
184device		amr			# AMI MegaRAID
185device		arcmsr			# Areca SATA II RAID
186device		ciss			# Compaq Smart RAID 5*
187device		iir			# Intel Integrated RAID
188device		ips			# IBM (Adaptec) ServeRAID
189device		mly			# Mylex AcceleRAID/eXtremeRAID
190device		twa			# 3ware 9000 series PATA/SATA RAID
191device		smartpqi		# Microsemi smartpqi driver
192device		tws			# LSI 3ware 9750 SATA+SAS 6Gb/s RAID controller
193
194# RAID controllers
195device		aac			# Adaptec FSA RAID
196device		aacp			# SCSI passthrough for aac (requires CAM)
197device		aacraid			# Adaptec by PMC RAID
198device		ida			# Compaq Smart RAID
199device		mfi			# LSI MegaRAID SAS
200device		mlx			# Mylex DAC960 family
201device		mrsas			# LSI/Avago MegaRAID SAS/SATA, 6Gb/s and 12Gb/s
202device		pmspcv			# PMC-Sierra SAS/SATA Controller driver
203#XXX pointer/int warnings
204#device		pst			# Promise Supertrak SX6000
205device		twe			# 3ware ATA RAID
206
207# NVM Express (NVMe) support
208device		nvme			# base NVMe driver
209device		nvd			# expose NVMe namespaces as disks, depends on nvme
210
211# Intel Volume Management Device (VMD) support
212device		vmd
213
214# atkbdc0 controls both the keyboard and the PS/2 mouse
215device		atkbdc			# AT keyboard controller
216device		atkbd			# AT keyboard
217device		psm			# PS/2 mouse
218
219device		kbdmux			# keyboard multiplexer
220
221device		vga			# VGA video card driver
222options 	VESA			# Add support for VESA BIOS Extensions (VBE)
223
224device		splash			# Splash screen and screen saver support
225
226# syscons is the default console driver, resembling an SCO console
227device		sc
228options 	SC_PIXEL_MODE		# add support for the raster text mode
229
230# vt is the new video console driver
231device		vt
232device		vt_vga
233device		vt_efifb
234device		vt_vbefb
235
236device		agp			# support several AGP chipsets
237
238# PCCARD (PCMCIA) support
239# PCMCIA and cardbus bridge support
240device		cbb			# cardbus (yenta) bridge
241device		cardbus			# CardBus (32-bit) bus
242
243# Serial (COM) ports
244device		uart			# Generic UART driver
245
246# Parallel port
247device		ppc
248device		ppbus			# Parallel port bus (required)
249device		lpt			# Printer
250device		ppi			# Parallel port interface device
251#device		vpo			# Requires scbus and da
252
253device		puc			# Multi I/O cards and multi-channel UARTs
254
255# PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure
256device		iflib
257device		em			# Intel PRO/1000 Gigabit Ethernet Family
258device		igc			# Intel I225 2.5G Ethernet
259device		ix			# Intel PRO/10GbE PCIE PF Ethernet
260device		ixv			# Intel PRO/10GbE PCIE VF Ethernet
261device		ixl			# Intel 700 Series Physical Function
262device		iavf			# Intel Adaptive Virtual Function
263device		ice			# Intel 800 Series Physical Function
264device		vmx			# VMware VMXNET3 Ethernet
265device		axp			# AMD EPYC integrated NIC (requires miibus)
266
267# PCI Ethernet NICs.
268device		bxe			# Broadcom NetXtreme II BCM5771X/BCM578XX 10GbE
269device		le			# AMD Am7900 LANCE and Am79C9xx PCnet
270device		ti			# Alteon Networks Tigon I/II gigabit Ethernet
271
272# Nvidia/Mellanox Connect-X 4 and later, Ethernet only
273# mlx5ib requires ibcore infra and is not included by default
274device		mlx5			# Base driver
275device		mlxfw			# Firmware update
276device		mlx5en			# Ethernet driver
277
278# PCI Ethernet NICs that use the common MII bus controller code.
279# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
280device		miibus			# MII bus support
281device		ae			# Attansic/Atheros L2 FastEthernet
282device		age			# Attansic/Atheros L1 Gigabit Ethernet
283device		alc			# Atheros AR8131/AR8132 Ethernet
284device		ale			# Atheros AR8121/AR8113/AR8114 Ethernet
285device		bce			# Broadcom BCM5706/BCM5708 Gigabit Ethernet
286device		bfe			# Broadcom BCM440x 10/100 Ethernet
287device		bge			# Broadcom BCM570xx Gigabit Ethernet
288device		cas			# Sun Cassini/Cassini+ and NS DP83065 Saturn
289device		dc			# DEC/Intel 21143 and various workalikes
290device		et			# Agere ET1310 10/100/Gigabit Ethernet
291device		fxp			# Intel EtherExpress PRO/100B (82557, 82558)
292device		gem			# Sun GEM/Sun ERI/Apple GMAC
293device		jme			# JMicron JMC250 Gigabit/JMC260 Fast Ethernet
294device		lge			# Level 1 LXT1001 gigabit Ethernet
295device		msk			# Marvell/SysKonnect Yukon II Gigabit Ethernet
296device		nfe			# nVidia nForce MCP on-board Ethernet
297device		nge			# NatSemi DP83820 gigabit Ethernet
298device		re			# RealTek 8139C+/8169/8169S/8110S
299device		rl			# RealTek 8129/8139
300device		sge			# Silicon Integrated Systems SiS190/191
301device		sis			# Silicon Integrated Systems SiS 900/SiS 7016
302device		sk			# SysKonnect SK-984x & SK-982x gigabit Ethernet
303device		ste			# Sundance ST201 (D-Link DFE-550TX)
304device		stge			# Sundance/Tamarack TC9021 gigabit Ethernet
305device		vge			# VIA VT612x gigabit Ethernet
306device		vr			# VIA Rhine, Rhine II
307device		xl			# 3Com 3c90x (``Boomerang'', ``Cyclone'')
308
309# Wireless NIC cards
310device		wlan			# 802.11 support
311options 	IEEE80211_DEBUG		# enable debug msgs
312options 	IEEE80211_SUPPORT_MESH	# enable 802.11s draft support
313device		wlan_wep		# 802.11 WEP support
314device		wlan_ccmp		# 802.11 CCMP support
315device		wlan_tkip		# 802.11 TKIP support
316device		wlan_amrr		# AMRR transmit rate control algorithm
317device		ath			# Atheros NICs
318device		ath_pci			# Atheros pci/cardbus glue
319device		ath_hal			# pci/cardbus chip support
320options 	AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation
321options 	ATH_ENABLE_11N		# Enable 802.11n support for AR5416 and later
322device		ath_rate_sample		# SampleRate tx rate control for ath
323#device		bwi			# Broadcom BCM430x/BCM431x wireless NICs.
324#device		bwn			# Broadcom BCM43xx wireless NICs.
325device		ipw			# Intel 2100 wireless NICs.
326device		iwi			# Intel 2200BG/2225BG/2915ABG wireless NICs.
327device		iwn			# Intel 4965/1000/5000/6000 wireless NICs.
328device		malo			# Marvell Libertas wireless NICs.
329device		mwl			# Marvell 88W8363 802.11n wireless NICs.
330device		ral			# Ralink Technology RT2500 wireless NICs.
331device		wpi			# Intel 3945ABG wireless NICs.
332
333# Pseudo devices.
334device		crypto			# core crypto support
335device		aesni			# AES-NI OpenCrypto module
336device		loop			# Network loopback
337device		padlock_rng		# VIA Padlock RNG
338device		rdrand_rng		# Intel Bull Mountain RNG
339device		ether			# Ethernet support
340device		vlan			# 802.1Q VLAN support
341device		tuntap			# Packet tunnel.
342device		md			# Memory "disks"
343device		gif			# IPv6 and IPv4 tunneling
344device		firmware		# firmware assist module
345device		xz			# lzma decompression
346
347# The `bpf' device enables the Berkeley Packet Filter.
348# Be aware of the administrative consequences of enabling this!
349# Note that 'bpf' is required for DHCP.
350device		bpf			# Berkeley packet filter
351
352# USB support
353options 	USB_DEBUG		# enable debug msgs
354device		uhci			# UHCI PCI->USB interface
355device		ohci			# OHCI PCI->USB interface
356device		ehci			# EHCI PCI->USB interface (USB 2.0)
357device		xhci			# XHCI PCI->USB interface (USB 3.0)
358device		usb			# USB Bus (required)
359device		ukbd			# Keyboard
360device		umass			# Disks/Mass storage - Requires scbus and da
361
362# Sound support
363device		sound			# Generic sound driver (required)
364device		snd_cmi			# CMedia CMI8338/CMI8738
365device		snd_csa			# Crystal Semiconductor CS461x/428x
366device		snd_emu10kx		# Creative SoundBlaster Live! and Audigy
367device		snd_es137x		# Ensoniq AudioPCI ES137x
368device		snd_hda			# Intel High Definition Audio
369device		snd_ich			# Intel, NVidia and other ICH AC'97 Audio
370device		snd_via8233		# VIA VT8233x Audio
371
372# MMC/SD
373device		mmc			# MMC/SD bus
374device		mmcsd			# MMC/SD memory card
375device		sdhci			# Generic PCI SD Host Controller
376device		rtsx			# Realtek SD card reader
377
378# VirtIO support
379device		virtio			# Generic VirtIO bus (required)
380device		virtio_pci		# VirtIO PCI device
381device		vtnet			# VirtIO Ethernet device
382device		virtio_blk		# VirtIO Block device
383device		virtio_scsi		# VirtIO SCSI device
384device		virtio_balloon		# VirtIO Memory Balloon device
385
386# Linux KVM paravirtualization support
387device		kvm_clock		# KVM paravirtual clock driver
388
389# HyperV drivers and enhancement support
390device		hyperv			# HyperV drivers
391
392# Xen HVM Guest Optimizations
393# NOTE: XENHVM depends on xenpci and xentimer.
394# They must be added or removed together.
395options 	XENHVM			# Xen HVM kernel infrastructure
396device		xenpci			# Xen HVM Hypervisor services driver
397device		xentimer		# Xen x86 PV timer device
398
399# Netmap provides direct access to TX/RX rings on supported NICs
400device		netmap			# netmap(4) support
401
402# evdev interface
403options 	EVDEV_SUPPORT		# evdev support in legacy drivers
404device		evdev			# input event device support
405device		uinput			# install /dev/uinput cdev
406
407# HID support
408options 	HID_DEBUG		# enable debug msgs
409device		hid			# Generic HID support
410options 	IICHID_SAMPLING		# Workaround missing GPIO INTR support
411