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