xref: /freebsd/sys/powerpc/conf/GENERIC (revision 84d12f887c91fc2e2859edfeb0673fe7f953bd87)
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#
7c1a14887SCeri Davies#    https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config
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
205d8dd7e6SMarcel Moolenaarcpu		AIM
21c585bae1SBenno Riceident		GENERIC
22c585bae1SBenno Rice
23c3e289e1SNathan Whitehornmachine 	powerpc powerpc
24c3e289e1SNathan Whitehorn
25a5bd7d29SPeter Grehanmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
261939b590SJustin Hibbitsmakeoptions	WITH_CTF=1
27c585bae1SBenno Rice
2826eed6e9SPeter Grehan# Platform support
2926eed6e9SPeter Grehanoptions 	POWERMAC		# NewWorld Apple PowerMacs
3026eed6e9SPeter Grehanoptions 	PSIM			# GDB PSIM ppc simulator
312c16c8d7SNathan Whitehornoptions 	MAMBO			# IBM Mambo Full System Simulator
327a8d25c0SNathan Whitehornoptions 	PSERIES			# PAPR-compliant systems
3359307865SMark Peek
346c8df582SJustin Hibbitsoptions 	FDT
35cbdd62adSPeter Grehanoptions 	SCHED_ULE		# ULE scheduler
36297becf9SNathan Whitehornoptions 	PREEMPTION		# Enable kernel thread preemption
378e94025bSBjoern A. Zeeboptions 	VIMAGE			# Subsystem virtualization, e.g. VNET
3826eed6e9SPeter Grehanoptions 	INET			# InterNETworking
3926eed6e9SPeter Grehanoptions 	INET6			# IPv6 communications protocols
403b65550eSJosh Paetzeloptions 	IPSEC_SUPPORT		# Allow kldload of ipsec and tcpmd5
41bd79708dSJonathan T. Looneyoptions 	TCP_HHOOK		# hhook(9) framework for TCP
4220a2f77eSMichael Tuexenoptions 	TCP_RFC7413		# TCP Fast Open
43e64080e7SMark Johnstonoptions 	SCTP_SUPPORT		# Allow kldload of SCTP
4426eed6e9SPeter Grehanoptions 	FFS			# Berkeley Fast Filesystem
4526eed6e9SPeter Grehanoptions 	SOFTUPDATES		# Enable FFS soft updates support
46c7063e59SRobert Watsonoptions 	UFS_ACL			# Support for access control lists
4726eed6e9SPeter Grehanoptions 	UFS_DIRHASH		# Improve performance on big directories
48fef2a259SPawel Jakub Dawidekoptions 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
490dcbedfaSKonstantin Belousovoptions 	QUOTA			# Enable disk quotas for UFS
5026eed6e9SPeter Grehanoptions 	MD_ROOT			# MD is a potential root device
513e32dff5SJohn Baldwinoptions 	NFSCL			# Network Filesystem Client
523e32dff5SJohn Baldwinoptions 	NFSD			# Network Filesystem Server
53fa9d9930SDoug Rabsonoptions 	NFSLOCKD		# Network Lock Manager
54a5bd7d29SPeter Grehanoptions 	NFS_ROOT		# NFS usable as root device
55c2399f7aSPeter Grehanoptions 	MSDOSFS			# MSDOS Filesystem
5626eed6e9SPeter Grehanoptions 	CD9660			# ISO 9660 Filesystem
5726eed6e9SPeter Grehanoptions 	PROCFS			# Process filesystem (requires PSEUDOFS)
5826eed6e9SPeter Grehanoptions 	PSEUDOFS		# Pseudo-filesystem framework
59b798ef64SAlex Richardsonoptions 	TMPFS			# Efficient memory filesystem
60f25e72cbSMarcel Moolenaaroptions 	GEOM_PART_APM		# Apple Partition Maps.
611d3aed33SMarcel Moolenaaroptions 	GEOM_PART_GPT		# GUID Partition Tables.
62983f9709SBrooks Davisoptions 	GEOM_LABEL		# Provides labelization
636c9fdda7SRuslan Ermilovoptions 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
645965c4b7SJohn Baldwinoptions 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
657d313e7bSJohn Baldwinoptions 	COMPAT_FREEBSD9		# Compatible with FreeBSD9
667d313e7bSJohn Baldwinoptions 	COMPAT_FREEBSD10	# Compatible with FreeBSD10
677f68a896SMark Johnstonoptions 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
68d6745408SConrad Meyeroptions 	COMPAT_FREEBSD12	# Compatible with FreeBSD12
694e85b648SKristof Provostoptions 	COMPAT_FREEBSD13	# Compatible with FreeBSD13
70*84d12f88SKristof Provostoptions 	COMPAT_FREEBSD14	# Compatible with FreeBSD14
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
2170c9f52d4SBrandon Bergrendevice		pswitch		# Macio programmer's switch
218e5d34218SMaxim Sobolev
219b4dbc599SNathan Whitehorn# ADB support
220b4dbc599SNathan Whitehorndevice		adb
221b4dbc599SNathan Whitehorndevice		cuda
222b4dbc599SNathan Whitehorndevice		pmu
223b4dbc599SNathan Whitehorn
224698ef695SNathan Whitehorn# Sound support
225698ef695SNathan Whitehorndevice		sound		# Generic sound driver (required)
226698ef695SNathan Whitehorndevice		snd_ai2s	# Apple I2S audio
227698ef695SNathan Whitehorndevice		snd_davbus	# Apple DAVBUS audio
228698ef695SNathan Whitehorndevice		snd_uaudio	# USB Audio
229bd62da64SNiclas Zeising
230bd62da64SNiclas Zeising# evdev interface
231bd62da64SNiclas Zeisingoptions 	EVDEV_SUPPORT		# evdev support in legacy drivers
232bd62da64SNiclas Zeisingdevice		evdev			# input event device support
233bd62da64SNiclas Zeisingdevice		uinput			# install /dev/uinput cdev
234fb0543afSBrandon Bergren
235fb0543afSBrandon Bergren# VirtIO support
236fb0543afSBrandon Bergrendevice		virtio			# Generic VirtIO bus (required)
237fb0543afSBrandon Bergrendevice		virtio_pci		# VirtIO PCI device
238fb0543afSBrandon Bergrendevice		vtnet			# VirtIO Ethernet device
239fb0543afSBrandon Bergrendevice		virtio_blk		# VirtIO Block device
240fb0543afSBrandon Bergrendevice		virtio_scsi		# VirtIO SCSI device
241fb0543afSBrandon Bergrendevice		virtio_balloon		# VirtIO Memory Balloon device
242fb0543afSBrandon Bergren
24367de2db2SVladimir Kondratyev# HID support
24419758786SVladimir Kondratyevoptions 	HID_DEBUG		# enable debug msgs
24567de2db2SVladimir Kondratyevdevice		hid			# Generic HID support
246