xref: /freebsd/sys/powerpc/conf/GENERIC64 (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
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 	ROUTE_MPATH		# Multipath routing support
45options 	TCP_OFFLOAD		# TCP offload
46options 	TCP_BLACKBOX		# Enhanced TCP event logging
47options 	TCP_HHOOK		# hhook(9) framework for TCP
48options 	TCP_RFC7413		# TCP Fast Open
49options 	SCTP_SUPPORT		# Allow kldload of SCTP
50options		KERN_TLS		# TLS transmit & receive offload
51options 	FFS			# Berkeley Fast Filesystem
52options 	SOFTUPDATES		# Enable FFS soft updates support
53options 	UFS_ACL			# Support for access control lists
54options 	UFS_DIRHASH		# Improve performance on big directories
55options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
56options 	QUOTA			# Enable disk quotas for UFS
57options 	MD_ROOT			# MD is a potential root device
58options 	MD_ROOT_MEM		# Enable use of initrd as MD root
59options 	NFSCL			# Network Filesystem Client
60options 	NFSD			# Network Filesystem Server
61options 	NFSLOCKD		# Network Lock Manager
62options 	NFS_ROOT		# NFS usable as root device
63options 	MSDOSFS			# MSDOS Filesystem
64options 	CD9660			# ISO 9660 Filesystem
65options 	PROCFS			# Process filesystem (requires PSEUDOFS)
66options 	PSEUDOFS		# Pseudo-filesystem framework
67options 	TMPFS			# Efficient memory filesystem
68options 	GEOM_PART_APM		# Apple Partition Maps.
69options 	GEOM_PART_GPT		# GUID Partition Tables.
70options 	GEOM_LABEL		# Provides labelization
71options 	COMPAT_FREEBSD32	# Compatible with FreeBSD/powerpc binaries
72options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
73options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
74options 	COMPAT_FREEBSD9		# Compatible with FreeBSD9
75options 	COMPAT_FREEBSD10	# Compatible with FreeBSD10
76options 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
77options 	COMPAT_FREEBSD12	# Compatible with FreeBSD12
78options 	COMPAT_FREEBSD13	# Compatible with FreeBSD13
79options 	COMPAT_FREEBSD14	# Compatible with FreeBSD14
80options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
81options 	KTRACE			# ktrace(1) syscall trace support
82options 	STACK			# stack(9) support
83options 	SYSVSHM			# SYSV-style shared memory
84options 	SYSVMSG			# SYSV-style message queues
85options 	SYSVSEM			# SYSV-style semaphores
86options 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
87options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
88options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
89options 	AUDIT			# Security event auditing
90options 	CAPABILITY_MODE		# Capsicum capability mode
91options 	CAPABILITIES		# Capsicum capabilities
92options 	MAC			# TrustedBSD MAC Framework
93options 	KDTRACE_HOOKS		# Kernel DTrace hooks
94options 	DDB_CTF			# Kernel ELF linker loads CTF data
95options 	INCLUDE_CONFIG_FILE     # Include this file in kernel
96options 	RACCT			# Resource accounting framework
97options 	RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
98options 	RCTL			# Resource limits
99
100# Debugging support.  Always need this:
101options 	KDB			# Enable kernel debugger support.
102options 	KDB_TRACE		# Print a stack trace for a panic.
103# For full debugger support use (turn off in stable branch):
104include "std.debug"
105
106# Kernel dump features.
107options 	EKCD			# Support for encrypted kernel dumps
108options 	GZIO			# gzip-compressed kernel and user dumps
109options 	ZSTDIO			# zstd-compressed kernel and user dumps
110options 	DEBUGNET		# debugnet networking
111options 	NETDUMP			# netdump(4) client support
112
113# Make an SMP-capable kernel by default
114options 	SMP			# Symmetric MultiProcessor Kernel
115
116# CPU frequency control
117device		cpufreq
118
119# Standard busses
120device		pci
121options 	PCI_HP			# PCI-Express native HotPlug
122device		agp
123
124options		COMPAT_LINUXKPI
125
126# ATA controllers
127device		ahci		# AHCI-compatible SATA controllers
128device		ata		# Legacy ATA/SATA controllers
129device		mvs		# Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
130device		siis		# SiliconImage SiI3124/SiI3132/SiI3531 SATA
131
132# NVM Express (NVMe) support
133device		nvme		# base NVMe driver
134options 	NVME_USE_NVD=0	# prefer the cam(4) based nda(4) driver
135device		nvd		# expose NVMe namespaces as disks, depends on nvme
136
137# SCSI Controllers
138device		aacraid		# Adaptec by PMC RAID
139device		ahc		# AHA2940 and onboard AIC7xxx devices
140device		isp		# Qlogic family
141device		ispfw		# Firmware module for Qlogic host adapters
142device		mrsas		# LSI/Avago MegaRAID SAS/SATA, 6Gb/s and 12Gb/s
143device		mpt		# LSI-Logic MPT-Fusion
144device		mps		# LSI-Logic MPT-Fusion 2
145device		mpr		# LSI SAS3008 MPT-Fusion SAS-3
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# 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# USB support
211options 	USB_DEBUG	# enable debug msgs
212device		uhci		# UHCI PCI->USB interface
213device		ohci		# OHCI PCI->USB interface
214device		ehci		# EHCI PCI->USB interface
215device		xhci		# XHCI PCI->USB interface
216device		usb		# USB Bus (required)
217device		usbhid		# USB HID Transport
218device		uhid		# "Human Interface Devices"
219device		hkbd		# HID Keyboard
220device		ukbd		# USB Keyboard
221options 	KBD_INSTALL_CDEV # install a CDEV entry in /dev
222device		umass		# Disks/Mass storage - Requires scbus and da0
223device		hms		# HID Mouse
224device		ums		# USB 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
243device		ath_rate_sample	# SampleRate tx rate control for ath
244
245# FireWire support
246device		firewire	# FireWire bus code
247device		sbp		# SCSI over FireWire (Requires scbus and da)
248device		fwe		# Ethernet over FireWire (non-standard!)
249
250# Misc
251device		iicbus		# I2C bus code
252device		iic
253device		kiic		# Keywest I2C
254device		ad7417		# PowerMac7,2 temperature sensor
255device		ds1631		# PowerMac11,2 temperature sensor
256device		ds1775		# PowerMac7,2 temperature sensor
257device		fcu		# Apple Fan Control Unit
258device		max6690		# PowerMac7,2 temperature sensor
259device		powermac_nvram	# Open Firmware configuration NVRAM
260device		smu		# Apple System Management Unit
261device		atibl		# ATI-based backlight driver for PowerBooks/iBooks
262device		nvbl		# nVidia-based backlight driver for PowerBooks/iBooks
263device		opalflash	# PowerNV embedded flash memory
264
265# ADB support
266device		adb
267device		pmu
268
269# Sound support
270device		sound		# Generic sound driver (required)
271device		snd_ai2s	# Apple I2S audio
272device		snd_hda		# Intel High Definition Audio
273device		snd_uaudio	# USB Audio
274
275# Netmap provides direct access to TX/RX rings on supported NICs
276device		netmap		# netmap(4) support
277
278# evdev interface
279options 	EVDEV_SUPPORT		# evdev support in legacy drivers
280device		evdev			# input event device support
281device		uinput			# install /dev/uinput cdev
282
283# VirtIO support
284device          virtio                  # Generic VirtIO bus (required)
285device          virtio_pci              # VirtIO PCI device
286device          vtnet                   # VirtIO Ethernet device
287device          virtio_blk              # VirtIO Block device
288device          virtio_scsi             # VirtIO SCSI device
289device          virtio_balloon          # VirtIO Memory Balloon device
290
291# HID support
292options 	HID_DEBUG		# enable debug msgs
293device		hid			# Generic HID support
294device		hidbus			# Generic HID Bus
295