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