xref: /freebsd/sys/i386/conf/GENERIC (revision 3332f1b444d4a73238e9f59cca27bfc95fe936bd)
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		CC_NEWRENO		# include newreno congestion control
35options		CC_DEFAULT=\"newreno\"	# define our default CC module it should be compiled in.
36options 	IPSEC_SUPPORT		# Allow kldload of ipsec and tcpmd5
37options		ROUTE_MPATH		# Multipath routing support
38options 	TCP_HHOOK		# hhook(9) framework for TCP
39options 	TCP_OFFLOAD		# TCP offload
40options 	SCTP_SUPPORT		# Allow kldload of SCTP
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 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
60options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
61options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
62options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
63options 	COMPAT_FREEBSD9		# Compatible with FreeBSD9
64options 	COMPAT_FREEBSD10	# Compatible with FreeBSD10
65options 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
66options 	COMPAT_FREEBSD12	# Compatible with FreeBSD12
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		esp			# AMD Am53C974 (Tekram DC-390(T))
137device		hptiop			# Highpoint RocketRaid 3xxx series
138device		isp			# Qlogic family
139#device		ispfw			# Firmware for QLogic HBAs- normally a module
140device		mpt			# LSI-Logic MPT-Fusion
141device		mps			# LSI-Logic MPT-Fusion 2
142device		mpr			# LSI-Logic MPT-Fusion 3
143device		sym			# NCR/Symbios Logic
144device		isci			# Intel C600 SAS controller
145device		pvscsi			# VMware PVSCSI
146
147# ATA/SCSI peripherals
148device		scbus			# SCSI bus (required for ATA/SCSI)
149device		ch			# SCSI media changers
150device		da			# Direct Access (disks)
151device		sa			# Sequential Access (tape etc)
152device		cd			# CD
153device		pass			# Passthrough device (direct ATA/SCSI access)
154device		ses			# Enclosure Services (SES and SAF-TE)
155#device		ctl			# CAM Target Layer
156
157# RAID controllers interfaced to the SCSI subsystem
158device		amr			# AMI MegaRAID
159device		arcmsr			# Areca SATA II RAID
160device		ciss			# Compaq Smart RAID 5*
161device		iir			# Intel Integrated RAID
162device		ips			# IBM (Adaptec) ServeRAID
163device		mly			# Mylex AcceleRAID/eXtremeRAID
164device		twa			# 3ware 9000 series PATA/SATA RAID
165device		tws			# LSI 3ware 9750 SATA+SAS 6Gb/s RAID controller
166
167# RAID controllers
168device		aac			# Adaptec FSA RAID
169device		aacp			# SCSI passthrough for aac (requires CAM)
170device		aacraid			# Adaptec by PMC RAID
171device		ida			# Compaq Smart RAID
172device		mfi			# LSI MegaRAID SAS
173device		mlx			# Mylex DAC960 family
174device		mrsas			# LSI/Avago MegaRAID SAS/SATA, 6Gb/s and 12Gb/s
175device		pmspcv			# PMC-Sierra SAS/SATA Controller driver
176device		pst			# Promise Supertrak SX6000
177device		twe			# 3ware ATA RAID
178
179# NVM Express (NVMe) support
180device		nvme			# base NVMe driver
181device		nvd			# expose NVMe namespace as disks, depends on nvme
182
183# atkbdc0 controls both the keyboard and the PS/2 mouse
184device		atkbdc			# AT keyboard controller
185device		atkbd			# AT keyboard
186device		psm			# PS/2 mouse
187
188device		kbdmux			# keyboard multiplexer
189
190device		vga			# VGA video card driver
191options 	VESA			# Add support for VESA BIOS Extensions (VBE)
192
193device		splash			# Splash screen and screen saver support
194
195# syscons is the default console driver, resembling an SCO console
196device		sc
197options 	SC_PIXEL_MODE		# add support for the raster text mode
198
199# vt is the new video console driver
200device		vt
201device		vt_vga
202device		vt_vbefb
203
204device		agp			# support several AGP chipsets
205
206# PCCARD (PCMCIA) support
207# PCMCIA and cardbus bridge support
208device		cbb			# cardbus (yenta) bridge
209device		cardbus			# CardBus (32-bit) bus
210
211# Serial (COM) ports
212device		uart			# Generic UART driver
213
214# Parallel port
215device		ppc
216device		ppbus			# Parallel port bus (required)
217device		lpt			# Printer
218device		ppi			# Parallel port interface device
219#device		vpo			# Requires scbus and da
220
221device		puc			# Multi I/O cards and multi-channel UARTs
222
223# PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure
224device		iflib
225device		igc			# Intel I225 2.5G Ethernet
226device		em			# Intel PRO/1000 Gigabit Ethernet Family
227device		vmx			# VMware VMXNET3 Ethernet
228
229# PCI Ethernet NICs.
230device		bxe			# Broadcom NetXtreme II BCM5771X/BCM578XX 10GbE
231device		le			# AMD Am7900 LANCE and Am79C9xx PCnet
232device		ti			# Alteon Networks Tigon I/II gigabit Ethernet
233
234# PCI Ethernet NICs that use the common MII bus controller code.
235# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
236device		miibus			# MII bus support
237device		ae			# Attansic/Atheros L2 FastEthernet
238device		age			# Attansic/Atheros L1 Gigabit Ethernet
239device		alc			# Atheros AR8131/AR8132 Ethernet
240device		ale			# Atheros AR8121/AR8113/AR8114 Ethernet
241device		bce			# Broadcom BCM5706/BCM5708 Gigabit Ethernet
242device		bfe			# Broadcom BCM440x 10/100 Ethernet
243device		bge			# Broadcom BCM570xx Gigabit Ethernet
244device		cas			# Sun Cassini/Cassini+ and NS DP83065 Saturn
245device		dc			# DEC/Intel 21143 and various workalikes
246device		et			# Agere ET1310 10/100/Gigabit Ethernet
247device		fxp			# Intel EtherExpress PRO/100B (82557, 82558)
248device		gem			# Sun GEM/Sun ERI/Apple GMAC
249device		jme			# JMicron JMC250 Gigabit/JMC260 Fast Ethernet
250device		lge			# Level 1 LXT1001 gigabit Ethernet
251device		msk			# Marvell/SysKonnect Yukon II Gigabit Ethernet
252device		nfe			# nVidia nForce MCP on-board Ethernet
253device		nge			# NatSemi DP83820 gigabit Ethernet
254device		re			# RealTek 8139C+/8169/8169S/8110S
255device		rl			# RealTek 8129/8139
256device		sge			# Silicon Integrated Systems SiS190/191
257device		sis			# Silicon Integrated Systems SiS 900/SiS 7016
258device		sk			# SysKonnect SK-984x & SK-982x gigabit Ethernet
259device		ste			# Sundance ST201 (D-Link DFE-550TX)
260device		stge			# Sundance/Tamarack TC9021 gigabit Ethernet
261device		vge			# VIA VT612x gigabit Ethernet
262device		vr			# VIA Rhine, Rhine II
263device		vte			# DM&P Vortex86 RDC R6040 Fast Ethernet
264device		xl			# 3Com 3c90x (``Boomerang'', ``Cyclone'')
265
266# Wireless NIC cards
267device		wlan			# 802.11 support
268options 	IEEE80211_DEBUG		# enable debug msgs
269options 	IEEE80211_SUPPORT_MESH	# enable 802.11s draft support
270device		wlan_wep		# 802.11 WEP support
271device		wlan_ccmp		# 802.11 CCMP support
272device		wlan_tkip		# 802.11 TKIP support
273device		wlan_amrr		# AMRR transmit rate control algorithm
274device		ath			# Atheros NICs
275device		ath_pci			# Atheros pci/cardbus glue
276device		ath_hal			# pci/cardbus chip support
277options 	AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation
278options 	ATH_ENABLE_11N		# Enable 802.11n support for AR5416 and later
279device		ath_rate_sample		# SampleRate tx rate control for ath
280#device		bwi			# Broadcom BCM430x/BCM431x wireless NICs.
281#device		bwn			# Broadcom BCM43xx wireless NICs.
282device		ipw			# Intel 2100 wireless NICs.
283device		iwi			# Intel 2200BG/2225BG/2915ABG wireless NICs.
284device		iwn			# Intel 4965/1000/5000/6000 wireless NICs.
285device		malo			# Marvell Libertas wireless NICs.
286device		mwl			# Marvell 88W8363 802.11n wireless NICs.
287device		ral			# Ralink Technology RT2500 wireless NICs.
288device		wpi			# Intel 3945ABG wireless NICs.
289
290# Pseudo devices.
291device		crypto			# core crypto support
292device		aesni			# AES-NI OpenCrypto module
293device		loop			# Network loopback
294device		padlock_rng		# VIA Padlock RNG
295device		rdrand_rng		# Intel Bull Mountain RNG
296device		ether			# Ethernet support
297device		vlan			# 802.1Q VLAN support
298device		tuntap			# Packet tunnel.
299device		md			# Memory "disks"
300device		gif			# IPv6 and IPv4 tunneling
301device		firmware		# firmware assist module
302
303# The `bpf' device enables the Berkeley Packet Filter.
304# Be aware of the administrative consequences of enabling this!
305# Note that 'bpf' is required for DHCP.
306device		bpf			# Berkeley packet filter
307
308# USB support
309options 	USB_DEBUG		# enable debug msgs
310device		uhci			# UHCI PCI->USB interface
311device		ohci			# OHCI PCI->USB interface
312device		ehci			# EHCI PCI->USB interface (USB 2.0)
313device		xhci			# XHCI PCI->USB interface (USB 3.0)
314device		usb			# USB Bus (required)
315device		ukbd			# Keyboard
316device		umass			# Disks/Mass storage - Requires scbus and da
317
318# Sound support
319device		sound			# Generic sound driver (required)
320device		snd_cmi			# CMedia CMI8338/CMI8738
321device		snd_csa			# Crystal Semiconductor CS461x/428x
322device		snd_emu10kx		# Creative SoundBlaster Live! and Audigy
323device		snd_es137x		# Ensoniq AudioPCI ES137x
324device		snd_hda			# Intel High Definition Audio
325device		snd_ich			# Intel, NVidia and other ICH AC'97 Audio
326device		snd_via8233		# VIA VT8233x Audio
327
328# MMC/SD
329device		mmc			# MMC/SD bus
330device		mmcsd			# MMC/SD memory card
331device		sdhci			# Generic PCI SD Host Controller
332device		rtsx			# Realtek SD card reader
333
334# VirtIO support
335device		virtio			# Generic VirtIO bus (required)
336device		virtio_pci		# VirtIO PCI device
337device		vtnet			# VirtIO Ethernet device
338device		virtio_blk		# VirtIO Block device
339device		virtio_scsi		# VirtIO SCSI device
340device		virtio_balloon		# VirtIO Memory Balloon device
341
342# Linux KVM paravirtualization support
343device		kvm_clock		# KVM paravirtual clock driver
344
345# HyperV drivers and enhancement support
346# NOTE: HYPERV depends on hyperv.  They must be added or removed together.
347options 	HYPERV			# Kernel support for HyperV drivers
348device		hyperv			# HyperV drivers
349
350# Xen HVM Guest Optimizations
351# NOTE: XENHVM and xenpci interdepend.  They must be added or removed
352# together.  xentimer depends on XENHVM and isn't required.
353options 	XENHVM			# Xen HVM kernel infrastructure
354device		xenpci			# Xen HVM Hypervisor services driver
355device		xentimer		# Xen x86 PV timer device
356
357# evdev interface
358options 	EVDEV_SUPPORT		# evdev support in legacy drivers
359device		evdev			# input event device support
360device		uinput			# install /dev/uinput cdev
361
362# HID support
363options 	HID_DEBUG		# enable debug msgs
364device		hid			# Generic HID support
365options 	IICHID_SAMPLING		# Workaround missing GPIO INTR support
366