xref: /freebsd/sys/powerpc/conf/GENERIC64 (revision b4be4a7890e7f3a94acc08440e28d480434f5bb8)
1#
2# GENERIC64 -- Generic kernel configuration file for FreeBSD/powerpc64
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	powerpc64
24
25makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
26makeoptions	WITH_CTF=1
27
28# Platform support
29options 	POWERMAC		# NewWorld Apple PowerMacs
30options 	PS3			# Sony Playstation 3
31options 	MAMBO			# IBM Mambo Full System Simulator
32options 	QEMU			# QEMU processor emulator
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_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
70options 	COMPAT_FREEBSD32	# Compatible with FreeBSD/powerpc binaries
71options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
72options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
73options 	COMPAT_FREEBSD9		# Compatible with FreeBSD9
74options 	COMPAT_FREEBSD10	# Compatible with FreeBSD10
75options 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
76options 	COMPAT_FREEBSD12	# Compatible with FreeBSD12
77options 	COMPAT_FREEBSD13	# Compatible with FreeBSD13
78options 	COMPAT_FREEBSD14	# Compatible with FreeBSD14
79options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
80options 	KTRACE			# ktrace(1) syscall trace support
81options 	STACK			# stack(9) support
82options 	SYSVSHM			# SYSV-style shared memory
83options 	SYSVMSG			# SYSV-style message queues
84options 	SYSVSEM			# SYSV-style semaphores
85options 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
86options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
87options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
88options 	AUDIT			# Security event auditing
89options 	CAPABILITY_MODE		# Capsicum capability mode
90options 	CAPABILITIES		# Capsicum capabilities
91options 	MAC			# TrustedBSD MAC Framework
92options 	KDTRACE_HOOKS		# Kernel DTrace hooks
93options 	DDB_CTF			# Kernel ELF linker loads CTF data
94options 	INCLUDE_CONFIG_FILE     # Include this file in kernel
95options 	RACCT			# Resource accounting framework
96options 	RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
97options 	RCTL			# Resource limits
98
99# Debugging support.  Always need this:
100options 	KDB			# Enable kernel debugger support.
101options 	KDB_TRACE		# Print a stack trace for a panic.
102# For full debugger support use (turn off in stable branch):
103include "std.debug"
104
105# Compression support
106options 	GZIO			# gzip (dumps)
107options 	ZSTDIO			# zstd (dumps, tarfs, uzip, zfs)
108
109# Kernel dump features.
110options 	EKCD			# Support for encrypted kernel dumps
111options 	DEBUGNET		# debugnet networking
112options 	NETDUMP			# netdump(4) client support
113
114# Make an SMP-capable kernel by default
115options 	SMP			# Symmetric MultiProcessor Kernel
116
117# CPU frequency control
118device		cpufreq
119
120# Standard busses
121device		pci
122options 	PCI_HP			# PCI-Express native HotPlug
123device		agp
124
125options		COMPAT_LINUXKPI
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
141device		isp		# Qlogic family
142device		ispfw		# Firmware module for Qlogic host adapters
143device		mrsas		# LSI/Avago MegaRAID SAS/SATA, 6Gb/s and 12Gb/s
144device		mpt		# LSI-Logic MPT-Fusion
145device		mps		# LSI-Logic MPT-Fusion 2
146device		mpr		# LSI SAS3008 MPT-Fusion SAS-3
147device		sym		# NCR/Symbios/LSI Logic 53C8XX/53C1010/53C1510D
148
149# ATA/SCSI peripherals
150device		scbus		# SCSI bus (required for ATA/SCSI)
151device		ch		# SCSI media changers
152device		da		# Direct Access (disks)
153device		sa		# Sequential Access (tape etc)
154device		cd		# CD
155device		pass		# Passthrough device (direct ATA/SCSI access)
156device		ses		# Enclosure Service (SES and SAF-TE)
157
158# vt is the default console driver, resembling an SCO console
159device		vt		# Core console driver
160device		kbdmux
161
162# Serial (COM) ports
163device		scc
164device		uart
165device		uart_z8530
166
167device		iflib
168
169# Ethernet hardware
170device		em		# Intel PRO/1000 Gigabit Ethernet Family
171device		ix		# Intel PRO/10GbE PCIE PF Ethernet Family
172device		ixl		# Intel 700 Series Physical Function
173device		ixv		# Intel PRO/10GbE PCIE VF Ethernet Family
174device		glc		# Sony Playstation 3 Ethernet
175device		llan		# IBM pSeries Virtual Ethernet
176device		cxgbe		# Chelsio 10/25G NIC
177
178device		mdio		# MDIO bus
179
180# PCI Ethernet NICs that use the common MII bus controller code.
181device		miibus		# MII bus support
182device		bge		# Broadcom BCM570xx Gigabit Ethernet
183device		gem		# Sun GEM/Sun ERI/Apple GMAC
184device		dc		# DEC/Intel 21143 and various workalikes
185device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
186device		re		# Realtek 8139C+/8169/8169S/8110S
187device		rl		# Realtek 8129/8139
188
189# Nvidia/Mellanox Connect-X 4 and later, Ethernet only
190# mlx5ib requires ibcore infra and is not included by default
191device		mlx5		# Base driver
192device		mlxfw		# Firmware update
193device		mlx5en		# Ethernet driver
194
195# Pseudo devices.
196device		crypto		# core crypto support
197device		ossl		# OpenSSL OpenCrypto module
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# random(4)
214options 	RANDOM_ENABLE_KBD
215options 	RANDOM_ENABLE_MOUSE
216
217# USB support
218options 	USB_DEBUG	# enable debug msgs
219device		uhci		# UHCI PCI->USB interface
220device		ohci		# OHCI PCI->USB interface
221device		ehci		# EHCI PCI->USB interface
222device		xhci		# XHCI PCI->USB interface
223device		usb		# USB Bus (required)
224device		usbhid		# USB HID Transport
225device		uhid		# "Human Interface Devices"
226device		hkbd		# HID Keyboard
227device		ukbd		# USB Keyboard
228options 	KBD_INSTALL_CDEV # install a CDEV entry in /dev
229device		umass		# Disks/Mass storage - Requires scbus and da0
230device		hms		# HID Mouse
231device		ums		# USB Mouse
232# USB Ethernet
233device		aue		# ADMtek USB Ethernet
234device		axe		# ASIX Electronics USB Ethernet
235device		cdce		# Generic USB over Ethernet
236device		cue		# CATC USB Ethernet
237device		kue		# Kawasaki LSI USB Ethernet
238
239# Wireless NIC cards
240device		wlan		# 802.11 support
241options 	IEEE80211_SUPPORT_MESH	# enable 802.11s draft support
242options 	IEEE80211_DEBUG	# enable debug msgs
243device		wlan_wep	# 802.11 WEP support
244device		wlan_tkip	# 802.11 TKIP support
245device		wlan_ccmp	# 802.11 CCMP support
246device		wlan_gcmp	# 802.11 GCMP support
247device		wlan_amrr	# AMRR transmit rate control algorithm
248device		ath		# Atheros CardBus/PCI NICs
249device		ath_hal		# Atheros CardBus/PCI chip support
250options 	AH_AR5416_INTERRUPT_MITIGATION	# AR5416 interrupt mitigation
251device		ath_rate_sample	# SampleRate tx rate control for ath
252
253# FireWire support
254device		firewire	# FireWire bus code
255device		sbp		# SCSI over FireWire (Requires scbus and da)
256device		fwe		# Ethernet over FireWire (non-standard!)
257
258# Misc
259device		iicbus		# I2C bus code
260device		iic
261device		kiic		# Keywest I2C
262device		ad7417		# PowerMac7,2 temperature sensor
263device		ds1631		# PowerMac11,2 temperature sensor
264device		ds1775		# PowerMac7,2 temperature sensor
265device		fcu		# Apple Fan Control Unit
266device		max6690		# PowerMac7,2 temperature sensor
267device		powermac_nvram	# Open Firmware configuration NVRAM
268device		smu		# Apple System Management Unit
269device		atibl		# ATI-based backlight driver for PowerBooks/iBooks
270device		nvbl		# nVidia-based backlight driver for PowerBooks/iBooks
271device		opalflash	# PowerNV embedded flash memory
272
273# ADB support
274device		adb
275device		pmu
276
277# Sound support
278device		sound		# Generic sound driver (required)
279device		snd_ai2s	# Apple I2S audio
280device		snd_hda		# Intel High Definition Audio
281device		snd_uaudio	# USB Audio
282
283# Netmap provides direct access to TX/RX rings on supported NICs
284device		netmap		# netmap(4) support
285
286# evdev interface
287options 	EVDEV_SUPPORT		# evdev support in legacy drivers
288device		evdev			# input event device support
289device		uinput			# install /dev/uinput cdev
290
291# VirtIO support
292device          virtio                  # Generic VirtIO bus (required)
293device          virtio_pci              # VirtIO PCI device
294device          vtnet                   # VirtIO Ethernet device
295device          virtio_blk              # VirtIO Block device
296device          virtio_scsi             # VirtIO SCSI device
297device          virtio_balloon          # VirtIO Memory Balloon device
298
299# HID support
300options 	HID_DEBUG		# enable debug msgs
301device		hid			# Generic HID support
302device		hidbus			# Generic HID Bus
303