xref: /freebsd/sys/powerpc/conf/GENERIC (revision e64080e79c53f2952c5a77c6402cd2473cd45d8c)
1c585bae1SBenno Rice#
2c585bae1SBenno Rice# GENERIC -- Generic kernel configuration file for FreeBSD/powerpc
3c585bae1SBenno Rice#
4c585bae1SBenno Rice# For more information on this file, please read the handbook section on
5c585bae1SBenno Rice# Kernel Configuration Files:
6c585bae1SBenno Rice#
7a2aef24aSEitan Adler#    https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8c585bae1SBenno Rice#
9c585bae1SBenno Rice# The handbook is also available locally in /usr/share/doc/handbook
10c585bae1SBenno Rice# if you've installed the doc distribution, otherwise always see the
11a2aef24aSEitan Adler# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
12c585bae1SBenno Rice# latest information.
13c585bae1SBenno Rice#
14c585bae1SBenno Rice# An exhaustive list of options and more detailed explanations of the
15dde04295SJohn Baldwin# device lines is also present in the ../../conf/NOTES and NOTES files.
16dde04295SJohn Baldwin# If you are in doubt as to the purpose or necessity of a line, check first
17dde04295SJohn Baldwin# in NOTES.
18c585bae1SBenno Rice#
19c585bae1SBenno Rice# $FreeBSD$
20c585bae1SBenno Rice
215d8dd7e6SMarcel Moolenaarcpu		AIM
22c585bae1SBenno Riceident		GENERIC
23c585bae1SBenno Rice
24c3e289e1SNathan Whitehornmachine 	powerpc powerpc
25c3e289e1SNathan Whitehorn
26a5bd7d29SPeter Grehanmakeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
271939b590SJustin Hibbitsmakeoptions	WITH_CTF=1
28c585bae1SBenno Rice
2926eed6e9SPeter Grehan# Platform support
3026eed6e9SPeter Grehanoptions 	POWERMAC		#NewWorld Apple PowerMacs
3126eed6e9SPeter Grehanoptions 	PSIM			#GDB PSIM ppc simulator
322c16c8d7SNathan Whitehornoptions 	MAMBO			#IBM Mambo Full System Simulator
337a8d25c0SNathan Whitehornoptions 	PSERIES			#PAPR-compliant systems
3459307865SMark Peek
356c8df582SJustin Hibbitsoptions		FDT
36cbdd62adSPeter Grehanoptions 	SCHED_ULE		#ULE scheduler
37297becf9SNathan Whitehornoptions 	PREEMPTION		#Enable kernel thread preemption
388e94025bSBjoern A. Zeeboptions 	VIMAGE			# Subsystem virtualization, e.g. VNET
3926eed6e9SPeter Grehanoptions 	INET			#InterNETworking
4026eed6e9SPeter Grehanoptions 	INET6			#IPv6 communications protocols
413b65550eSJosh Paetzeloptions 	IPSEC_SUPPORT		# Allow kldload of ipsec and tcpmd5
42bd79708dSJonathan T. Looneyoptions 	TCP_HHOOK		# hhook(9) framework for TCP
4320a2f77eSMichael Tuexenoptions 	TCP_RFC7413		# TCP Fast Open
44*e64080e7SMark Johnstonoptions 	SCTP_SUPPORT		# Allow kldload of SCTP
4526eed6e9SPeter Grehanoptions 	FFS			#Berkeley Fast Filesystem
4626eed6e9SPeter Grehanoptions 	SOFTUPDATES		#Enable FFS soft updates support
47c7063e59SRobert Watsonoptions 	UFS_ACL			#Support for access control lists
4826eed6e9SPeter Grehanoptions 	UFS_DIRHASH		#Improve performance on big directories
49fef2a259SPawel Jakub Dawidekoptions 	UFS_GJOURNAL		#Enable gjournal-based UFS journaling
500dcbedfaSKonstantin Belousovoptions 	QUOTA			#Enable disk quotas for UFS
5126eed6e9SPeter Grehanoptions 	MD_ROOT			#MD is a potential root device
523e32dff5SJohn Baldwinoptions 	NFSCL			#Network Filesystem Client
533e32dff5SJohn Baldwinoptions 	NFSD			#Network Filesystem Server
54fa9d9930SDoug Rabsonoptions 	NFSLOCKD		#Network Lock Manager
55a5bd7d29SPeter Grehanoptions 	NFS_ROOT		#NFS usable as root device
56c2399f7aSPeter Grehanoptions 	MSDOSFS			#MSDOS Filesystem
5726eed6e9SPeter Grehanoptions 	CD9660			#ISO 9660 Filesystem
5826eed6e9SPeter Grehanoptions 	PROCFS			#Process filesystem (requires PSEUDOFS)
5926eed6e9SPeter Grehanoptions 	PSEUDOFS		#Pseudo-filesystem framework
60f25e72cbSMarcel Moolenaaroptions 	GEOM_PART_APM		#Apple Partition Maps.
611d3aed33SMarcel Moolenaaroptions 	GEOM_PART_GPT		#GUID Partition Tables.
62983f9709SBrooks Davisoptions 	GEOM_LABEL		#Provides labelization
63a5bd7d29SPeter Grehanoptions 	COMPAT_FREEBSD4		#Keep this for a while
646c9fdda7SRuslan Ermilovoptions 	COMPAT_FREEBSD5		#Compatible with FreeBSD5
656c9fdda7SRuslan Ermilovoptions 	COMPAT_FREEBSD6		#Compatible with FreeBSD6
665965c4b7SJohn Baldwinoptions 	COMPAT_FREEBSD7		#Compatible with FreeBSD7
677d313e7bSJohn Baldwinoptions 	COMPAT_FREEBSD9		# Compatible with FreeBSD9
687d313e7bSJohn Baldwinoptions 	COMPAT_FREEBSD10	# Compatible with FreeBSD10
697f68a896SMark Johnstonoptions 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
70d6745408SConrad Meyeroptions 	COMPAT_FREEBSD12	# Compatible with FreeBSD12
7132672ba8SAndre Oppermannoptions 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
7226eed6e9SPeter Grehanoptions 	KTRACE			#ktrace(1) syscall trace support
733c90d1eaSRobert Watsonoptions 	STACK			#stack(9) support
7426eed6e9SPeter Grehanoptions 	SYSVSHM			#SYSV-style shared memory
7526eed6e9SPeter Grehanoptions 	SYSVMSG			#SYSV-style message queues
7626eed6e9SPeter Grehanoptions 	SYSVSEM			#SYSV-style semaphores
77400a0a23SSuleiman Souhlaloptions 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
78dbd47f15SXin LIoptions 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
7968d4cc61SRobert Watsonoptions 	AUDIT			# Security event auditing
80009d2032SRobert Watsonoptions 	CAPABILITY_MODE		# Capsicum capability mode
81009d2032SRobert Watsonoptions 	CAPABILITIES		# Capsicum capabilities
82bd875f5fSRobert Watsonoptions 	MAC			# TrustedBSD MAC Framework
831939b590SJustin Hibbitsoptions 	KDTRACE_HOOKS		# Kernel DTrace hooks
841939b590SJustin Hibbitsoptions 	DDB_CTF			# Kernel ELF linker loads CTF data
8587948dfdSWarner Loshoptions 	INCLUDE_CONFIG_FILE     # Include this file in kernel
86ba8f0eb8SEdward Tomasz Napieralaoptions 	RACCT			# Resource accounting framework
87ba8f0eb8SEdward Tomasz Napieralaoptions 	RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
88ba8f0eb8SEdward Tomasz Napieralaoptions 	RCTL			# Resource limits
89c5f0b00cSBenno Rice
906168545aSKen Smith# Debugging support.  Always need this:
916168545aSKen Smithoptions 	KDB			# Enable kernel debugger support.
92818d282eSAndriy Gaponoptions 	KDB_TRACE		# Print a stack trace for a panic.
939ba0691bSAndriy Gapon# For full debugger support use (turn off in stable branch):
9424c1c571SPeter Grehanoptions 	DDB			#Support DDB
9588cbfa85SAttilio Rao#options 	DEADLKRES		#Enable the deadlock resolver
9626eed6e9SPeter Grehanoptions 	INVARIANTS		#Enable calls of extra sanity checking
9726eed6e9SPeter Grehanoptions 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
9826eed6e9SPeter Grehanoptions 	WITNESS			#Enable checks to detect deadlocks and cycles
99a2d791e2SMarcel Moolenaaroptions 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
100d7854da1SMatthew D Flemingoptions 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
101be352d20SKyle Evansoptions 	VERBOSE_SYSINIT=0	# Support debug.verbose_sysinit, off by default
10226eed6e9SPeter Grehan
103892bdcccSMark Johnston# Kernel dump features.
104892bdcccSMark Johnstonoptions 	EKCD			# Support for encrypted kernel dumps
105892bdcccSMark Johnstonoptions 	GZIO			# gzip-compressed kernel and user dumps
106892bdcccSMark Johnstonoptions 	ZSTDIO			# zstd-compressed kernel and user dumps
1077790c8c1SConrad Meyeroptions 	DEBUGNET		# debugnet networking
108892bdcccSMark Johnstonoptions 	NETDUMP			# netdump(4) client support
109892bdcccSMark Johnston
1108f8a2520SJoel Dahl# Make an SMP-capable kernel by default
1116533dd88SNathan Whitehornoptions 	SMP			# Symmetric MultiProcessor Kernel
11226eed6e9SPeter Grehan
1139eb9db93SNathan Whitehorn# CPU frequency control
1149eb9db93SNathan Whitehorndevice		cpufreq
1159eb9db93SNathan Whitehorn
11626eed6e9SPeter Grehan# Standard busses
117b618108fSPeter Wemmdevice		pci
11882cb5c3bSJohn Baldwinoptions 	PCI_HP			# PCI-Express native HotPlug
11950fd2a5bSNathan Whitehorndevice		agp
12026eed6e9SPeter Grehan
12197b53e36SAlexander Motin# ATA controllers
12297b53e36SAlexander Motindevice		ahci		# AHCI-compatible SATA controllers
12397b53e36SAlexander Motindevice		ata		# Legacy ATA/SATA controllers
12497b53e36SAlexander Motindevice		mvs		# Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
12597b53e36SAlexander Motindevice		siis		# SiliconImage SiI3124/SiI3132/SiI3531 SATA
12626eed6e9SPeter Grehan
1273d59b758SNathan Whitehorn# SCSI Controllers
1283d59b758SNathan Whitehorndevice		ahc		# AHA2940 and onboard AIC7xxx devices
1293d59b758SNathan Whitehornoptions 	AHC_ALLOW_MEMIO	# Attempt to use memory mapped I/O
1303d59b758SNathan Whitehorndevice		isp		# Qlogic family
1313d59b758SNathan Whitehorndevice		ispfw		# Firmware module for Qlogic host adapters
1323d59b758SNathan Whitehorndevice		mpt		# LSI-Logic MPT-Fusion
1333d59b758SNathan Whitehorndevice		sym		# NCR/Symbios/LSI Logic 53C8XX/53C1010/53C1510D
1343d59b758SNathan Whitehorn
13597b53e36SAlexander Motin# ATA/SCSI peripherals
13697b53e36SAlexander Motindevice		scbus		# SCSI bus (required for ATA/SCSI)
137f73a5a7fSHidetoshi Shimokawadevice		da		# Direct Access (disks)
138f73a5a7fSHidetoshi Shimokawadevice		sa		# Sequential Access (tape etc)
139f73a5a7fSHidetoshi Shimokawadevice		cd		# CD
14097b53e36SAlexander Motindevice		pass		# Passthrough device (direct ATA/SCSI access)
141f73a5a7fSHidetoshi Shimokawa
142010afa35SNathan Whitehorn# vt is the default console driver, resembling an SCO console
143010afa35SNathan Whitehorndevice		vt		# Generic console driver (pulls in OF FB)
144068bb61cSMarcel Moolenaardevice		kbdmux
145e878e008SPeter Grehan
14626eed6e9SPeter Grehan# Serial (COM) ports
1477d2c35edSMarcel Moolenaardevice		scc
1487d2c35edSMarcel Moolenaardevice		uart
149f25e72cbSMarcel Moolenaardevice		uart_z8530
15026eed6e9SPeter Grehan
1518279efe5SNathan Whitehorn# FireWire support
1528279efe5SNathan Whitehorndevice		firewire	# FireWire bus code
1538279efe5SNathan Whitehorndevice		sbp		# SCSI over FireWire (Requires scbus and da)
1548279efe5SNathan Whitehorndevice		fwe		# Ethernet over FireWire (non-standard!)
1558279efe5SNathan Whitehorn
15626eed6e9SPeter Grehan# PCI Ethernet NICs that use the common MII bus controller code.
15726eed6e9SPeter Grehandevice		miibus		# MII bus support
158d71cc3c8SMarcel Moolenaardevice		bge		# Broadcom BCM570xx Gigabit Ethernet
159be0e6bfcSBenno Ricedevice		gem		# Sun GEM/Sun ERI/Apple GMAC
16024c1c571SPeter Grehandevice		dc		# DEC/Intel 21143 and various workalikes
16124c1c571SPeter Grehandevice		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
16226eed6e9SPeter Grehan
163aa355a26SMaxim Konovalov# Pseudo devices.
1648cd385fdSJohn Baldwindevice		crypto		# core crypto support
16526eed6e9SPeter Grehandevice		loop		# Network loopback
16626eed6e9SPeter Grehandevice		ether		# Ethernet support
1679efde583SBrooks Davisdevice		vlan		# 802.1Q VLAN support
168251a32b5SKyle Evansdevice		tuntap		# Packet tunnel.
16926eed6e9SPeter Grehandevice		md		# Memory "disks"
17026eed6e9SPeter Grehandevice		ofwd		# Open Firmware disks
17126eed6e9SPeter Grehandevice		gif		# IPv6 and IPv4 tunneling
1723d59b758SNathan Whitehorndevice		firmware	# firmware assist module
17326eed6e9SPeter Grehan
17426eed6e9SPeter Grehan# The `bpf' device enables the Berkeley Packet Filter.
17526eed6e9SPeter Grehan# Be aware of the administrative consequences of enabling this!
176991f5121SMurray Stokely# Note that 'bpf' is required for DHCP.
17726eed6e9SPeter Grehandevice		bpf		#Berkeley packet filter
17826eed6e9SPeter Grehan
179c89d41e5SAndrew Thompson# USB support
180b850ecc1SAndrew Thompsonoptions 	USB_DEBUG	# enable debug msgs
181c89d41e5SAndrew Thompsondevice		uhci		# UHCI PCI->USB interface
182c89d41e5SAndrew Thompsondevice		ohci		# OHCI PCI->USB interface
183c89d41e5SAndrew Thompsondevice		ehci		# EHCI PCI->USB interface
184c89d41e5SAndrew Thompsondevice		usb		# USB Bus (required)
185c89d41e5SAndrew Thompsondevice		uhid		# "Human Interface Devices"
186c89d41e5SAndrew Thompsondevice		ukbd		# Keyboard
187c89d41e5SAndrew Thompsonoptions 	KBD_INSTALL_CDEV # install a CDEV entry in /dev
188c89d41e5SAndrew Thompsondevice		ulpt		# Printer
189c89d41e5SAndrew Thompsondevice		umass		# Disks/Mass storage - Requires scbus and da0
190c89d41e5SAndrew Thompsondevice		ums		# Mouse
1912c494821SNathan Whitehorndevice		atp		# Apple USB touchpad
192c89d41e5SAndrew Thompsondevice		urio		# Diamond Rio 500 MP3 player
19326eed6e9SPeter Grehan# USB Ethernet
194c89d41e5SAndrew Thompsondevice		aue		# ADMtek USB Ethernet
195c89d41e5SAndrew Thompsondevice		axe		# ASIX Electronics USB Ethernet
196c89d41e5SAndrew Thompsondevice		cdce		# Generic USB over Ethernet
197c89d41e5SAndrew Thompsondevice		cue		# CATC USB Ethernet
198c89d41e5SAndrew Thompsondevice		kue		# Kawasaki LSI USB Ethernet
19926eed6e9SPeter Grehan
2008cb8d9fbSAdrian Chadd# Wireless NIC cards
2018cb8d9fbSAdrian Chaddoptions 	IEEE80211_SUPPORT_MESH
2028cb8d9fbSAdrian Chadd
203e5d34218SMaxim Sobolev# Misc
204698ef695SNathan Whitehorndevice		iicbus		# I2C bus code
205698ef695SNathan Whitehorndevice		kiic		# Keywest I2C
206d188174aSAndreas Toblerdevice		ad7417		# PowerMac7,2 temperature sensor
207c017acc7SJustin Hibbitsdevice		adt746x		# PowerBook5,8 temperature sensor
208d2d30ba3SAndreas Toblerdevice		ds1631		# PowerMac11,2 temperature sensor
209da89fa28SAndreas Toblerdevice		ds1775		# PowerMac7,2 temperature sensor
210da89fa28SAndreas Toblerdevice		fcu		# Apple Fan Control Unit
211da89fa28SAndreas Toblerdevice		max6690		# PowerMac7,2 temperature sensor
212e5d34218SMaxim Sobolevdevice		powermac_nvram	# Open Firmware configuration NVRAM
2131016f143SNathan Whitehorndevice		smu		# Apple System Management Unit
214e9152038SJustin Hibbitsdevice		adm1030		# Apple G4 MDD fan controller
2153cc28bd9SJustin Hibbitsdevice		atibl		# ATI-based backlight driver for PowerBooks/iBooks
216d0ec68d4SJustin Hibbitsdevice		nvbl		# nVidia-based backlight driver for PowerBooks/iBooks
217e5d34218SMaxim Sobolev
218b4dbc599SNathan Whitehorn# ADB support
219b4dbc599SNathan Whitehorndevice		adb
220b4dbc599SNathan Whitehorndevice		cuda
221b4dbc599SNathan Whitehorndevice		pmu
222b4dbc599SNathan Whitehorn
223698ef695SNathan Whitehorn# Sound support
224698ef695SNathan Whitehorndevice		sound		# Generic sound driver (required)
225698ef695SNathan Whitehorndevice		snd_ai2s	# Apple I2S audio
226698ef695SNathan Whitehorndevice		snd_davbus	# Apple DAVBUS audio
227698ef695SNathan Whitehorndevice		snd_uaudio	# USB Audio
228bd62da64SNiclas Zeising
229bd62da64SNiclas Zeising# evdev interface
230bd62da64SNiclas Zeisingoptions 	EVDEV_SUPPORT		# evdev support in legacy drivers
231bd62da64SNiclas Zeisingdevice		evdev			# input event device support
232bd62da64SNiclas Zeisingdevice		uinput			# install /dev/uinput cdev
233fb0543afSBrandon Bergren
234fb0543afSBrandon Bergren# VirtIO support
235fb0543afSBrandon Bergrendevice		virtio			# Generic VirtIO bus (required)
236fb0543afSBrandon Bergrendevice		virtio_pci		# VirtIO PCI device
237fb0543afSBrandon Bergrendevice		vtnet			# VirtIO Ethernet device
238fb0543afSBrandon Bergrendevice		virtio_blk		# VirtIO Block device
239fb0543afSBrandon Bergrendevice		virtio_scsi		# VirtIO SCSI device
240fb0543afSBrandon Bergrendevice		virtio_balloon		# VirtIO Memory Balloon device
241fb0543afSBrandon Bergren
242