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