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