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