xref: /freebsd/sys/i386/conf/GENERIC (revision 2b833162)
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		pmspcv			# PMC-Sierra SAS/SATA Controller driver
170device		pst			# Promise Supertrak SX6000
171device		twe			# 3ware ATA RAID
172
173# NVM Express (NVMe) support
174device		nvme			# base NVMe driver
175device		nvd			# expose NVMe namespace as disks, depends on nvme
176
177# atkbdc0 controls both the keyboard and the PS/2 mouse
178device		atkbdc			# AT keyboard controller
179device		atkbd			# AT keyboard
180device		psm			# PS/2 mouse
181
182device		kbdmux			# keyboard multiplexer
183
184# syscons is the legacy console driver, resembling an SCO console
185device		vga			# VGA video card driver
186device		splash			# Splash screen and screen saver support
187device		sc
188options 	SC_PIXEL_MODE		# add support for the raster text mode
189
190# vt is the default video console driver
191device		vt
192device		vt_vga
193device		vt_vbefb
194
195device		agp			# support several AGP chipsets
196
197# CardBus bridge support
198device		cbb			# CardBus (yenta) bridge
199device		cardbus			# CardBus (32-bit) bus
200
201# Serial (COM) ports
202device		uart			# Generic UART driver
203
204# Parallel port
205device		ppc
206device		ppbus			# Parallel port bus (required)
207device		lpt			# Printer
208device		ppi			# Parallel port interface device
209#device		vpo			# Requires scbus and da
210
211device		puc			# Multi I/O cards and multi-channel UARTs
212
213# PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure
214device		iflib
215device		igc			# Intel I225 2.5G Ethernet
216device		em			# Intel PRO/1000 Gigabit Ethernet Family
217device		vmx			# VMware VMXNET3 Ethernet
218
219# PCI Ethernet NICs.
220device		bxe			# Broadcom NetXtreme II BCM5771X/BCM578XX 10GbE
221device		le			# AMD Am7900 LANCE and Am79C9xx PCnet
222device		ti			# Alteon Networks Tigon I/II gigabit Ethernet
223
224# PCI Ethernet NICs that use the common MII bus controller code.
225# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
226device		miibus			# MII bus support
227device		ae			# Attansic/Atheros L2 FastEthernet
228device		age			# Attansic/Atheros L1 Gigabit Ethernet
229device		alc			# Atheros AR8131/AR8132 Ethernet
230device		ale			# Atheros AR8121/AR8113/AR8114 Ethernet
231device		bce			# Broadcom BCM5706/BCM5708 Gigabit Ethernet
232device		bfe			# Broadcom BCM440x 10/100 Ethernet
233device		bge			# Broadcom BCM570xx Gigabit Ethernet
234device		cas			# Sun Cassini/Cassini+ and NS DP83065 Saturn
235device		dc			# DEC/Intel 21143 and various workalikes
236device		et			# Agere ET1310 10/100/Gigabit Ethernet
237device		fxp			# Intel EtherExpress PRO/100B (82557, 82558)
238device		gem			# Sun GEM/Sun ERI/Apple GMAC
239device		jme			# JMicron JMC250 Gigabit/JMC260 Fast Ethernet
240device		lge			# Level 1 LXT1001 gigabit Ethernet
241device		msk			# Marvell/SysKonnect Yukon II Gigabit Ethernet
242device		nfe			# nVidia nForce MCP on-board Ethernet
243device		nge			# NatSemi DP83820 gigabit Ethernet
244device		re			# RealTek 8139C+/8169/8169S/8110S
245device		rl			# RealTek 8129/8139
246device		sge			# Silicon Integrated Systems SiS190/191
247device		sis			# Silicon Integrated Systems SiS 900/SiS 7016
248device		sk			# SysKonnect SK-984x & SK-982x gigabit Ethernet
249device		ste			# Sundance ST201 (D-Link DFE-550TX)
250device		stge			# Sundance/Tamarack TC9021 gigabit Ethernet
251device		vge			# VIA VT612x gigabit Ethernet
252device		vr			# VIA Rhine, Rhine II
253device		vte			# DM&P Vortex86 RDC R6040 Fast Ethernet
254device		xl			# 3Com 3c90x (``Boomerang'', ``Cyclone'')
255
256# Wireless NIC cards
257device		wlan			# 802.11 support
258options 	IEEE80211_DEBUG		# enable debug msgs
259options 	IEEE80211_SUPPORT_MESH	# enable 802.11s draft support
260device		wlan_wep		# 802.11 WEP support
261device		wlan_ccmp		# 802.11 CCMP support
262device		wlan_tkip		# 802.11 TKIP support
263device		wlan_amrr		# AMRR transmit rate control algorithm
264device		ath			# Atheros NICs
265device		ath_pci			# Atheros pci/cardbus glue
266device		ath_hal			# pci/cardbus chip support
267options 	AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation
268options 	ATH_ENABLE_11N		# Enable 802.11n support for AR5416 and later
269device		ath_rate_sample		# SampleRate tx rate control for ath
270#device		bwi			# Broadcom BCM430x/BCM431x wireless NICs.
271#device		bwn			# Broadcom BCM43xx wireless NICs.
272device		ipw			# Intel 2100 wireless NICs.
273device		iwi			# Intel 2200BG/2225BG/2915ABG wireless NICs.
274device		iwn			# Intel 4965/1000/5000/6000 wireless NICs.
275device		malo			# Marvell Libertas wireless NICs.
276device		mwl			# Marvell 88W8363 802.11n wireless NICs.
277device		ral			# Ralink Technology RT2500 wireless NICs.
278device		wpi			# Intel 3945ABG wireless NICs.
279
280# Pseudo devices.
281device		crypto			# core crypto support
282device		aesni			# AES-NI OpenCrypto module
283device		loop			# Network loopback
284device		padlock_rng		# VIA Padlock RNG
285device		rdrand_rng		# Intel Bull Mountain RNG
286device		ether			# Ethernet support
287device		vlan			# 802.1Q VLAN support
288device		tuntap			# Packet tunnel.
289device		md			# Memory "disks"
290device		gif			# IPv6 and IPv4 tunneling
291device		firmware		# firmware assist module
292
293# The `bpf' device enables the Berkeley Packet Filter.
294# Be aware of the administrative consequences of enabling this!
295# Note that 'bpf' is required for DHCP.
296device		bpf			# Berkeley packet filter
297
298# USB support
299options 	USB_DEBUG		# enable debug msgs
300device		uhci			# UHCI PCI->USB interface
301device		ohci			# OHCI PCI->USB interface
302device		ehci			# EHCI PCI->USB interface (USB 2.0)
303device		xhci			# XHCI PCI->USB interface (USB 3.0)
304device		usb			# USB Bus (required)
305device		ukbd			# Keyboard
306device		umass			# Disks/Mass storage - Requires scbus and da
307
308# Sound support
309device		sound			# Generic sound driver (required)
310device		snd_cmi			# CMedia CMI8338/CMI8738
311device		snd_csa			# Crystal Semiconductor CS461x/428x
312device		snd_emu10kx		# Creative SoundBlaster Live! and Audigy
313device		snd_es137x		# Ensoniq AudioPCI ES137x
314device		snd_hda			# Intel High Definition Audio
315device		snd_ich			# Intel, NVidia and other ICH AC'97 Audio
316device		snd_via8233		# VIA VT8233x Audio
317
318# MMC/SD
319device		mmc			# MMC/SD bus
320device		mmcsd			# MMC/SD memory card
321device		sdhci			# Generic PCI SD Host Controller
322
323# VirtIO support
324device		virtio			# Generic VirtIO bus (required)
325device		virtio_pci		# VirtIO PCI device
326device		vtnet			# VirtIO Ethernet device
327device		virtio_blk		# VirtIO Block device
328device		virtio_scsi		# VirtIO SCSI device
329device		virtio_balloon		# VirtIO Memory Balloon device
330
331# Linux KVM paravirtualization support
332device		kvm_clock		# KVM paravirtual clock driver
333
334# HyperV drivers and enhancement support
335# NOTE: HYPERV depends on hyperv.  They must be added or removed together.
336options 	HYPERV			# Kernel support for HyperV drivers
337device		hyperv			# HyperV drivers
338
339# Xen HVM Guest Optimizations
340# NOTE: XENHVM and xenpci interdepend.  They must be added or removed
341# together.  xentimer depends on XENHVM and isn't required.
342options 	XENHVM			# Xen HVM kernel infrastructure
343device		xenpci			# Xen HVM Hypervisor services driver
344device		xentimer		# Xen x86 PV timer device
345
346# evdev interface
347options 	EVDEV_SUPPORT		# evdev support in legacy drivers
348device		evdev			# input event device support
349device		uinput			# install /dev/uinput cdev
350
351# HID support
352options 	HID_DEBUG		# enable debug msgs
353device		hid			# Generic HID support
354options 	IICHID_SAMPLING		# Workaround missing GPIO INTR support
355