xref: /trueos/sys/amd64/conf/MACHTEST (revision fb288bc090bf00e22d6736a7d9af11db0e2fa0e9)
1#
2# GENERIC -- Generic kernel configuration file for FreeBSD/amd64
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#    http://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 (http://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		HAMMER
22ident		GENERIC
23
24makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
25makeoptions	WITH_CTF=1		# Run ctfconvert(1) for DTrace support
26makeoptions	MODULES_OVERRIDE="zfs opensolaris sem em fdescfs procfs dtrace mach"
27
28
29options 	SCHED_ULE		# ULE scheduler
30options 	PREEMPTION		# Enable kernel thread preemption
31options 	INET			# InterNETworking
32options 	INET6			# IPv6 communications protocols
33options 	TCP_OFFLOAD		# TCP offload
34options 	SCTP			# Stream Control Transmission Protocol
35options 	FFS			# Berkeley Fast Filesystem
36options 	SOFTUPDATES		# Enable FFS soft updates support
37options 	UFS_ACL			# Support for access control lists
38options 	UFS_DIRHASH		# Improve performance on big directories
39options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
40options 	QUOTA			# Enable disk quotas for UFS
41options 	MD_ROOT			# MD is a potential root device
42options 	NFSCL			# New Network Filesystem Client
43options 	NFSD			# New Network Filesystem Server
44options 	NFSLOCKD		# Network Lock Manager
45options 	NFS_ROOT		# NFS usable as /, requires NFSCL
46options 	MSDOSFS			# MSDOS Filesystem
47options 	CD9660			# ISO 9660 Filesystem
48options 	PROCFS			# Process filesystem (requires PSEUDOFS)
49options 	PSEUDOFS		# Pseudo-filesystem framework
50options 	GEOM_PART_GPT		# GUID Partition Tables.
51options 	GEOM_RAID		# Soft RAID functionality.
52options 	GEOM_LABEL		# Provides labelization
53options 	COMPAT_FREEBSD32	# Compatible with i386 binaries
54options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
55options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
56options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
57options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
58options		COMPAT_MACH_PORT_DEBUG
59options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
60options 	KTRACE			# ktrace(1) support
61options 	STACK			# stack(9) support
62options 	SYSVSHM			# SYSV-style shared memory
63options 	SYSVMSG			# SYSV-style message queues
64options 	SYSVSEM			# SYSV-style semaphores
65options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
66options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
67options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
68options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
69options 	AUDIT			# Security event auditing
70#options 	CAPABILITY_MODE		# Capsicum capability mode
71#options 	CAPABILITIES		# Capsicum capabilities
72options 	MAC			# TrustedBSD MAC Framework
73options 	KDTRACE_HOOKS		# Kernel DTrace hooks
74options 	DDB_CTF			# Kernel ELF linker loads CTF data
75options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
76options		ALT_BREAK_TO_DEBUGGER
77#options		OPENSOLARIS_WITNESS
78
79# Debugging support.  Always need this:
80options 	KDB			# Enable kernel debugger support.
81options 	KDB_TRACE		# Print a stack trace for a panic.
82# For full debugger support use (turn off in stable branch):
83options 	DDB			# Support DDB.
84options 	GDB			# Support remote GDB.
85options 	DEADLKRES		# Enable the deadlock resolver
86options 	INVARIANTS		# Enable calls of extra sanity checking
87options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
88options 	WITNESS			# Enable checks to detect deadlocks and cycles
89options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
90options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
91options 	DEBUG_MEMGUARD
92options 	DEBUG_REDZONE
93
94# Make an SMP-capable kernel by default
95options 	SMP			# Symmetric MultiProcessor Kernel
96
97# CPU frequency control
98device		cpufreq
99
100# Bus support.
101device		acpi
102options 	ACPI_DMAR
103device		pci
104
105# Floppy drives
106device		fdc
107
108# ATA controllers
109device		ahci			# AHCI-compatible SATA controllers
110device		ata			# Legacy ATA/SATA controllers
111options 	ATA_STATIC_ID		# Static device numbering
112device		mvs			# Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
113device		siis			# SiliconImage SiI3124/SiI3132/SiI3531 SATA
114
115# SCSI Controllers
116device		ahc			# AHA2940 and onboard AIC7xxx devices
117options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
118					# output.  Adds ~128k to driver.
119device		ahd			# AHA39320/29320 and onboard AIC79xx devices
120options 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug
121					# output.  Adds ~215k to driver.
122device		esp			# AMD Am53C974 (Tekram DC-390(T))
123device		hptiop			# Highpoint RocketRaid 3xxx series
124device		isp			# Qlogic family
125#device		ispfw			# Firmware for QLogic HBAs- normally a module
126device		mpt			# LSI-Logic MPT-Fusion
127device		mps			# LSI-Logic MPT-Fusion 2
128device		mpr			# LSI-Logic MPT-Fusion 3
129#device		ncr			# NCR/Symbios Logic
130device		sym			# NCR/Symbios Logic (newer chipsets + those of `ncr')
131device		trm			# Tekram DC395U/UW/F DC315U adapters
132
133device		adv			# Advansys SCSI adapters
134device		adw			# Advansys wide SCSI adapters
135device		aic			# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
136device		bt			# Buslogic/Mylex MultiMaster SCSI adapters
137device		isci			# Intel C600 SAS controller
138
139# ATA/SCSI peripherals
140device		scbus			# SCSI bus (required for ATA/SCSI)
141device		ch			# SCSI media changers
142device		da			# Direct Access (disks)
143device		sa			# Sequential Access (tape etc)
144device		cd			# CD
145device		pass			# Passthrough device (direct ATA/SCSI access)
146device		ses			# Enclosure Services (SES and SAF-TE)
147#device		ctl			# CAM Target Layer
148
149
150# atkbdc0 controls both the keyboard and the PS/2 mouse
151device		atkbdc			# AT keyboard controller
152device		atkbd			# AT keyboard
153device		psm			# PS/2 mouse
154
155device		kbdmux			# keyboard multiplexer
156
157device		vga			# VGA video card driver
158options 	VESA			# Add support for VESA BIOS Extensions (VBE)
159
160device		splash			# Splash screen and screen saver support
161
162# syscons is the default console driver, resembling an SCO console
163device		sc
164options 	SC_PIXEL_MODE		# add support for the raster text mode
165
166# vt is the new video console driver
167device		vt
168device		vt_vga
169device		vt_efifb
170
171device		agp			# support several AGP chipsets
172
173# PCCARD (PCMCIA) support
174# PCMCIA and cardbus bridge support
175device		cbb			# cardbus (yenta) bridge
176device		pccard			# PC Card (16-bit) bus
177device		cardbus			# CardBus (32-bit) bus
178
179# Serial (COM) ports
180device		uart			# Generic UART driver
181
182# Parallel port
183device		ppc
184device		ppbus			# Parallel port bus (required)
185device		lpt			# Printer
186device		ppi			# Parallel port interface device
187#device		vpo			# Requires scbus and da
188
189device		puc			# Multi I/O cards and multi-channel UARTs
190
191# PCI Ethernet NICs.
192
193# PCI Ethernet NICs that use the common MII bus controller code.
194# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
195device		miibus			# MII bus support
196device		bce
197
198# Pseudo devices.
199device		loop			# Network loopback
200device		random			# Entropy device
201device		ether			# Ethernet support
202device		vlan			# 802.1Q VLAN support
203device		tun			# Packet tunnel.
204device		md			# Memory "disks"
205device		gif			# IPv6 and IPv4 tunneling
206device		firmware		# firmware assist module
207
208# The `bpf' device enables the Berkeley Packet Filter.
209# Be aware of the administrative consequences of enabling this!
210# Note that 'bpf' is required for DHCP.
211device		bpf			# Berkeley packet filter
212
213device		em
214# USB support
215options 	USB_DEBUG		# enable debug msgs
216device		uhci			# UHCI PCI->USB interface
217device		ohci			# OHCI PCI->USB interface
218device		ehci			# EHCI PCI->USB interface (USB 2.0)
219device		xhci			# XHCI PCI->USB interface (USB 3.0)
220device		usb			# USB Bus (required)
221device		ukbd			# Keyboard
222device		umass			# Disks/Mass storage - Requires scbus and da
223
224# Sound support
225device		sound			# Generic sound driver (required)
226device		snd_cmi			# CMedia CMI8338/CMI8738
227device		snd_csa			# Crystal Semiconductor CS461x/428x
228device		snd_emu10kx		# Creative SoundBlaster Live! and Audigy
229device		snd_es137x		# Ensoniq AudioPCI ES137x
230device		snd_hda			# Intel High Definition Audio
231device		snd_ich			# Intel, NVidia and other ICH AC'97 Audio
232device		snd_via8233		# VIA VT8233x Audio
233
234# MMC/SD
235device		mmc			# MMC/SD bus
236device		mmcsd			# MMC/SD memory card
237device		sdhci			# Generic PCI SD Host Controller
238
239# VirtIO support
240device		virtio			# Generic VirtIO bus (required)
241device		virtio_pci		# VirtIO PCI device
242device		vtnet			# VirtIO Ethernet device
243device		virtio_blk		# VirtIO Block device
244device		virtio_scsi		# VirtIO SCSI device
245device		virtio_balloon		# VirtIO Memory Balloon device
246
247# HyperV drivers
248device		hyperv			# HyperV drivers
249
250# Xen HVM Guest Optimizations
251# NOTE: XENHVM depends on xenpci.  They must be added or removed together.
252options 	XENHVM			# Xen HVM kernel infrastructure
253device		xenpci			# Xen HVM Hypervisor services driver
254
255# VMware support
256device		vmx			# VMware VMXNET3 Ethernet
257