xref: /freebsd/sys/powerpc/conf/GENERIC (revision ec0ea6efa1ad229d75c394c1a9b9cac33af2b1d3)
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# $FreeBSD$
20
21cpu		AIM
22ident		GENERIC
23
24machine 	powerpc powerpc
25
26makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
27makeoptions	WITH_CTF=1
28
29# Platform support
30options 	POWERMAC		# NewWorld Apple PowerMacs
31options 	PSIM			# GDB PSIM ppc simulator
32options 	MAMBO			# IBM Mambo Full System Simulator
33options 	PSERIES			# PAPR-compliant systems
34
35options		FDT
36options 	SCHED_ULE		# ULE scheduler
37options 	PREEMPTION		# Enable kernel thread preemption
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_FREEBSD4		# Keep this for a while
65options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
66options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
67options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
68options 	COMPAT_FREEBSD9		# Compatible with FreeBSD9
69options 	COMPAT_FREEBSD10	# Compatible with FreeBSD10
70options 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
71options 	COMPAT_FREEBSD12	# Compatible with FreeBSD12
72options 	COMPAT_FREEBSD13	# Compatible with FreeBSD13
73options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
74options 	KTRACE			# ktrace(1) syscall trace support
75options 	STACK			# stack(9) support
76options 	SYSVSHM			# SYSV-style shared memory
77options 	SYSVMSG			# SYSV-style message queues
78options 	SYSVSEM			# SYSV-style semaphores
79options 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
80options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
81options 	AUDIT			# Security event auditing
82options 	CAPABILITY_MODE		# Capsicum capability mode
83options 	CAPABILITIES		# Capsicum capabilities
84options 	MAC			# TrustedBSD MAC Framework
85options 	KDTRACE_HOOKS		# Kernel DTrace hooks
86options 	DDB_CTF			# Kernel ELF linker loads CTF data
87options 	INCLUDE_CONFIG_FILE     # Include this file in kernel
88options 	RACCT			# Resource accounting framework
89options 	RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
90options 	RCTL			# Resource limits
91
92# Debugging support.  Always need this:
93options 	KDB			# Enable kernel debugger support.
94options 	KDB_TRACE		# Print a stack trace for a panic.
95# For full debugger support use (turn off in stable branch):
96options 	DDB			# Support DDB
97#options 	DEADLKRES		# Enable the deadlock resolver
98options 	INVARIANTS		# Enable calls of extra sanity checking
99options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
100options 	WITNESS			# Enable checks to detect deadlocks and cycles
101options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
102options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
103options 	VERBOSE_SYSINIT=0	# Support debug.verbose_sysinit, off by default
104
105# Kernel dump features.
106options 	EKCD			# Support for encrypted kernel dumps
107options 	GZIO			# gzip-compressed kernel and user dumps
108options 	ZSTDIO			# zstd-compressed kernel and user dumps
109options 	DEBUGNET		# debugnet networking
110options 	NETDUMP			# netdump(4) client support
111
112# Make an SMP-capable kernel by default
113options 	SMP			# Symmetric MultiProcessor Kernel
114
115# CPU frequency control
116device		cpufreq
117
118# Standard busses
119device		pci
120options 	PCI_HP			# PCI-Express native HotPlug
121device		agp
122
123# ATA controllers
124device		ahci		# AHCI-compatible SATA controllers
125device		ata		# Legacy ATA/SATA controllers
126device		mvs		# Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
127device		siis		# SiliconImage SiI3124/SiI3132/SiI3531 SATA
128
129# SCSI Controllers
130device		ahc		# AHA2940 and onboard AIC7xxx devices
131options 	AHC_ALLOW_MEMIO	# Attempt to use memory mapped I/O
132device		isp		# Qlogic family
133device		ispfw		# Firmware module for Qlogic host adapters
134device		mpt		# LSI-Logic MPT-Fusion
135device		sym		# NCR/Symbios/LSI Logic 53C8XX/53C1010/53C1510D
136
137# ATA/SCSI peripherals
138device		scbus		# SCSI bus (required for ATA/SCSI)
139device		da		# Direct Access (disks)
140device		sa		# Sequential Access (tape etc)
141device		cd		# CD
142device		pass		# Passthrough device (direct ATA/SCSI access)
143
144# vt is the default console driver, resembling an SCO console
145device		vt		# Generic console driver (pulls in OF FB)
146device		kbdmux
147
148# Serial (COM) ports
149device		scc
150device		uart
151device		uart_z8530
152
153# FireWire support
154device		firewire	# FireWire bus code
155device		sbp		# SCSI over FireWire (Requires scbus and da)
156device		fwe		# Ethernet over FireWire (non-standard!)
157
158# PCI Ethernet NICs that use the common MII bus controller code.
159device		miibus		# MII bus support
160device		bge		# Broadcom BCM570xx Gigabit Ethernet
161device		gem		# Sun GEM/Sun ERI/Apple GMAC
162device		dc		# DEC/Intel 21143 and various workalikes
163device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
164
165# Pseudo devices.
166device		crypto		# core crypto support
167device		loop		# Network loopback
168device		ether		# Ethernet support
169device		vlan		# 802.1Q VLAN support
170device		tuntap		# Packet tunnel.
171device		md		# Memory "disks"
172device		ofwd		# Open Firmware disks
173device		gif		# IPv6 and IPv4 tunneling
174device		firmware	# firmware assist module
175
176# The `bpf' device enables the Berkeley Packet Filter.
177# Be aware of the administrative consequences of enabling this!
178# Note that 'bpf' is required for DHCP.
179device		bpf		# Berkeley packet filter
180
181# USB support
182options 	USB_DEBUG	# enable debug msgs
183device		uhci		# UHCI PCI->USB interface
184device		ohci		# OHCI PCI->USB interface
185device		ehci		# EHCI PCI->USB interface
186device		usb		# USB Bus (required)
187device		uhid		# "Human Interface Devices"
188device		ukbd		# Keyboard
189options 	KBD_INSTALL_CDEV # install a CDEV entry in /dev
190device		ulpt		# Printer
191device		umass		# Disks/Mass storage - Requires scbus and da0
192device		ums		# Mouse
193device		atp		# Apple USB touchpad
194device		urio		# Diamond Rio 500 MP3 player
195# USB Ethernet
196device		aue		# ADMtek USB Ethernet
197device		axe		# ASIX Electronics USB Ethernet
198device		cdce		# Generic USB over Ethernet
199device		cue		# CATC USB Ethernet
200device		kue		# Kawasaki LSI USB Ethernet
201
202# Wireless NIC cards
203options 	IEEE80211_SUPPORT_MESH
204
205# Misc
206device		iicbus		# I2C bus code
207device		kiic		# Keywest I2C
208device		ad7417		# PowerMac7,2 temperature sensor
209device		adt746x		# PowerBook5,8 temperature sensor
210device		ds1631		# PowerMac11,2 temperature sensor
211device		ds1775		# PowerMac7,2 temperature sensor
212device		fcu		# Apple Fan Control Unit
213device		max6690		# PowerMac7,2 temperature sensor
214device		powermac_nvram	# Open Firmware configuration NVRAM
215device		smu		# Apple System Management Unit
216device		adm1030		# Apple G4 MDD fan controller
217device		atibl		# ATI-based backlight driver for PowerBooks/iBooks
218device		nvbl		# nVidia-based backlight driver for PowerBooks/iBooks
219device		pswitch		# Macio programmer's switch
220
221# ADB support
222device		adb
223device		cuda
224device		pmu
225
226# Sound support
227device		sound		# Generic sound driver (required)
228device		snd_ai2s	# Apple I2S audio
229device		snd_davbus	# Apple DAVBUS audio
230device		snd_uaudio	# USB Audio
231
232# evdev interface
233options 	EVDEV_SUPPORT		# evdev support in legacy drivers
234device		evdev			# input event device support
235device		uinput			# install /dev/uinput cdev
236
237# VirtIO support
238device		virtio			# Generic VirtIO bus (required)
239device		virtio_pci		# VirtIO PCI device
240device		vtnet			# VirtIO Ethernet device
241device		virtio_blk		# VirtIO Block device
242device		virtio_scsi		# VirtIO SCSI device
243device		virtio_balloon		# VirtIO Memory Balloon device
244
245# HID support
246options 	HID_DEBUG		# enable debug msgs
247device		hid			# Generic HID support
248