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