xref: /freebsd/sys/powerpc/conf/GENERIC64LE (revision 535af610a4fdace6d50960c0ad9be0597eea7a1b)
1#
2# GENERIC64LE -- Generic kernel configuration file for FreeBSD/powerpc64le
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
34options 	ISA_206_ATOMICS		# PowerISA v2.06 optimized subword atomics
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_SUPPORT		# Allow kldload of SCTP
49options		KERN_TLS		# TLS transmit & receive offload
50options 	FFS			# Berkeley Fast Filesystem
51options 	SOFTUPDATES		# Enable FFS soft updates support
52options 	UFS_ACL			# Support for access control lists
53options 	UFS_DIRHASH		# Improve performance on big directories
54options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
55options 	QUOTA			# Enable disk quotas for UFS
56options 	MD_ROOT			# MD is a potential root device
57options 	MD_ROOT_MEM		# Enable use of initrd as MD root
58options 	NFSCL			# Network Filesystem Client
59options 	NFSD			# Network Filesystem Server
60options 	NFSLOCKD		# Network Lock Manager
61options 	NFS_ROOT		# NFS usable as root device
62options 	MSDOSFS			# MSDOS Filesystem
63options 	CD9660			# ISO 9660 Filesystem
64options 	PROCFS			# Process filesystem (requires PSEUDOFS)
65options 	PSEUDOFS		# Pseudo-filesystem framework
66options 	TMPFS			# Efficient memory filesystem
67options 	GEOM_PART_APM		# Apple Partition Maps.
68options 	GEOM_PART_GPT		# GUID Partition Tables.
69options 	GEOM_LABEL		# Provides labelization
70
71# ports lang/rust (1.57.0) and lang/go (1.17.5) depends on older kernel interfaces
72options         COMPAT_FREEBSD11        # Compatible with FreeBSD11 (required by ports)
73options         COMPAT_FREEBSD12        # Compatible with FreeBSD12 (required by ports)
74options 	COMPAT_FREEBSD13	# Compatible with FreeBSD13
75
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
127options		COMPAT_LINUXKPI
128
129# ATA controllers
130device		ahci		# AHCI-compatible SATA controllers
131device		ata		# Legacy ATA/SATA controllers
132device		mvs		# Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
133device		siis		# SiliconImage SiI3124/SiI3132/SiI3531 SATA
134
135# NVM Express (NVMe) support
136device		nvme		# base NVMe driver
137options 	NVME_USE_NVD=0	# prefer the cam(4) based nda(4) driver
138device		nvd		# expose NVMe namespaces as disks, depends on nvme
139
140# SCSI Controllers
141device		aacraid		# Adaptec by PMC RAID
142device		ahc		# AHA2940 and onboard AIC7xxx devices
143options 	AHC_ALLOW_MEMIO	# Attempt to use memory mapped I/O
144device		isp		# Qlogic family
145device		ispfw		# Firmware module for Qlogic host adapters
146device		mrsas		# LSI/Avago MegaRAID SAS/SATA, 6Gb/s and 12Gb/s
147device		mpt		# LSI-Logic MPT-Fusion
148device		mps		# LSI-Logic MPT-Fusion 2
149device		mpr		# LSI SAS3008 MPT-Fusion SAS-3
150device		sym		# NCR/Symbios/LSI Logic 53C8XX/53C1010/53C1510D
151
152# ATA/SCSI peripherals
153device		scbus		# SCSI bus (required for ATA/SCSI)
154device		ch		# SCSI media changers
155device		da		# Direct Access (disks)
156device		sa		# Sequential Access (tape etc)
157device		cd		# CD
158device		pass		# Passthrough device (direct ATA/SCSI access)
159device		ses		# Enclosure Service (SES and SAF-TE)
160
161# vt is the default console driver, resembling an SCO console
162device		vt		# Core console driver
163device		kbdmux
164
165# Serial (COM) ports
166device		scc
167device		uart
168device		uart_z8530
169
170device		iflib
171
172# Ethernet hardware
173device		em		# Intel PRO/1000 Gigabit Ethernet Family
174device		ix		# Intel PRO/10GbE PCIE PF Ethernet Family
175device		ixl		# Intel 700 Series Physical Function
176device		ixv		# Intel PRO/10GbE PCIE VF Ethernet Family
177device		ice		# Intel 800 Series Physical Function
178device		llan		# IBM pSeries Virtual Ethernet
179device		cxgbe		# Chelsio 10/25G NIC
180
181# PCI Ethernet NICs that use the common MII bus controller code.
182device		miibus		# MII bus support
183device		bge		# Broadcom BCM570xx Gigabit Ethernet
184device		gem		# Sun GEM/Sun ERI/Apple GMAC
185device		dc		# DEC/Intel 21143 and various workalikes
186device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
187device		re		# RealTek 8139C+/8169/8169S/8110S
188device		rl		# RealTek 8129/8139
189
190# Nvidia/Mellanox Connect-X 4 and later, Ethernet only
191# mlx5ib requires ibcore infra and is not included by default
192device		mlx5		# Base driver
193device		mlxfw		# Firmware update
194device		mlx5en		# Ethernet driver
195
196# Pseudo devices.
197device		crypto		# core crypto support
198device		loop		# Network loopback
199device		ether		# Ethernet support
200device		vlan		# 802.1Q VLAN support
201device		tuntap		# Packet tunnel.
202device		md		# Memory "disks"
203device		ofwd		# Open Firmware disks
204device		gif		# IPv6 and IPv4 tunneling
205device		firmware	# firmware assist module
206device		xz		# lzma decompression
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
213# USB support
214options 	USB_DEBUG	# enable debug msgs
215device		uhci		# UHCI PCI->USB interface
216device		ohci		# OHCI PCI->USB interface
217device		ehci		# EHCI PCI->USB interface
218device		xhci		# XHCI PCI->USB interface
219device		usb		# USB Bus (required)
220device		uhid		# "Human Interface Devices"
221device		ukbd		# Keyboard
222options 	KBD_INSTALL_CDEV # install a CDEV entry in /dev
223device		umass		# Disks/Mass storage - Requires scbus and da0
224device		ums		# Mouse
225# USB Ethernet
226device		aue		# ADMtek USB Ethernet
227device		axe		# ASIX Electronics USB Ethernet
228device		cdce		# Generic USB over Ethernet
229device		cue		# CATC USB Ethernet
230device		kue		# Kawasaki LSI USB Ethernet
231
232# Wireless NIC cards
233device		wlan		# 802.11 support
234options 	IEEE80211_SUPPORT_MESH	# enable 802.11s draft support
235options 	IEEE80211_DEBUG	# enable debug msgs
236device		wlan_wep	# 802.11 WEP support
237device		wlan_ccmp	# 802.11 CCMP support
238device		wlan_tkip	# 802.11 TKIP support
239device		wlan_amrr	# AMRR transmit rate control algorithm
240device		ath		# Atheros CardBus/PCI NICs
241device		ath_hal		# Atheros CardBus/PCI chip support
242options 	AH_AR5416_INTERRUPT_MITIGATION	# AR5416 interrupt mitigation
243options 	ATH_ENABLE_11N	# Enable 802.11n support for AR5416 and later
244device		ath_rate_sample	# SampleRate tx rate control for ath
245
246# FireWire support
247device		firewire	# FireWire bus code
248device		sbp		# SCSI over FireWire (Requires scbus and da)
249device		fwe		# Ethernet over FireWire (non-standard!)
250
251# Misc
252device		iicbus		# I2C bus code
253device		iic
254device		opalflash	# PowerNV embedded flash memory
255
256# Sound support
257device		sound		# Generic sound driver (required)
258device		snd_hda		# Intel High Definition Audio
259device		snd_uaudio	# USB Audio
260
261# Netmap provides direct access to TX/RX rings on supported NICs
262device		netmap		# netmap(4) support
263
264# evdev interface
265options 	EVDEV_SUPPORT		# evdev support in legacy drivers
266device		evdev			# input event device support
267device		uinput			# install /dev/uinput cdev
268
269# VirtIO support
270device          virtio                  # Generic VirtIO bus (required)
271device          virtio_pci              # VirtIO PCI device
272device          vtnet                   # VirtIO Ethernet device
273device          virtio_blk              # VirtIO Block device
274device          virtio_scsi             # VirtIO SCSI device
275device          virtio_balloon          # VirtIO Memory Balloon device
276
277# HID support
278options 	HID_DEBUG		# enable debug msgs
279device		hid			# Generic HID support
280