xref: /freebsd/sys/i386/conf/GENERIC (revision 396c556d77189a5c474d35cec6f44a762e310b7d)
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://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
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			# IP (v4/v6) security
35options 	IPSEC_SUPPORT		# Allow kldload of ipsec and tcpmd5
36options 	TCP_HHOOK		# hhook(9) framework for TCP
37options 	TCP_OFFLOAD		# TCP offload
38options 	SCTP			# Stream Control Transmission Protocol
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 	GEOM_PART_GPT		# GUID Partition Tables.
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 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
65options 	KTRACE			# ktrace(1) support
66options 	STACK			# stack(9) support
67options 	SYSVSHM			# SYSV-style shared memory
68options 	SYSVMSG			# SYSV-style message queues
69options 	SYSVSEM			# SYSV-style semaphores
70options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
71options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
72options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
73options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
74options 	AUDIT			# Security event auditing
75options 	CAPABILITY_MODE		# Capsicum capability mode
76options 	CAPABILITIES		# Capsicum capabilities
77options 	MAC			# TrustedBSD MAC Framework
78options 	KDTRACE_HOOKS		# Kernel DTrace hooks
79options 	DDB_CTF			# Kernel ELF linker loads CTF data
80options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
81options 	RACCT			# Resource accounting framework
82options 	RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
83options 	RCTL			# Resource limits
84
85# Debugging support.  Always need this:
86options 	KDB			# Enable kernel debugger support.
87options 	KDB_TRACE		# Print a stack trace for a panic.
88# For full debugger support use (turn off in stable branch):
89options 	DDB			# Support DDB.
90options 	GDB			# Support remote GDB.
91options 	DEADLKRES		# Enable the deadlock resolver
92options 	INVARIANTS		# Enable calls of extra sanity checking
93options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
94options 	WITNESS			# Enable checks to detect deadlocks and cycles
95options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
96options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
97
98# To make an SMP kernel, the next two lines are needed
99options 	SMP			# Symmetric MultiProcessor Kernel
100device		apic			# I/O APIC
101options 	EARLY_AP_STARTUP
102
103# CPU frequency control
104device		cpufreq
105
106# Bus support.
107device		acpi
108device		pci
109options 	PCI_HP			# PCI-Express native HotPlug
110options		PCI_IOV			# PCI SR-IOV support
111
112# Floppy drives
113device		fdc
114
115# ATA controllers
116device		ahci			# AHCI-compatible SATA controllers
117device		ata			# Legacy ATA/SATA controllers
118device		mvs			# Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
119device		siis			# SiliconImage SiI3124/SiI3132/SiI3531 SATA
120
121# SCSI Controllers
122device		ahc			# AHA2940 and onboard AIC7xxx devices
123options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
124					# output.  Adds ~128k to driver.
125device		ahd			# AHA39320/29320 and onboard AIC79xx devices
126options 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug
127					# output.  Adds ~215k to driver.
128device		esp			# AMD Am53C974 (Tekram DC-390(T))
129device		hptiop			# Highpoint RocketRaid 3xxx series
130device		isp			# Qlogic family
131#device		ispfw			# Firmware for QLogic HBAs- normally a module
132device		mpt			# LSI-Logic MPT-Fusion
133device		mps			# LSI-Logic MPT-Fusion 2
134device		mpr			# LSI-Logic MPT-Fusion 3
135#device		ncr			# NCR/Symbios Logic
136device		sym			# NCR/Symbios Logic (newer chipsets + those of `ncr')
137device		trm			# Tekram DC395U/UW/F DC315U adapters
138
139device		adv			# Advansys SCSI adapters
140device		adw			# Advansys wide SCSI adapters
141device		aha			# Adaptec 154x SCSI adapters
142device		aic			# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
143device		bt			# Buslogic/Mylex MultiMaster SCSI adapters
144
145device		ncv			# NCR 53C500
146device		nsp			# Workbit Ninja SCSI-3
147device		stg			# TMC 18C30/18C50
148device		isci			# Intel C600 SAS controller
149
150# ATA/SCSI peripherals
151device		scbus			# SCSI bus (required for ATA/SCSI)
152device		ch			# SCSI media changers
153device		da			# Direct Access (disks)
154device		sa			# Sequential Access (tape etc)
155device		cd			# CD
156device		pass			# Passthrough device (direct ATA/SCSI access)
157device		ses			# Enclosure Services (SES and SAF-TE)
158#device		ctl			# CAM Target Layer
159
160# RAID controllers interfaced to the SCSI subsystem
161device		amr			# AMI MegaRAID
162device		arcmsr			# Areca SATA II RAID
163device		ciss			# Compaq Smart RAID 5*
164device		dpt			# DPT Smartcache III, IV - See NOTES for options
165device		hptmv			# Highpoint RocketRAID 182x
166device		hptnr			# Highpoint DC7280, R750
167device		hptrr			# Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx
168device		hpt27xx			# Highpoint RocketRAID 27xx
169device		iir			# Intel Integrated RAID
170device		ips			# IBM (Adaptec) ServeRAID
171device		mly			# Mylex AcceleRAID/eXtremeRAID
172device		twa			# 3ware 9000 series PATA/SATA RAID
173device		tws			# LSI 3ware 9750 SATA+SAS 6Gb/s RAID controller
174
175# RAID controllers
176device		aac			# Adaptec FSA RAID
177device		aacp			# SCSI passthrough for aac (requires CAM)
178device		aacraid			# Adaptec by PMC RAID
179device		ida			# Compaq Smart RAID
180device		mfi			# LSI MegaRAID SAS
181device		mlx			# Mylex DAC960 family
182device		mrsas			# LSI/Avago MegaRAID SAS/SATA, 6Gb/s and 12Gb/s
183device		pmspcv			# PMC-Sierra SAS/SATA Controller driver
184device		pst			# Promise Supertrak SX6000
185device		twe			# 3ware ATA RAID
186
187# NVM Express (NVMe) support
188device		nvme			# base NVMe driver
189device		nvd			# expose NVMe namespace as disks, depends on nvme
190
191# atkbdc0 controls both the keyboard and the PS/2 mouse
192device		atkbdc			# AT keyboard controller
193device		atkbd			# AT keyboard
194device		psm			# PS/2 mouse
195
196device		kbdmux			# keyboard multiplexer
197
198device		vga			# VGA video card driver
199options 	VESA			# Add support for VESA BIOS Extensions (VBE)
200
201device		splash			# Splash screen and screen saver support
202
203# syscons is the default console driver, resembling an SCO console
204device		sc
205options 	SC_PIXEL_MODE		# add support for the raster text mode
206
207# vt is the new video console driver
208device		vt
209device		vt_vga
210
211device		agp			# support several AGP chipsets
212
213# Power management support (see NOTES for more options)
214#device		apm
215# Add suspend/resume support for the i8254.
216device		pmtimer
217
218# PCCARD (PCMCIA) support
219# PCMCIA and cardbus bridge support
220device		cbb			# cardbus (yenta) bridge
221device		pccard			# PC Card (16-bit) bus
222device		cardbus			# CardBus (32-bit) bus
223
224# Serial (COM) ports
225device		uart			# Generic UART driver
226
227# Parallel port
228device		ppc
229device		ppbus			# Parallel port bus (required)
230device		lpt			# Printer
231device		ppi			# Parallel port interface device
232#device		vpo			# Requires scbus and da
233
234device		puc			# Multi I/O cards and multi-channel UARTs
235
236# PCI Ethernet NICs.
237device		bxe			# Broadcom NetXtreme II BCM5771X/BCM578XX 10GbE
238device		de			# DEC/Intel DC21x4x (``Tulip'')
239device		em			# Intel PRO/1000 Gigabit Ethernet Family
240device		ixgb			# Intel PRO/10GbE Ethernet Card
241device		le			# AMD Am7900 LANCE and Am79C9xx PCnet
242device		ti			# Alteon Networks Tigon I/II gigabit Ethernet
243device		txp			# 3Com 3cR990 (``Typhoon'')
244device		vx			# 3Com 3c590, 3c595 (``Vortex'')
245
246# PCI Ethernet NICs that use the common MII bus controller code.
247# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
248device		miibus			# MII bus support
249device		ae			# Attansic/Atheros L2 FastEthernet
250device		age			# Attansic/Atheros L1 Gigabit Ethernet
251device		alc			# Atheros AR8131/AR8132 Ethernet
252device		ale			# Atheros AR8121/AR8113/AR8114 Ethernet
253device		bce			# Broadcom BCM5706/BCM5708 Gigabit Ethernet
254device		bfe			# Broadcom BCM440x 10/100 Ethernet
255device		bge			# Broadcom BCM570xx Gigabit Ethernet
256device		cas			# Sun Cassini/Cassini+ and NS DP83065 Saturn
257device		dc			# DEC/Intel 21143 and various workalikes
258device		et			# Agere ET1310 10/100/Gigabit Ethernet
259device		fxp			# Intel EtherExpress PRO/100B (82557, 82558)
260device		gem			# Sun GEM/Sun ERI/Apple GMAC
261device		hme			# Sun HME (Happy Meal Ethernet)
262device		jme			# JMicron JMC250 Gigabit/JMC260 Fast Ethernet
263device		lge			# Level 1 LXT1001 gigabit Ethernet
264device		msk			# Marvell/SysKonnect Yukon II Gigabit Ethernet
265device		nfe			# nVidia nForce MCP on-board Ethernet
266device		nge			# NatSemi DP83820 gigabit Ethernet
267device		pcn			# AMD Am79C97x PCI 10/100 (precedence over 'le')
268device		re			# RealTek 8139C+/8169/8169S/8110S
269device		rl			# RealTek 8129/8139
270device		sf			# Adaptec AIC-6915 (``Starfire'')
271device		sge			# Silicon Integrated Systems SiS190/191
272device		sis			# Silicon Integrated Systems SiS 900/SiS 7016
273device		sk			# SysKonnect SK-984x & SK-982x gigabit Ethernet
274device		ste			# Sundance ST201 (D-Link DFE-550TX)
275device		stge			# Sundance/Tamarack TC9021 gigabit Ethernet
276device		tl			# Texas Instruments ThunderLAN
277device		tx			# SMC EtherPower II (83c170 ``EPIC'')
278device		vge			# VIA VT612x gigabit Ethernet
279device		vr			# VIA Rhine, Rhine II
280device		vte			# DM&P Vortex86 RDC R6040 Fast Ethernet
281device		wb			# Winbond W89C840F
282device		xl			# 3Com 3c90x (``Boomerang'', ``Cyclone'')
283
284# ISA Ethernet NICs.  pccard NICs included.
285device		cs			# Crystal Semiconductor CS89x0 NIC
286# 'device ed' requires 'device miibus'
287device		ed			# NE[12]000, SMC Ultra, 3c503, DS8390 cards
288device		ex			# Intel EtherExpress Pro/10 and Pro/10+
289device		ep			# Etherlink III based cards
290device		fe			# Fujitsu MB8696x based cards
291device		ie			# EtherExpress 8/16, 3C507, StarLAN 10 etc.
292device		sn			# SMC's 9000 series of Ethernet chips
293device		xe			# Xircom pccard Ethernet
294
295# Wireless NIC cards
296device		wlan			# 802.11 support
297options 	IEEE80211_DEBUG		# enable debug msgs
298options 	IEEE80211_AMPDU_AGE	# age frames in AMPDU reorder q's
299options 	IEEE80211_SUPPORT_MESH	# enable 802.11s draft support
300device		wlan_wep		# 802.11 WEP support
301device		wlan_ccmp		# 802.11 CCMP support
302device		wlan_tkip		# 802.11 TKIP support
303device		wlan_amrr		# AMRR transmit rate control algorithm
304device		an			# Aironet 4500/4800 802.11 wireless NICs.
305device		ath			# Atheros NICs
306device		ath_pci			# Atheros pci/cardbus glue
307device		ath_hal			# pci/cardbus chip support
308options 	AH_SUPPORT_AR5416	# enable AR5416 tx/rx descriptors
309options 	AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation
310options 	ATH_ENABLE_11N		# Enable 802.11n support for AR5416 and later
311device		ath_rate_sample		# SampleRate tx rate control for ath
312#device		bwi			# Broadcom BCM430x/BCM431x wireless NICs.
313#device		bwn			# Broadcom BCM43xx wireless NICs.
314device		ipw			# Intel 2100 wireless NICs.
315device		iwi			# Intel 2200BG/2225BG/2915ABG wireless NICs.
316device		iwn			# Intel 4965/1000/5000/6000 wireless NICs.
317device		malo			# Marvell Libertas wireless NICs.
318device		mwl			# Marvell 88W8363 802.11n wireless NICs.
319device		ral			# Ralink Technology RT2500 wireless NICs.
320device		wi			# WaveLAN/Intersil/Symbol 802.11 wireless NICs.
321#device		wl			# Older non 802.11 Wavelan wireless NIC.
322device		wpi			# Intel 3945ABG wireless NICs.
323
324# Pseudo devices.
325device		loop			# Network loopback
326device		random			# Entropy device
327device		padlock_rng		# VIA Padlock RNG
328device		rdrand_rng		# Intel Bull Mountain RNG
329device		ether			# Ethernet support
330device		vlan			# 802.1Q VLAN support
331device		tun			# Packet tunnel.
332device		md			# Memory "disks"
333device		gif			# IPv6 and IPv4 tunneling
334device		firmware		# firmware assist module
335
336# The `bpf' device enables the Berkeley Packet Filter.
337# Be aware of the administrative consequences of enabling this!
338# Note that 'bpf' is required for DHCP.
339device		bpf			# Berkeley packet filter
340
341# USB support
342options 	USB_DEBUG		# enable debug msgs
343device		uhci			# UHCI PCI->USB interface
344device		ohci			# OHCI PCI->USB interface
345device		ehci			# EHCI PCI->USB interface (USB 2.0)
346device		xhci			# XHCI PCI->USB interface (USB 3.0)
347device		usb			# USB Bus (required)
348device		ukbd			# Keyboard
349device		umass			# Disks/Mass storage - Requires scbus and da
350
351# Sound support
352device		sound			# Generic sound driver (required)
353device		snd_cmi			# CMedia CMI8338/CMI8738
354device		snd_csa			# Crystal Semiconductor CS461x/428x
355device		snd_emu10kx		# Creative SoundBlaster Live! and Audigy
356device		snd_es137x		# Ensoniq AudioPCI ES137x
357device		snd_hda			# Intel High Definition Audio
358device		snd_ich			# Intel, NVidia and other ICH AC'97 Audio
359device		snd_via8233		# VIA VT8233x Audio
360
361# MMC/SD
362device		mmc			# MMC/SD bus
363device		mmcsd			# MMC/SD memory card
364device		sdhci			# Generic PCI SD Host Controller
365
366# VirtIO support
367device		virtio			# Generic VirtIO bus (required)
368device		virtio_pci		# VirtIO PCI device
369device		vtnet			# VirtIO Ethernet device
370device		virtio_blk		# VirtIO Block device
371device		virtio_scsi		# VirtIO SCSI device
372device		virtio_balloon		# VirtIO Memory Balloon device
373
374# HyperV drivers and enchancement support
375device		hyperv			# HyperV drivers
376
377# Xen HVM Guest Optimizations
378# NOTE: XENHVM depends on xenpci.  They must be added or removed together.
379options 	XENHVM			# Xen HVM kernel infrastructure
380device		xenpci			# Xen HVM Hypervisor services driver
381
382# VMware support
383device		vmx			# VMware VMXNET3 Ethernet
384
385# The crypto framework is required by IPSEC
386device		crypto			# Required by IPSEC
387