xref: /freebsd/sys/amd64/conf/GENERIC (revision 7a296a86d1317c79de5980b8346cb7c9f87e6ddc)
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		sym			# NCR/Symbios Logic
149device		isci			# Intel C600 SAS controller
150device		ocs_fc			# Emulex FC adapters
151device		pvscsi			# VMware PVSCSI
152
153# ATA/SCSI peripherals
154device		scbus			# SCSI bus (required for ATA/SCSI)
155device		ch			# SCSI media changers
156device		da			# Direct Access (disks)
157device		sa			# Sequential Access (tape etc)
158device		cd			# CD
159device		pass			# Passthrough device (direct ATA/SCSI access)
160device		ses			# Enclosure Services (SES and SAF-TE)
161#device		ctl			# CAM Target Layer
162
163# RAID controllers interfaced to the SCSI subsystem
164device		arcmsr			# Areca SATA II RAID
165device		ciss			# Compaq Smart RAID 5*
166device		ips			# IBM (Adaptec) ServeRAID
167device		smartpqi		# Microsemi smartpqi driver
168device		tws			# LSI 3ware 9750 SATA+SAS 6Gb/s RAID controller
169
170# RAID controllers
171device		aac			# Adaptec FSA RAID
172device		aacp			# SCSI passthrough for aac (requires CAM)
173device		aacraid			# Adaptec by PMC RAID
174device		ida			# Compaq Smart RAID
175device		mfi			# LSI MegaRAID SAS
176device		mlx			# Mylex DAC960 family
177device		mrsas			# LSI/Avago MegaRAID SAS/SATA, 6Gb/s and 12Gb/s
178#XXX pointer/int warnings
179#device		pst			# Promise Supertrak SX6000
180
181# NVM Express (NVMe) support
182device		nvme			# base NVMe driver
183device		nvd			# expose NVMe namespaces as disks, depends on nvme
184
185# Intel Volume Management Device (VMD) support
186device		vmd
187
188# atkbdc0 controls both the keyboard and the PS/2 mouse
189device		atkbdc			# AT keyboard controller
190device		atkbd			# AT keyboard
191device		psm			# PS/2 mouse
192
193device		kbdmux			# keyboard multiplexer
194
195# syscons is the legacy console driver, resembling an SCO console
196device		vga			# VGA video card driver
197device		splash			# Splash screen and screen saver support
198device		sc
199options 	SC_PIXEL_MODE		# add support for the raster text mode
200
201# vt is the default video console driver
202device		vt
203device		vt_vga
204device		vt_efifb
205device		vt_vbefb
206
207device		agp			# support several AGP chipsets
208
209# CardBus bridge support
210device		cbb			# CardBus (yenta) bridge
211device		cardbus			# CardBus (32-bit) bus
212
213# Serial (COM) ports
214device		uart			# Generic UART driver
215
216# Parallel port
217device		ppc
218device		ppbus			# Parallel port bus (required)
219device		lpt			# Printer
220device		ppi			# Parallel port interface device
221#device		vpo			# Requires scbus and da
222
223device		puc			# Multi I/O cards and multi-channel UARTs
224
225# PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure
226device		iflib
227device		em			# Intel PRO/1000 Gigabit Ethernet Family
228device		igc			# Intel I225 2.5G Ethernet
229device		ix			# Intel PRO/10GbE PCIE PF Ethernet
230device		ixv			# Intel PRO/10GbE PCIE VF Ethernet
231device		ixl			# Intel 700 Series Physical Function
232device		iavf			# Intel Adaptive Virtual Function
233device		ice			# Intel 800 Series Physical Function
234device		vmx			# VMware VMXNET3 Ethernet
235device		axp			# AMD EPYC integrated NIC (requires miibus)
236
237# PCI Ethernet NICs.
238device		bxe			# Broadcom NetXtreme II BCM5771X/BCM578XX 10GbE
239device		le			# AMD Am7900 LANCE and Am79C9xx PCnet
240device		ti			# Alteon Networks Tigon I/II gigabit Ethernet
241
242# Nvidia/Mellanox Connect-X 4 and later, Ethernet only
243#  o requires COMPAT_LINUXKPI and xz(4)
244#  o mlx5ib requires ibcore infra and is not included by default
245device		mlx5			# Base driver
246device		mlxfw			# Firmware update
247device		mlx5en			# Ethernet driver
248
249# PCI Ethernet NICs that use the common MII bus controller code.
250# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
251device		miibus			# MII bus support
252device		ae			# Attansic/Atheros L2 FastEthernet
253device		age			# Attansic/Atheros L1 Gigabit Ethernet
254device		alc			# Atheros AR8131/AR8132 Ethernet
255device		ale			# Atheros AR8121/AR8113/AR8114 Ethernet
256device		bce			# Broadcom BCM5706/BCM5708 Gigabit Ethernet
257device		bfe			# Broadcom BCM440x 10/100 Ethernet
258device		bge			# Broadcom BCM570xx Gigabit Ethernet
259device		cas			# Sun Cassini/Cassini+ and NS DP83065 Saturn
260device		dc			# DEC/Intel 21143 and various workalikes
261device		et			# Agere ET1310 10/100/Gigabit Ethernet
262device		fxp			# Intel EtherExpress PRO/100B (82557, 82558)
263device		gem			# Sun GEM/Sun ERI/Apple GMAC
264device		jme			# JMicron JMC250 Gigabit/JMC260 Fast Ethernet
265device		lge			# Level 1 LXT1001 gigabit Ethernet
266device		msk			# Marvell/SysKonnect Yukon II Gigabit Ethernet
267device		nfe			# nVidia nForce MCP on-board Ethernet
268device		nge			# NatSemi DP83820 gigabit Ethernet
269device		re			# RealTek 8139C+/8169/8169S/8110S
270device		rl			# RealTek 8129/8139
271device		sge			# Silicon Integrated Systems SiS190/191
272device		sis			# Silicon Integrated Systems SiS 900/SiS 7016
273device		sk			# SysKonnect SK-984x & SK-982x gigabit Ethernet
274device		ste			# Sundance ST201 (D-Link DFE-550TX)
275device		stge			# Sundance/Tamarack TC9021 gigabit Ethernet
276device		vge			# VIA VT612x gigabit Ethernet
277device		vr			# VIA Rhine, Rhine II
278device		xl			# 3Com 3c90x (``Boomerang'', ``Cyclone'')
279
280# Wireless NIC cards
281device		wlan			# 802.11 support
282options 	IEEE80211_DEBUG		# enable debug msgs
283options 	IEEE80211_SUPPORT_MESH	# enable 802.11s draft support
284device		wlan_wep		# 802.11 WEP support
285device		wlan_ccmp		# 802.11 CCMP support
286device		wlan_tkip		# 802.11 TKIP support
287device		wlan_amrr		# AMRR transmit rate control algorithm
288device		ath			# Atheros CardBus/PCI NICs
289device		ath_hal			# Atheros CardBus/PCI chip support
290options 	AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation
291device		ath_rate_sample		# SampleRate tx rate control for ath
292#device		bwi			# Broadcom BCM430x/BCM431x wireless NICs.
293#device		bwn			# Broadcom BCM43xx wireless NICs.
294device		ipw			# Intel 2100 wireless NICs.
295device		iwi			# Intel 2200BG/2225BG/2915ABG wireless NICs.
296device		iwn			# Intel 4965/1000/5000/6000 wireless NICs.
297device		malo			# Marvell Libertas wireless NICs.
298device		mwl			# Marvell 88W8363 802.11n wireless NICs.
299device		ral			# Ralink Technology RT2500 wireless NICs.
300device		wpi			# Intel 3945ABG wireless NICs.
301
302# Pseudo devices.
303device		crypto			# core crypto support
304device		aesni			# AES-NI OpenCrypto module
305device		loop			# Network loopback
306device		padlock_rng		# VIA Padlock RNG
307device		rdrand_rng		# Intel Bull Mountain RNG
308device		ether			# Ethernet support
309device		vlan			# 802.1Q VLAN support
310device		tuntap			# Packet tunnel.
311device		md			# Memory "disks"
312device		gif			# IPv6 and IPv4 tunneling
313device		firmware		# firmware assist module
314device		xz			# lzma decompression
315
316# The `bpf' device enables the Berkeley Packet Filter.
317# Be aware of the administrative consequences of enabling this!
318# Note that 'bpf' is required for DHCP.
319device		bpf			# Berkeley packet filter
320
321# USB support
322options 	USB_DEBUG		# enable debug msgs
323device		uhci			# UHCI PCI->USB interface
324device		ohci			# OHCI PCI->USB interface
325device		ehci			# EHCI PCI->USB interface (USB 2.0)
326device		xhci			# XHCI PCI->USB interface (USB 3.0)
327device		usb			# USB Bus (required)
328device		usbhid			# USB HID Transport
329device		hkbd			# HID Keyboard
330device		ukbd			# USB Keyboard
331device		umass			# Disks/Mass storage - Requires scbus and da
332
333# Sound support
334device		sound			# Generic sound driver (required)
335device		snd_cmi			# CMedia CMI8338/CMI8738
336device		snd_csa			# Crystal Semiconductor CS461x/428x
337device		snd_emu10kx		# Creative SoundBlaster Live! and Audigy
338device		snd_es137x		# Ensoniq AudioPCI ES137x
339device		snd_hda			# Intel High Definition Audio
340device		snd_ich			# Intel, NVidia and other ICH AC'97 Audio
341device		snd_via8233		# VIA VT8233x Audio
342
343# MMC/SD
344device		mmc			# MMC/SD bus
345device		mmcsd			# MMC/SD memory card
346device		sdhci			# Generic PCI SD Host Controller
347
348# VirtIO support
349device		virtio			# Generic VirtIO bus (required)
350device		virtio_pci		# VirtIO PCI device
351device		vtnet			# VirtIO Ethernet device
352device		virtio_blk		# VirtIO Block device
353device		virtio_scsi		# VirtIO SCSI device
354device		virtio_balloon		# VirtIO Memory Balloon device
355
356# Linux KVM paravirtualization support
357device		kvm_clock		# KVM paravirtual clock driver
358
359# HyperV drivers and enhancement support
360device		hyperv			# HyperV drivers
361
362# Xen HVM Guest Optimizations
363# NOTE: XENHVM depends on xenpci and xentimer.
364# They must be added or removed together.
365options 	XENHVM			# Xen HVM kernel infrastructure
366device		xenefi			# Xen EFI timer device
367device		xenpci			# Xen HVM Hypervisor services driver
368device		xentimer		# Xen x86 PV timer device
369
370# Netmap provides direct access to TX/RX rings on supported NICs
371device		netmap			# netmap(4) support
372
373# evdev interface
374options 	EVDEV_SUPPORT		# evdev support in legacy drivers
375device		evdev			# input event device support
376device		uinput			# install /dev/uinput cdev
377
378# HID support
379options 	HID_DEBUG		# enable debug msgs
380device		hid			# Generic HID support
381device		hidbus			# Generic HID Bus
382options 	IICHID_SAMPLING		# Workaround missing GPIO INTR support
383
384# EFI devices
385device		efidev			# EFI pseudo-device
386device		efirtc			# EFI RTC
387