xref: /src/sys/amd64/conf/GENERIC (revision 7a323f873662dae95a061d1eaf8b1d9d1a0f8a23)
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 	SCHED_4BSD		# Original 4.xBSD scheduler
28options 	NUMA			# Non-Uniform Memory Architecture support
29options 	PREEMPTION		# Enable kernel thread preemption
30options 	EXTERR_STRINGS
31options 	VIMAGE			# Subsystem virtualization, e.g. VNET
32options 	INET			# InterNETworking
33options 	INET6			# IPv6 communications protocols
34options 	IPSEC_SUPPORT		# Allow kldload of ipsec and tcpmd5
35options 	IPSEC_OFFLOAD		# Inline ipsec offload infra
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 	COMPAT_FREEBSD13	# Compatible with FreeBSD13
73options 	COMPAT_FREEBSD14	# Compatible with FreeBSD14
74options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
75options 	KTRACE			# ktrace(1) support
76options 	STACK			# stack(9) support
77options 	SYSVSHM			# SYSV-style shared memory
78options 	SYSVMSG			# SYSV-style message queues
79options 	SYSVSEM			# SYSV-style semaphores
80options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
81options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
82options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
83options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
84options 	AUDIT			# Security event auditing
85options 	CAPABILITY_MODE		# Capsicum capability mode
86options 	CAPABILITIES		# Capsicum capabilities
87options 	MAC			# TrustedBSD MAC Framework
88options 	KDTRACE_FRAME		# Ensure frames are compiled in
89options 	KDTRACE_HOOKS		# Kernel DTrace hooks
90options 	DDB_CTF			# Kernel ELF linker loads CTF data
91options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
92options 	RACCT			# Resource accounting framework
93options 	RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
94options 	RCTL			# Resource limits
95
96# Debugging support.  Always need this:
97options 	KDB			# Enable kernel debugger support.
98options 	KDB_TRACE		# Print a stack trace for a panic.
99# For full debugger support use (turn off in stable branch):
100include "std.debug"
101
102# Kernel dump features.
103options 	EKCD			# Support for encrypted kernel dumps
104options 	GZIO			# gzip-compressed kernel and user dumps
105options 	ZSTDIO			# zstd-compressed kernel and user dumps
106options 	DEBUGNET		# debugnet networking
107options 	NETDUMP			# netdump(4) client support
108options 	NETGDB			# netgdb(4) client support
109
110# Make an SMP-capable kernel by default
111options 	SMP			# Symmetric MultiProcessor Kernel
112
113# CPU frequency control
114device		cpufreq
115
116# Bus support.
117device		acpi
118device		smbios
119options 	IOMMU
120device		pci
121options 	PCI_HP			# PCI-Express native HotPlug
122options 	PCI_IOV			# PCI SR-IOV support
123
124options 	COMPAT_LINUXKPI
125
126# Enable support for the kernel PLL to use an external PPS signal,
127# under supervision of [x]ntpd(8)
128# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp
129
130options 	PPS_SYNC
131
132# Floppy drives
133device		fdc
134
135# ATA controllers
136device		ahci			# AHCI-compatible SATA controllers
137device		ata			# Legacy ATA/SATA controllers
138device		mvs			# Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
139device		siis			# SiliconImage SiI3124/SiI3132/SiI3531 SATA
140
141# SCSI Controllers
142device		ahc			# AHA2940 and onboard AIC7xxx devices
143device		ahd			# AHA39320/29320 and onboard AIC79xx devices
144device		hptiop			# Highpoint RocketRaid 3xxx series
145device		isp			# Qlogic family
146#device		ispfw			# Firmware for QLogic HBAs- normally a module
147device		mpt			# LSI-Logic MPT-Fusion
148device		mps			# LSI-Logic MPT-Fusion 2
149device		mpr			# LSI-Logic MPT-Fusion 3
150device		mpi3mr			# LSI-Logic MPT-Fusion 4
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# Universal Flash Storage Host Controller Interface support
189device 		ufshci			# UFS host controller
190
191# Intel Volume Management Device (VMD) support
192device		vmd
193
194# atkbdc0 controls both the keyboard and the PS/2 mouse
195device		atkbdc			# AT keyboard controller
196device		atkbd			# AT keyboard
197device		psm			# PS/2 mouse
198
199device		kbdmux			# keyboard multiplexer
200
201# syscons is the legacy console driver, resembling an SCO console
202device		vga			# VGA video card driver
203device		splash			# Splash screen and screen saver support
204device		sc
205options 	SC_PIXEL_MODE		# add support for the raster text mode
206
207# vt is the default video console driver
208device		vt
209device		vt_vga
210device		vt_efifb
211device		vt_vbefb
212
213device		agp			# support several AGP chipsets
214
215# CardBus bridge support
216device		cbb			# CardBus (yenta) bridge
217device		cardbus			# CardBus (32-bit) bus
218
219# Serial (COM) ports
220device		uart			# Generic UART driver
221
222# Parallel port
223device		ppc
224device		ppbus			# Parallel port bus (required)
225device		lpt			# Printer
226device		ppi			# Parallel port interface device
227#device		vpo			# Requires scbus and da
228
229device		puc			# Multi I/O cards and multi-channel UARTs
230
231# PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure
232device		iflib
233device		em			# Intel PRO/1000 Gigabit Ethernet Family
234device		igc			# Intel I225 2.5G Ethernet
235device		ix			# Intel PRO/10GbE PCIE PF Ethernet
236device		ixv			# Intel PRO/10GbE PCIE VF Ethernet
237device		ixl			# Intel 700 Series Physical Function
238device		iavf			# Intel Adaptive Virtual Function
239device		ice			# Intel 800 Series Physical Function
240device		vmx			# VMware VMXNET3 Ethernet
241device		axp			# AMD EPYC integrated NIC (requires miibus)
242
243# PCI Ethernet NICs.
244device		aq			# Aquantia / Marvell AQC1xx
245device		bxe			# Broadcom NetXtreme II BCM5771X/BCM578XX 10GbE
246device		rge			# Realtek 8125/8126/8127
247device		ti			# Alteon Networks Tigon I/II gigabit Ethernet
248
249# Nvidia/Mellanox Connect-X 4 and later, Ethernet only
250#  o requires COMPAT_LINUXKPI and xz(4)
251#  o mlx5ib requires ibcore infra and is not included by default
252device		mlx5			# Base driver
253device		mlxfw			# Firmware update
254device		mlx5en			# Ethernet driver
255
256# PCI Ethernet NICs that use the common MII bus controller code.
257# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
258device		miibus			# MII bus support
259device		ae			# Attansic/Atheros L2 FastEthernet
260device		age			# Attansic/Atheros L1 Gigabit Ethernet
261device		alc			# Atheros AR8131/AR8132 Ethernet
262device		ale			# Atheros AR8121/AR8113/AR8114 Ethernet
263device		bce			# Broadcom BCM5706/BCM5708 Gigabit Ethernet
264device		bfe			# Broadcom BCM440x 10/100 Ethernet
265device		bge			# Broadcom BCM570xx Gigabit Ethernet
266device		cas			# Sun Cassini/Cassini+ and NS DP83065 Saturn
267device		dc			# DEC/Intel 21143 and various workalikes
268device		et			# Agere ET1310 10/100/Gigabit Ethernet
269device		fxp			# Intel EtherExpress PRO/100B (82557, 82558)
270device		gem			# Sun GEM/Sun ERI/Apple GMAC
271device		jme			# JMicron JMC250 Gigabit/JMC260 Fast Ethernet
272device		lge			# Level 1 LXT1001 gigabit Ethernet
273device		msk			# Marvell/SysKonnect Yukon II Gigabit Ethernet
274device		nfe			# nVidia nForce MCP on-board Ethernet
275device		nge			# NatSemi DP83820 gigabit Ethernet
276device		re			# Realtek 8139C+/8169/8169S/8110S
277device		rl			# Realtek 8129/8139
278device		sge			# Silicon Integrated Systems SiS190/191
279device		sis			# Silicon Integrated Systems SiS 900/SiS 7016
280device		sk			# SysKonnect SK-984x & SK-982x gigabit Ethernet
281device		ste			# Sundance ST201 (D-Link DFE-550TX)
282device		stge			# Sundance/Tamarack TC9021 gigabit Ethernet
283device		vge			# VIA VT612x gigabit Ethernet
284device		vr			# VIA Rhine, Rhine II
285device		xl			# 3Com 3c90x (``Boomerang'', ``Cyclone'')
286
287# Wireless NIC cards
288device		wlan			# 802.11 support
289options 	IEEE80211_DEBUG		# enable debug msgs
290options 	IEEE80211_SUPPORT_MESH	# enable 802.11s draft support
291device		wlan_wep		# 802.11 WEP support
292device		wlan_tkip		# 802.11 TKIP support
293device		wlan_ccmp		# 802.11 CCMP support
294device		wlan_gcmp		# 802.11 GCMP support
295device		wlan_amrr		# AMRR transmit rate control algorithm
296device		ath			# Atheros CardBus/PCI NICs
297device		ath_hal			# Atheros CardBus/PCI chip support
298options 	AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation
299device		ath_rate_sample		# SampleRate tx rate control for ath
300#device		bwi			# Broadcom BCM430x/BCM431x wireless NICs.
301#device		bwn			# Broadcom BCM43xx wireless NICs.
302device		ipw			# Intel 2100 wireless NICs.
303device		iwi			# Intel 2200BG/2225BG/2915ABG wireless NICs.
304device		iwn			# Intel 4965/1000/5000/6000 wireless NICs.
305device		malo			# Marvell Libertas wireless NICs.
306device		mwl			# Marvell 88W8363 802.11n wireless NICs.
307device		ral			# Ralink Technology RT2500 wireless NICs.
308device		wpi			# Intel 3945ABG wireless NICs.
309
310# Pseudo devices.
311device		crypto			# core crypto support
312device		aesni			# AES-NI OpenCrypto module
313device		loop			# Network loopback
314device		ether			# Ethernet support
315device		vlan			# 802.1Q VLAN support
316device		tuntap			# Packet tunnel.
317device		md			# Memory "disks"
318device		gif			# IPv6 and IPv4 tunneling
319device		firmware		# firmware assist module
320device		xz			# lzma decompression
321
322# The `bpf' device enables the Berkeley Packet Filter.
323# Be aware of the administrative consequences of enabling this!
324# Note that 'bpf' is required for DHCP.
325device		bpf			# Berkeley packet filter
326
327# random(4)
328device		rdrand_rng		# Intel Bull Mountain RNG
329# Disabled for now since tpm(4) breaks suspend/resume.
330#device		tpm			# Trusted Platform Module
331options 	RANDOM_ENABLE_TPM	# enable entropy from TPM 2.0
332options 	RANDOM_ENABLE_KBD
333options 	RANDOM_ENABLE_MOUSE
334
335# USB support
336options 	USB_DEBUG		# enable debug msgs
337device		uhci			# UHCI PCI->USB interface
338device		ohci			# OHCI PCI->USB interface
339device		ehci			# EHCI PCI->USB interface (USB 2.0)
340device		xhci			# XHCI PCI->USB interface (USB 3.0)
341device		usb			# USB Bus (required)
342device		usbhid			# USB HID Transport
343device		hkbd			# HID Keyboard
344device		ukbd			# USB Keyboard
345device		umass			# Disks/Mass storage - Requires scbus and da
346
347# Sound support
348device		sound			# Generic sound driver (required)
349device		snd_cmi			# CMedia CMI8338/CMI8738
350device		snd_csa			# Crystal Semiconductor CS461x/428x
351device		snd_emu10kx		# Creative SoundBlaster Live! and Audigy
352device		snd_es137x		# Ensoniq AudioPCI ES137x
353device		snd_hda			# Intel High Definition Audio
354device		snd_ich			# Intel, NVidia and other ICH AC'97 Audio
355device		snd_via8233		# VIA VT8233x Audio
356
357# MMC/SD
358device		mmc			# MMC/SD bus
359device		mmcsd			# MMC/SD memory card
360device		sdhci			# Generic PCI SD Host Controller
361
362# VirtIO support
363device		virtio			# Generic VirtIO bus (required)
364device		virtio_pci		# VirtIO PCI device
365device		vtnet			# VirtIO Ethernet device
366device		virtio_blk		# VirtIO Block device
367device		virtio_scsi		# VirtIO SCSI device
368device		virtio_balloon		# VirtIO Memory Balloon device
369
370# Linux KVM paravirtualization support
371device		kvm_clock		# KVM paravirtual clock driver
372
373# HyperV drivers and enhancement support
374device		hyperv			# HyperV drivers
375
376# Xen HVM Guest Optimizations
377# NOTE: XENHVM depends on xenpci and xentimer.
378# They must be added or removed together.
379options 	XENHVM			# Xen HVM kernel infrastructure
380device		xenefi			# Xen EFI timer device
381device		xenpci			# Xen HVM Hypervisor services driver
382device		xentimer		# Xen x86 PV timer device
383
384# Netmap provides direct access to TX/RX rings on supported NICs
385device		netmap			# netmap(4) support
386
387# evdev interface
388options 	EVDEV_SUPPORT		# evdev support in legacy drivers
389device		evdev			# input event device support
390device		uinput			# install /dev/uinput cdev
391
392# HID support
393options 	HID_DEBUG		# enable debug msgs
394device		hid			# Generic HID support
395device		hidbus			# Generic HID Bus
396options 	IICHID_SAMPLING		# Workaround missing GPIO INTR support
397
398# EFI devices
399device		efidev			# EFI pseudo-device
400device		efirtc			# EFI RTC
401