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