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