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