xref: /freebsd/sys/powerpc/conf/GENERIC (revision f38cbefef8090f3363e5685c5a3b30ffbf1d3ad0)
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
20cpu		AIM
21ident		GENERIC
22
23machine 	powerpc powerpc
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 	PSIM			# GDB PSIM ppc simulator
31options 	MAMBO			# IBM Mambo Full System Simulator
32options 	PSERIES			# PAPR-compliant systems
33
34options 	FDT
35options 	SCHED_ULE		# ULE scheduler
36options 	PREEMPTION		# Enable kernel thread preemption
37options 	EXTERR_STRINGS		# Retain exterror(9) strings in the kernel
38options 	VIMAGE			# Subsystem virtualization, e.g. VNET
39options 	INET			# InterNETworking
40options 	INET6			# IPv6 communications protocols
41options 	IPSEC_SUPPORT		# Allow kldload of ipsec and tcpmd5
42options 	TCP_HHOOK		# hhook(9) framework for TCP
43options 	TCP_RFC7413		# TCP Fast Open
44options 	SCTP_SUPPORT		# Allow kldload of SCTP
45options 	FFS			# Berkeley Fast Filesystem
46options 	SOFTUPDATES		# Enable FFS soft updates support
47options 	UFS_ACL			# Support for access control lists
48options 	UFS_DIRHASH		# Improve performance on big directories
49options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
50options 	QUOTA			# Enable disk quotas for UFS
51options 	MD_ROOT			# MD is a potential root device
52options 	NFSCL			# Network Filesystem Client
53options 	NFSD			# Network Filesystem Server
54options 	NFSLOCKD		# Network Lock Manager
55options 	NFS_ROOT		# NFS usable as root device
56options 	MSDOSFS			# MSDOS Filesystem
57options 	CD9660			# ISO 9660 Filesystem
58options 	PROCFS			# Process filesystem (requires PSEUDOFS)
59options 	PSEUDOFS		# Pseudo-filesystem framework
60options 	TMPFS			# Efficient memory filesystem
61options 	GEOM_PART_APM		# Apple Partition Maps.
62options 	GEOM_PART_GPT		# GUID Partition Tables.
63options 	GEOM_LABEL		# Provides labelization
64options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
65options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
66options 	COMPAT_FREEBSD9		# Compatible with FreeBSD9
67options 	COMPAT_FREEBSD10	# Compatible with FreeBSD10
68options 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
69options 	COMPAT_FREEBSD12	# Compatible with FreeBSD12
70options 	COMPAT_FREEBSD13	# Compatible with FreeBSD13
71options 	COMPAT_FREEBSD14	# Compatible with FreeBSD14
72options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
73options 	KTRACE			# ktrace(1) syscall trace support
74options 	STACK			# stack(9) support
75options 	SYSVSHM			# SYSV-style shared memory
76options 	SYSVMSG			# SYSV-style message queues
77options 	SYSVSEM			# SYSV-style semaphores
78options 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
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):
95include "std.debug"
96
97# Compression support
98options 	GZIO			# gzip (dumps)
99options 	ZSTDIO			# zstd (dumps, tarfs, uzip, zfs)
100
101# Kernel dump features.
102options 	EKCD			# Support for encrypted kernel dumps
103options 	DEBUGNET		# debugnet networking
104options 	NETDUMP			# netdump(4) client support
105
106# Make an SMP-capable kernel by default
107options 	SMP			# Symmetric MultiProcessor Kernel
108
109# CPU frequency control
110device		cpufreq
111
112# Standard busses
113device		pci
114options 	PCI_HP			# PCI-Express native HotPlug
115device		agp
116
117# ATA controllers
118device		ahci		# AHCI-compatible SATA controllers
119device		ata		# Legacy ATA/SATA controllers
120device		mvs		# Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
121device		siis		# SiliconImage SiI3124/SiI3132/SiI3531 SATA
122
123# SCSI Controllers
124device		ahc		# AHA2940 and onboard AIC7xxx devices
125device		isp		# Qlogic family
126device		ispfw		# Firmware module for Qlogic host adapters
127device		mpt		# LSI-Logic MPT-Fusion
128device		sym		# NCR/Symbios/LSI Logic 53C8XX/53C1010/53C1510D
129
130# ATA/SCSI peripherals
131device		scbus		# SCSI bus (required for ATA/SCSI)
132device		da		# Direct Access (disks)
133device		sa		# Sequential Access (tape etc)
134device		cd		# CD
135device		pass		# Passthrough device (direct ATA/SCSI access)
136
137# vt is the default console driver, resembling an SCO console
138device		vt		# Generic console driver (pulls in OF FB)
139device		kbdmux
140
141# Serial (COM) ports
142device		scc
143device		uart
144device		uart_z8530
145
146# FireWire support
147device		firewire	# FireWire bus code
148device		sbp		# SCSI over FireWire (Requires scbus and da)
149device		fwe		# Ethernet over FireWire (non-standard!)
150
151# PCI Ethernet NICs that use the common MII bus controller code.
152device		miibus		# MII bus support
153device		bge		# Broadcom BCM570xx Gigabit Ethernet
154device		gem		# Sun GEM/Sun ERI/Apple GMAC
155device		dc		# DEC/Intel 21143 and various workalikes
156device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
157
158# Pseudo devices.
159device		crypto		# core crypto support
160device		loop		# Network loopback
161device		ether		# Ethernet support
162device		vlan		# 802.1Q VLAN support
163device		tuntap		# Packet tunnel.
164device		md		# Memory "disks"
165device		ofwd		# Open Firmware disks
166device		gif		# IPv6 and IPv4 tunneling
167device		firmware	# firmware assist module
168
169# The `bpf' device enables the Berkeley Packet Filter.
170# Be aware of the administrative consequences of enabling this!
171# Note that 'bpf' is required for DHCP.
172device		bpf		# Berkeley packet filter
173
174# USB support
175options 	USB_DEBUG	# enable debug msgs
176device		uhci		# UHCI PCI->USB interface
177device		ohci		# OHCI PCI->USB interface
178device		ehci		# EHCI PCI->USB interface
179device		usb		# USB Bus (required)
180device		usbhid		# USB HID Transport
181device		uhid		# "Human Interface Devices"
182device		hkbd		# HID Keyboard
183device		ukbd		# USB Keyboard
184options 	KBD_INSTALL_CDEV # install a CDEV entry in /dev
185device		ulpt		# Printer
186device		umass		# Disks/Mass storage - Requires scbus and da0
187device		hms		# HID Mouse
188device		ums		# USB Mouse
189device		atp		# Apple USB touchpad
190device		urio		# Diamond Rio 500 MP3 player
191# USB Ethernet
192device		aue		# ADMtek USB Ethernet
193device		axe		# ASIX Electronics USB Ethernet
194device		cdce		# Generic USB over Ethernet
195device		cue		# CATC USB Ethernet
196device		kue		# Kawasaki LSI USB Ethernet
197
198# Wireless NIC cards
199options 	IEEE80211_SUPPORT_MESH
200
201# Misc
202device		iicbus		# I2C bus code
203device		kiic		# Keywest I2C
204device		ad7417		# PowerMac7,2 temperature sensor
205device		adt746x		# PowerBook5,8 temperature sensor
206device		ds1631		# PowerMac11,2 temperature sensor
207device		ds1775		# PowerMac7,2 temperature sensor
208device		fcu		# Apple Fan Control Unit
209device		max6690		# PowerMac7,2 temperature sensor
210device		powermac_nvram	# Open Firmware configuration NVRAM
211device		smu		# Apple System Management Unit
212device		adm1030		# Apple G4 MDD fan controller
213device		atibl		# ATI-based backlight driver for PowerBooks/iBooks
214device		nvbl		# nVidia-based backlight driver for PowerBooks/iBooks
215device		pswitch		# Macio programmer's switch
216
217# ADB support
218device		adb
219device		cuda
220device		pmu
221
222# Sound support
223device		sound		# Generic sound driver (required)
224device		snd_ai2s	# Apple I2S audio
225device		snd_davbus	# Apple DAVBUS audio
226device		snd_uaudio	# USB Audio
227
228# evdev interface
229options 	EVDEV_SUPPORT		# evdev support in legacy drivers
230device		evdev			# input event device support
231device		uinput			# install /dev/uinput cdev
232
233# VirtIO support
234device		virtio			# Generic VirtIO bus (required)
235device		virtio_pci		# VirtIO PCI device
236device		vtnet			# VirtIO Ethernet device
237device		virtio_blk		# VirtIO Block device
238device		virtio_scsi		# VirtIO SCSI device
239device		virtio_balloon		# VirtIO Memory Balloon device
240
241# HID support
242options 	HID_DEBUG		# enable debug msgs
243device		hid			# Generic HID support
244device		hidbus			# Generic HID Bus
245