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