xref: /freebsd/sys/powerpc/conf/GENERIC64LE (revision b4be4a7890e7f3a94acc08440e28d480434f5bb8)
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
20cpu		AIM
21ident		GENERIC
22
23machine 	powerpc	powerpc64le
24
25makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
26makeoptions	WITH_CTF=1
27
28# Platform support
29options 	MAMBO			# IBM Mambo Full System Simulator
30options 	QEMU			# QEMU processor emulator
31options 	PSERIES			# PAPR-compliant systems (e.g. IBM p)
32options 	POWERNV			# Non-virtualized OpenPOWER systems
33options 	ISA_206_ATOMICS		# PowerISA v2.06 optimized subword atomics
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		KERN_TLS		# TLS transmit & receive offload
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 	TMPFS			# Efficient memory filesystem
66options 	GEOM_PART_APM		# Apple Partition Maps.
67options 	GEOM_PART_GPT		# GUID Partition Tables.
68options 	GEOM_LABEL		# Provides labelization
69
70# ports lang/rust (1.57.0) and lang/go (1.17.5) depends on older kernel interfaces
71options         COMPAT_FREEBSD11        # Compatible with FreeBSD11 (required by ports)
72options         COMPAT_FREEBSD12        # Compatible with FreeBSD12 (required by ports)
73options 	COMPAT_FREEBSD13	# Compatible with FreeBSD13
74options 	COMPAT_FREEBSD14	# Compatible with FreeBSD14
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):
100include "std.debug"
101
102# Compression support
103options 	GZIO			# gzip (dumps)
104options 	ZSTDIO			# zstd (dumps, tarfs, uzip, zfs)
105
106# Kernel dump features.
107options 	EKCD			# Support for encrypted kernel 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
122options		COMPAT_LINUXKPI
123
124# ATA controllers
125device		ahci		# AHCI-compatible SATA controllers
126device		ata		# Legacy ATA/SATA controllers
127device		mvs		# Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
128device		siis		# SiliconImage SiI3124/SiI3132/SiI3531 SATA
129
130# NVM Express (NVMe) support
131device		nvme		# base NVMe driver
132options 	NVME_USE_NVD=0	# prefer the cam(4) based nda(4) driver
133device		nvd		# expose NVMe namespaces as disks, depends on nvme
134
135# SCSI Controllers
136device		aacraid		# Adaptec by PMC RAID
137device		ahc		# AHA2940 and onboard AIC7xxx devices
138device		isp		# Qlogic family
139device		ispfw		# Firmware module for Qlogic host adapters
140device		mrsas		# LSI/Avago MegaRAID SAS/SATA, 6Gb/s and 12Gb/s
141device		mpt		# LSI-Logic MPT-Fusion
142device		mps		# LSI-Logic MPT-Fusion 2
143device		mpr		# LSI SAS3008 MPT-Fusion SAS-3
144device		sym		# NCR/Symbios/LSI Logic 53C8XX/53C1010/53C1510D
145
146# ATA/SCSI peripherals
147device		scbus		# SCSI bus (required for ATA/SCSI)
148device		ch		# SCSI media changers
149device		da		# Direct Access (disks)
150device		sa		# Sequential Access (tape etc)
151device		cd		# CD
152device		pass		# Passthrough device (direct ATA/SCSI access)
153device		ses		# Enclosure Service (SES and SAF-TE)
154
155# vt is the default console driver, resembling an SCO console
156device		vt		# Core console driver
157device		kbdmux
158
159# Serial (COM) ports
160device		scc
161device		uart
162device		uart_z8530
163
164device		iflib
165
166# Ethernet hardware
167device		em		# Intel PRO/1000 Gigabit Ethernet Family
168device		ix		# Intel PRO/10GbE PCIE PF Ethernet Family
169device		ixl		# Intel 700 Series Physical Function
170device		ixv		# Intel PRO/10GbE PCIE VF Ethernet Family
171device		ice		# Intel 800 Series Physical Function
172device		llan		# IBM pSeries Virtual Ethernet
173device		cxgbe		# Chelsio 10/25G NIC
174
175# PCI Ethernet NICs that use the common MII bus controller code.
176device		miibus		# MII bus support
177device		bge		# Broadcom BCM570xx Gigabit Ethernet
178device		gem		# Sun GEM/Sun ERI/Apple GMAC
179device		dc		# DEC/Intel 21143 and various workalikes
180device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
181device		re		# Realtek 8139C+/8169/8169S/8110S
182device		rl		# Realtek 8129/8139
183
184device		mdio		# MDIO bus
185
186# Nvidia/Mellanox Connect-X 4 and later, Ethernet only
187# mlx5ib requires ibcore infra and is not included by default
188device		mlx5		# Base driver
189device		mlxfw		# Firmware update
190device		mlx5en		# Ethernet driver
191
192# Pseudo devices.
193device		crypto		# core crypto support
194device		ossl		# OpenSSL OpenCrypto module
195device		loop		# Network loopback
196device		ether		# Ethernet support
197device		vlan		# 802.1Q VLAN support
198device		tuntap		# Packet tunnel.
199device		md		# Memory "disks"
200device		ofwd		# Open Firmware disks
201device		gif		# IPv6 and IPv4 tunneling
202device		firmware	# firmware assist module
203device		xz		# lzma decompression
204
205# The `bpf' device enables the Berkeley Packet Filter.
206# Be aware of the administrative consequences of enabling this!
207# Note that 'bpf' is required for DHCP.
208device		bpf		# Berkeley packet filter
209
210# random(4)
211options 	RANDOM_ENABLE_KBD
212options 	RANDOM_ENABLE_MOUSE
213
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
219device		xhci		# XHCI PCI->USB interface
220device		usb		# USB Bus (required)
221device		usbhid		# USB HID Transport
222device		uhid		# "Human Interface Devices"
223device		hkbd		# HID Keyboard
224device		ukbd		# USB Keyboard
225options 	KBD_INSTALL_CDEV # install a CDEV entry in /dev
226device		umass		# Disks/Mass storage - Requires scbus and da0
227device		hms		# HID Mouse
228device		ums		# USB Mouse
229# USB Ethernet
230device		aue		# ADMtek USB Ethernet
231device		axe		# ASIX Electronics USB Ethernet
232device		cdce		# Generic USB over Ethernet
233device		cue		# CATC USB Ethernet
234device		kue		# Kawasaki LSI USB Ethernet
235
236# Wireless NIC cards
237device		wlan		# 802.11 support
238options 	IEEE80211_SUPPORT_MESH	# enable 802.11s draft support
239options 	IEEE80211_DEBUG	# enable debug msgs
240device		wlan_wep	# 802.11 WEP support
241device		wlan_tkip	# 802.11 TKIP support
242device		wlan_ccmp	# 802.11 CCMP support
243device		wlan_gcmp	# 802.11 GCMP support
244device		wlan_amrr	# AMRR transmit rate control algorithm
245device		ath		# Atheros CardBus/PCI NICs
246device		ath_hal		# Atheros CardBus/PCI chip support
247options 	AH_AR5416_INTERRUPT_MITIGATION	# AR5416 interrupt mitigation
248device		ath_rate_sample	# SampleRate tx rate control for ath
249
250# FireWire support
251device		firewire	# FireWire bus code
252device		sbp		# SCSI over FireWire (Requires scbus and da)
253device		fwe		# Ethernet over FireWire (non-standard!)
254
255# Misc
256device		iicbus		# I2C bus code
257device		iic
258device		opalflash	# PowerNV embedded flash memory
259
260# Sound support
261device		sound		# Generic sound driver (required)
262device		snd_hda		# Intel High Definition Audio
263device		snd_uaudio	# USB Audio
264
265# Netmap provides direct access to TX/RX rings on supported NICs
266device		netmap		# netmap(4) support
267
268# evdev interface
269options 	EVDEV_SUPPORT		# evdev support in legacy drivers
270device		evdev			# input event device support
271device		uinput			# install /dev/uinput cdev
272
273# VirtIO support
274device          virtio                  # Generic VirtIO bus (required)
275device          virtio_pci              # VirtIO PCI device
276device          vtnet                   # VirtIO Ethernet device
277device          virtio_blk              # VirtIO Block device
278device          virtio_scsi             # VirtIO SCSI device
279device          virtio_balloon          # VirtIO Memory Balloon device
280
281# HID support
282options 	HID_DEBUG		# enable debug msgs
283device		hid			# Generic HID support
284device		hidbus			# Generic HID Bus
285