xref: /freebsd/sys/powerpc/conf/GENERIC64 (revision 0bf56da32d83fbd3b5db8d6c72cd1e7cc26fbc66)
1#
2# GENERIC -- Generic kernel configuration file for FreeBSD/powerpc
3#
4# For more information on this file, please read the handbook section on
5# 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		AIM
22ident		GENERIC
23
24machine 	powerpc	powerpc64
25
26makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
27makeoptions	WITH_CTF=1
28
29# Platform support
30options 	POWERMAC		#NewWorld Apple PowerMacs
31options 	PS3			#Sony Playstation 3
32options 	MAMBO			#IBM Mambo Full System Simulator
33options 	PSERIES			#PAPR-compliant systems (e.g. IBM p)
34options 	POWERNV			#Non-virtualized OpenPOWER systems
35
36options		FDT			#Flattened Device Tree
37options 	SCHED_ULE		#ULE scheduler
38options 	NUMA			#Non-Uniform Memory Architecture support
39options 	PREEMPTION		#Enable kernel thread preemption
40options 	VIMAGE			# Subsystem virtualization, e.g. VNET
41options 	INET			#InterNETworking
42options 	INET6			#IPv6 communications protocols
43options 	IPSEC_SUPPORT		# Allow kldload of ipsec and tcpmd5
44options 	TCP_OFFLOAD		# TCP offload
45options 	TCP_BLACKBOX		# Enhanced TCP event logging
46options 	TCP_HHOOK		# hhook(9) framework for TCP
47options 	TCP_RFC7413		# TCP Fast Open
48options 	SCTP			#Stream Control Transmission Protocol
49options 	FFS			#Berkeley Fast Filesystem
50options 	SOFTUPDATES		#Enable FFS soft updates support
51options 	UFS_ACL			#Support for access control lists
52options 	UFS_DIRHASH		#Improve performance on big directories
53options 	UFS_GJOURNAL		#Enable gjournal-based UFS journaling
54options 	QUOTA			#Enable disk quotas for UFS
55options 	MD_ROOT			#MD is a potential root device
56options 	MD_ROOT_MEM		#Enable use of initrd as MD root
57options 	NFSCL			#Network Filesystem Client
58options 	NFSD			#Network Filesystem Server
59options 	NFSLOCKD		#Network Lock Manager
60options 	NFS_ROOT		#NFS usable as root device
61options 	MSDOSFS			#MSDOS Filesystem
62options 	CD9660			#ISO 9660 Filesystem
63options 	PROCFS			#Process filesystem (requires PSEUDOFS)
64options 	PSEUDOFS		#Pseudo-filesystem framework
65options 	GEOM_PART_APM		#Apple Partition Maps.
66options 	GEOM_PART_GPT		#GUID Partition Tables.
67options 	GEOM_LABEL		#Provides labelization
68options 	COMPAT_FREEBSD32	#Compatible with FreeBSD/powerpc binaries
69options 	COMPAT_FREEBSD5		#Compatible with FreeBSD5
70options 	COMPAT_FREEBSD6		#Compatible with FreeBSD6
71options 	COMPAT_FREEBSD7		#Compatible with FreeBSD7
72options 	COMPAT_FREEBSD9		# Compatible with FreeBSD9
73options 	COMPAT_FREEBSD10	# Compatible with FreeBSD10
74options 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
75options 	COMPAT_FREEBSD12	# Compatible with FreeBSD12
76options 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
77options 	KTRACE			#ktrace(1) syscall trace support
78options 	STACK			#stack(9) support
79options 	SYSVSHM			#SYSV-style shared memory
80options 	SYSVMSG			#SYSV-style message queues
81options 	SYSVSEM			#SYSV-style semaphores
82options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
83options		PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
84options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
85options 	AUDIT			# Security event auditing
86options 	CAPABILITY_MODE		# Capsicum capability mode
87options 	CAPABILITIES		# Capsicum capabilities
88options 	MAC			# TrustedBSD MAC Framework
89options 	KDTRACE_HOOKS		# Kernel DTrace hooks
90options 	DDB_CTF			# Kernel ELF linker loads CTF data
91options 	INCLUDE_CONFIG_FILE     # Include this file in kernel
92options 	RACCT			# Resource accounting framework
93options 	RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
94options 	RCTL			# Resource limits
95
96# Debugging support.  Always need this:
97options 	KDB			# Enable kernel debugger support.
98options 	KDB_TRACE		# Print a stack trace for a panic.
99# For full debugger support use (turn off in stable branch):
100options 	DDB			#Support DDB
101#options 	DEADLKRES		#Enable the deadlock resolver
102options 	INVARIANTS		#Enable calls of extra sanity checking
103options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
104options 	WITNESS			#Enable checks to detect deadlocks and cycles
105options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
106options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
107options 	VERBOSE_SYSINIT=0	# Support debug.verbose_sysinit, off by default
108
109# Kernel dump features.
110options 	EKCD			# Support for encrypted kernel dumps
111options 	GZIO			# gzip-compressed kernel and user dumps
112options 	ZSTDIO			# zstd-compressed kernel and user dumps
113options 	DEBUGNET		# debugnet networking
114options 	NETDUMP			# netdump(4) client support
115
116# Make an SMP-capable kernel by default
117options 	SMP			# Symmetric MultiProcessor Kernel
118
119# CPU frequency control
120device		cpufreq
121
122# Standard busses
123device		pci
124options 	PCI_HP			# PCI-Express native HotPlug
125device		agp
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# NVM Express (NVMe) support
134device		nvme		# base NVMe driver
135options		NVME_USE_NVD=0	# prefer the cam(4) based nda(4) driver
136device		nvd		# expose NVMe namespaces as disks, depends on nvme
137
138# SCSI Controllers
139device		aacraid		# Adaptec by PMC RAID
140device		ahc		# AHA2940 and onboard AIC7xxx devices
141options 	AHC_ALLOW_MEMIO	# Attempt to use memory mapped I/O
142device		isp		# Qlogic family
143device		ispfw		# Firmware module for Qlogic host adapters
144device		mpt		# LSI-Logic MPT-Fusion
145device		mps		# LSI-Logic MPT-Fusion 2
146device		sym		# NCR/Symbios/LSI Logic 53C8XX/53C1010/53C1510D
147
148# ATA/SCSI peripherals
149device		scbus		# SCSI bus (required for ATA/SCSI)
150device		ch		# SCSI media changers
151device		da		# Direct Access (disks)
152device		sa		# Sequential Access (tape etc)
153device		cd		# CD
154device		pass		# Passthrough device (direct ATA/SCSI access)
155device		ses		# Enclosure Service (SES and SAF-TE)
156
157# vt is the default console driver, resembling an SCO console
158device		vt		# Core console driver
159device		kbdmux
160
161# Serial (COM) ports
162device		scc
163device		uart
164device		uart_z8530
165
166device		iflib
167
168# Ethernet hardware
169device		em		# Intel PRO/1000 Gigabit Ethernet Family
170device		ix		# Intel PRO/10GbE PCIE PF Ethernet Family
171device		ixl		# Intel 700 Series Physical Function
172device		ixv		# Intel PRO/10GbE PCIE VF Ethernet Family
173device		glc		# Sony Playstation 3 Ethernet
174device		llan		# IBM pSeries Virtual Ethernet
175device		cxgbe		# Chelsio 10/25G NIC
176
177# PCI Ethernet NICs that use the common MII bus controller code.
178device		miibus		# MII bus support
179device		bge		# Broadcom BCM570xx Gigabit Ethernet
180device		gem		# Sun GEM/Sun ERI/Apple GMAC
181device		dc		# DEC/Intel 21143 and various workalikes
182device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
183device		re		# RealTek 8139C+/8169/8169S/8110S
184device		rl		# RealTek 8129/8139
185
186# Pseudo devices.
187device		crypto		# core crypto support
188device		loop		# Network loopback
189device		ether		# Ethernet support
190device		vlan		# 802.1Q VLAN support
191device		tuntap		# Packet tunnel.
192device		md		# Memory "disks"
193device		ofwd		# Open Firmware disks
194device		gif		# IPv6 and IPv4 tunneling
195device		firmware	# firmware assist module
196
197# The `bpf' device enables the Berkeley Packet Filter.
198# Be aware of the administrative consequences of enabling this!
199# Note that 'bpf' is required for DHCP.
200device		bpf		#Berkeley packet filter
201
202# USB support
203options 	USB_DEBUG	# enable debug msgs
204device		uhci		# UHCI PCI->USB interface
205device		ohci		# OHCI PCI->USB interface
206device		ehci		# EHCI PCI->USB interface
207device		xhci		# XHCI PCI->USB interface
208device		usb		# USB Bus (required)
209device		uhid		# "Human Interface Devices"
210device		ukbd		# Keyboard
211options 	KBD_INSTALL_CDEV # install a CDEV entry in /dev
212device		umass		# Disks/Mass storage - Requires scbus and da0
213device		ums		# Mouse
214# USB Ethernet
215device		aue		# ADMtek USB Ethernet
216device		axe		# ASIX Electronics USB Ethernet
217device		cdce		# Generic USB over Ethernet
218device		cue		# CATC USB Ethernet
219device		kue		# Kawasaki LSI USB Ethernet
220
221# Wireless NIC cards
222options 	IEEE80211_SUPPORT_MESH
223
224# FireWire support
225device		firewire	# FireWire bus code
226device		sbp		# SCSI over FireWire (Requires scbus and da)
227device		fwe		# Ethernet over FireWire (non-standard!)
228
229# Misc
230device		iicbus		# I2C bus code
231device		iic
232device		kiic		# Keywest I2C
233device		ad7417		# PowerMac7,2 temperature sensor
234device		ds1631		# PowerMac11,2 temperature sensor
235device		ds1775		# PowerMac7,2 temperature sensor
236device		fcu		# Apple Fan Control Unit
237device		max6690		# PowerMac7,2 temperature sensor
238device		powermac_nvram	# Open Firmware configuration NVRAM
239device		smu		# Apple System Management Unit
240device		atibl		# ATI-based backlight driver for PowerBooks/iBooks
241device		nvbl		# nVidia-based backlight driver for PowerBooks/iBooks
242device		opalflash	# PowerNV embedded flash memory
243
244# ADB support
245device		adb
246device		pmu
247
248# Sound support
249device		sound		# Generic sound driver (required)
250device		snd_ai2s	# Apple I2S audio
251device		snd_hda		# Intel High Definition Audio
252device		snd_uaudio	# USB Audio
253
254# Netmap provides direct access to TX/RX rings on supported NICs
255device		netmap		# netmap(4) support
256
257# evdev interface
258options 	EVDEV_SUPPORT		# evdev support in legacy drivers
259device		evdev			# input event device support
260device		uinput			# install /dev/uinput cdev
261
262# VirtIO support
263device          virtio                  # Generic VirtIO bus (required)
264device          virtio_pci              # VirtIO PCI device
265device          vtnet                   # VirtIO Ethernet device
266device          virtio_blk              # VirtIO Block device
267device          virtio_scsi             # VirtIO SCSI device
268device          virtio_balloon          # VirtIO Memory Balloon device
269
270