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