xref: /freebsd/sys/powerpc/conf/GENERIC (revision be352d20d5198f55ed91c3805d5e7272b3f636a7)
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
419d0ec2a9SJosh Paetzeloptions 	IPSEC			# IP (v4/v6) security
423b65550eSJosh Paetzeloptions 	IPSEC_SUPPORT		# Allow kldload of ipsec and tcpmd5
43bd79708dSJonathan T. Looneyoptions 	TCP_HHOOK		# hhook(9) framework for TCP
4420a2f77eSMichael Tuexenoptions 	TCP_RFC7413		# TCP Fast Open
454fabde56SChristian Bruefferoptions 	SCTP			#Stream Control Transmission Protocol
4626eed6e9SPeter Grehanoptions 	FFS			#Berkeley Fast Filesystem
4726eed6e9SPeter Grehanoptions 	SOFTUPDATES		#Enable FFS soft updates support
48c7063e59SRobert Watsonoptions 	UFS_ACL			#Support for access control lists
4926eed6e9SPeter Grehanoptions 	UFS_DIRHASH		#Improve performance on big directories
50fef2a259SPawel Jakub Dawidekoptions 	UFS_GJOURNAL		#Enable gjournal-based UFS journaling
510dcbedfaSKonstantin Belousovoptions 	QUOTA			#Enable disk quotas for UFS
5226eed6e9SPeter Grehanoptions 	MD_ROOT			#MD is a potential root device
533e32dff5SJohn Baldwinoptions 	NFSCL			#Network Filesystem Client
543e32dff5SJohn Baldwinoptions 	NFSD			#Network Filesystem Server
55fa9d9930SDoug Rabsonoptions 	NFSLOCKD		#Network Lock Manager
56a5bd7d29SPeter Grehanoptions 	NFS_ROOT		#NFS usable as root device
57c2399f7aSPeter Grehanoptions 	MSDOSFS			#MSDOS Filesystem
5826eed6e9SPeter Grehanoptions 	CD9660			#ISO 9660 Filesystem
5926eed6e9SPeter Grehanoptions 	PROCFS			#Process filesystem (requires PSEUDOFS)
6026eed6e9SPeter Grehanoptions 	PSEUDOFS		#Pseudo-filesystem framework
61f25e72cbSMarcel Moolenaaroptions 	GEOM_PART_APM		#Apple Partition Maps.
621d3aed33SMarcel Moolenaaroptions 	GEOM_PART_GPT		#GUID Partition Tables.
63983f9709SBrooks Davisoptions 	GEOM_LABEL		#Provides labelization
64a5bd7d29SPeter Grehanoptions 	COMPAT_FREEBSD4		#Keep this for a while
656c9fdda7SRuslan Ermilovoptions 	COMPAT_FREEBSD5		#Compatible with FreeBSD5
666c9fdda7SRuslan Ermilovoptions 	COMPAT_FREEBSD6		#Compatible with FreeBSD6
675965c4b7SJohn Baldwinoptions 	COMPAT_FREEBSD7		#Compatible with FreeBSD7
687d313e7bSJohn Baldwinoptions 	COMPAT_FREEBSD9		# Compatible with FreeBSD9
697d313e7bSJohn Baldwinoptions 	COMPAT_FREEBSD10	# Compatible with FreeBSD10
707f68a896SMark Johnstonoptions 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
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
101*be352d20SKyle 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
107892bdcccSMark Johnstonoptions 	NETDUMP			# netdump(4) client support
108892bdcccSMark Johnston
1098f8a2520SJoel Dahl# Make an SMP-capable kernel by default
1106533dd88SNathan Whitehornoptions 	SMP			# Symmetric MultiProcessor Kernel
11126eed6e9SPeter Grehan
1129eb9db93SNathan Whitehorn# CPU frequency control
1139eb9db93SNathan Whitehorndevice		cpufreq
1149eb9db93SNathan Whitehorn
11526eed6e9SPeter Grehan# Standard busses
116b618108fSPeter Wemmdevice		pci
11782cb5c3bSJohn Baldwinoptions 	PCI_HP			# PCI-Express native HotPlug
11850fd2a5bSNathan Whitehorndevice		agp
11926eed6e9SPeter Grehan
12097b53e36SAlexander Motin# ATA controllers
12197b53e36SAlexander Motindevice		ahci		# AHCI-compatible SATA controllers
12297b53e36SAlexander Motindevice		ata		# Legacy ATA/SATA controllers
12397b53e36SAlexander Motindevice		mvs		# Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
12497b53e36SAlexander Motindevice		siis		# SiliconImage SiI3124/SiI3132/SiI3531 SATA
12526eed6e9SPeter Grehan
1263d59b758SNathan Whitehorn# SCSI Controllers
1273d59b758SNathan Whitehorndevice		ahc		# AHA2940 and onboard AIC7xxx devices
1283d59b758SNathan Whitehornoptions 	AHC_ALLOW_MEMIO	# Attempt to use memory mapped I/O
1293d59b758SNathan Whitehorndevice		isp		# Qlogic family
1303d59b758SNathan Whitehorndevice		ispfw		# Firmware module for Qlogic host adapters
1313d59b758SNathan Whitehorndevice		mpt		# LSI-Logic MPT-Fusion
132a77d7873SKenneth D. Merrydevice		mps		# LSI-Logic MPT-Fusion 2
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
159cf99524aSMarcel Moolenaardevice		bm		# Apple BMAC Ethernet
160be0e6bfcSBenno Ricedevice		gem		# Sun GEM/Sun ERI/Apple GMAC
16124c1c571SPeter Grehandevice		dc		# DEC/Intel 21143 and various workalikes
16224c1c571SPeter Grehandevice		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
16326eed6e9SPeter Grehan
164aa355a26SMaxim Konovalov# Pseudo devices.
1658cd385fdSJohn Baldwindevice		crypto		# core crypto support
16626eed6e9SPeter Grehandevice		loop		# Network loopback
1678ab2f5ecSMark Murraydevice		random		# Entropy device
16826eed6e9SPeter Grehandevice		ether		# Ethernet support
1699efde583SBrooks Davisdevice		vlan		# 802.1Q VLAN support
17026eed6e9SPeter Grehandevice		tun		# Packet tunnel.
17126eed6e9SPeter Grehandevice		md		# Memory "disks"
17226eed6e9SPeter Grehandevice		ofwd		# Open Firmware disks
17326eed6e9SPeter Grehandevice		gif		# IPv6 and IPv4 tunneling
1743d59b758SNathan Whitehorndevice		firmware	# firmware assist module
17526eed6e9SPeter Grehan
17626eed6e9SPeter Grehan# The `bpf' device enables the Berkeley Packet Filter.
17726eed6e9SPeter Grehan# Be aware of the administrative consequences of enabling this!
178991f5121SMurray Stokely# Note that 'bpf' is required for DHCP.
17926eed6e9SPeter Grehandevice		bpf		#Berkeley packet filter
18026eed6e9SPeter Grehan
181c89d41e5SAndrew Thompson# USB support
182b850ecc1SAndrew Thompsonoptions 	USB_DEBUG	# enable debug msgs
183c89d41e5SAndrew Thompsondevice		uhci		# UHCI PCI->USB interface
184c89d41e5SAndrew Thompsondevice		ohci		# OHCI PCI->USB interface
185c89d41e5SAndrew Thompsondevice		ehci		# EHCI PCI->USB interface
186c89d41e5SAndrew Thompsondevice		usb		# USB Bus (required)
187c89d41e5SAndrew Thompsondevice		uhid		# "Human Interface Devices"
188c89d41e5SAndrew Thompsondevice		ukbd		# Keyboard
189c89d41e5SAndrew Thompsonoptions 	KBD_INSTALL_CDEV # install a CDEV entry in /dev
190c89d41e5SAndrew Thompsondevice		ulpt		# Printer
191c89d41e5SAndrew Thompsondevice		umass		# Disks/Mass storage - Requires scbus and da0
192c89d41e5SAndrew Thompsondevice		ums		# Mouse
1932c494821SNathan Whitehorndevice		atp		# Apple USB touchpad
194c89d41e5SAndrew Thompsondevice		urio		# Diamond Rio 500 MP3 player
19526eed6e9SPeter Grehan# USB Ethernet
196c89d41e5SAndrew Thompsondevice		aue		# ADMtek USB Ethernet
197c89d41e5SAndrew Thompsondevice		axe		# ASIX Electronics USB Ethernet
198c89d41e5SAndrew Thompsondevice		cdce		# Generic USB over Ethernet
199c89d41e5SAndrew Thompsondevice		cue		# CATC USB Ethernet
200c89d41e5SAndrew Thompsondevice		kue		# Kawasaki LSI USB Ethernet
20126eed6e9SPeter Grehan
2028cb8d9fbSAdrian Chadd# Wireless NIC cards
2038cb8d9fbSAdrian Chaddoptions 	IEEE80211_SUPPORT_MESH
2048cb8d9fbSAdrian Chaddoptions 	AH_SUPPORT_AR5416
2058cb8d9fbSAdrian Chadd
206e5d34218SMaxim Sobolev# Misc
207698ef695SNathan Whitehorndevice		iicbus		# I2C bus code
208698ef695SNathan Whitehorndevice		kiic		# Keywest I2C
209d188174aSAndreas Toblerdevice		ad7417		# PowerMac7,2 temperature sensor
210c017acc7SJustin Hibbitsdevice		adt746x		# PowerBook5,8 temperature sensor
211d2d30ba3SAndreas Toblerdevice		ds1631		# PowerMac11,2 temperature sensor
212da89fa28SAndreas Toblerdevice		ds1775		# PowerMac7,2 temperature sensor
213da89fa28SAndreas Toblerdevice		fcu		# Apple Fan Control Unit
214da89fa28SAndreas Toblerdevice		max6690		# PowerMac7,2 temperature sensor
215e5d34218SMaxim Sobolevdevice		powermac_nvram	# Open Firmware configuration NVRAM
2161016f143SNathan Whitehorndevice		smu		# Apple System Management Unit
217e9152038SJustin Hibbitsdevice		adm1030		# Apple G4 MDD fan controller
2183cc28bd9SJustin Hibbitsdevice		atibl		# ATI-based backlight driver for PowerBooks/iBooks
219d0ec68d4SJustin Hibbitsdevice		nvbl		# nVidia-based backlight driver for PowerBooks/iBooks
220e5d34218SMaxim Sobolev
221b4dbc599SNathan Whitehorn# ADB support
222b4dbc599SNathan Whitehorndevice		adb
223b4dbc599SNathan Whitehorndevice		cuda
224b4dbc599SNathan Whitehorndevice		pmu
225b4dbc599SNathan Whitehorn
226698ef695SNathan Whitehorn# Sound support
227698ef695SNathan Whitehorndevice		sound		# Generic sound driver (required)
228698ef695SNathan Whitehorndevice		snd_ai2s	# Apple I2S audio
229698ef695SNathan Whitehorndevice		snd_davbus	# Apple DAVBUS audio
230698ef695SNathan Whitehorndevice		snd_uaudio	# USB Audio
231