xref: /freebsd/sys/powerpc/conf/GENERIC64 (revision f7c32ed617858bcd22f8d1b03199099d50125721)
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	powerpc64
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 	PS3			#Sony Playstation 3
32options 	MAMBO			#IBM Mambo Full System Simulator
33options		QEMU			#QEMU processor emulator
34options 	PSERIES			#PAPR-compliant systems (e.g. IBM p)
35options 	POWERNV			#Non-virtualized OpenPOWER systems
36
37options		FDT			#Flattened Device Tree
38options 	SCHED_ULE		#ULE scheduler
39options 	NUMA			#Non-Uniform Memory Architecture support
40options 	PREEMPTION		#Enable kernel thread preemption
41options 	VIMAGE			# Subsystem virtualization, e.g. VNET
42options 	INET			#InterNETworking
43options 	INET6			#IPv6 communications protocols
44options 	IPSEC_SUPPORT		# Allow kldload of ipsec and tcpmd5
45options		ROUTE_MPATH		# Multipath routing support
46options 	TCP_OFFLOAD		# TCP offload
47options 	TCP_BLACKBOX		# Enhanced TCP event logging
48options 	TCP_HHOOK		# hhook(9) framework for TCP
49options 	TCP_RFC7413		# TCP Fast Open
50options 	SCTP_SUPPORT		# Allow kldload of SCTP
51options 	FFS			#Berkeley Fast Filesystem
52options 	SOFTUPDATES		#Enable FFS soft updates support
53options 	UFS_ACL			#Support for access control lists
54options 	UFS_DIRHASH		#Improve performance on big directories
55options 	UFS_GJOURNAL		#Enable gjournal-based UFS journaling
56options 	QUOTA			#Enable disk quotas for UFS
57options 	MD_ROOT			#MD is a potential root device
58options 	MD_ROOT_MEM		#Enable use of initrd as MD root
59options 	NFSCL			#Network Filesystem Client
60options 	NFSD			#Network Filesystem Server
61options 	NFSLOCKD		#Network Lock Manager
62options 	NFS_ROOT		#NFS usable as root device
63options 	MSDOSFS			#MSDOS Filesystem
64options 	CD9660			#ISO 9660 Filesystem
65options 	PROCFS			#Process filesystem (requires PSEUDOFS)
66options 	PSEUDOFS		#Pseudo-filesystem framework
67options 	TMPFS			#Efficient memory filesystem
68options 	GEOM_PART_APM		#Apple Partition Maps.
69options 	GEOM_PART_GPT		#GUID Partition Tables.
70options 	GEOM_LABEL		#Provides labelization
71options 	COMPAT_FREEBSD32	#Compatible with FreeBSD/powerpc binaries
72options 	COMPAT_FREEBSD5		#Compatible with FreeBSD5
73options 	COMPAT_FREEBSD6		#Compatible with FreeBSD6
74options 	COMPAT_FREEBSD7		#Compatible with FreeBSD7
75options 	COMPAT_FREEBSD9		# Compatible with FreeBSD9
76options 	COMPAT_FREEBSD10	# Compatible with FreeBSD10
77options 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
78options 	COMPAT_FREEBSD12	# Compatible with FreeBSD12
79options 	COMPAT_FREEBSD13	# Compatible with FreeBSD13
80options 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
81options 	KTRACE			#ktrace(1) syscall trace support
82options 	STACK			#stack(9) support
83options 	SYSVSHM			#SYSV-style shared memory
84options 	SYSVMSG			#SYSV-style message queues
85options 	SYSVSEM			#SYSV-style semaphores
86options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
87options		PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
88options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
89options 	AUDIT			# Security event auditing
90options 	CAPABILITY_MODE		# Capsicum capability mode
91options 	CAPABILITIES		# Capsicum capabilities
92options 	MAC			# TrustedBSD MAC Framework
93options 	KDTRACE_HOOKS		# Kernel DTrace hooks
94options 	DDB_CTF			# Kernel ELF linker loads CTF data
95options 	INCLUDE_CONFIG_FILE     # Include this file in kernel
96options 	RACCT			# Resource accounting framework
97options 	RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
98options 	RCTL			# Resource limits
99
100# Debugging support.  Always need this:
101options 	KDB			# Enable kernel debugger support.
102options 	KDB_TRACE		# Print a stack trace for a panic.
103# For full debugger support use (turn off in stable branch):
104options 	DDB			#Support DDB
105#options 	DEADLKRES		#Enable the deadlock resolver
106options 	INVARIANTS		#Enable calls of extra sanity checking
107options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
108options 	WITNESS			#Enable checks to detect deadlocks and cycles
109options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
110options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
111options 	VERBOSE_SYSINIT=0	# Support debug.verbose_sysinit, off by default
112
113# Kernel dump features.
114options 	EKCD			# Support for encrypted kernel dumps
115options 	GZIO			# gzip-compressed kernel and user dumps
116options 	ZSTDIO			# zstd-compressed kernel and user dumps
117options 	DEBUGNET		# debugnet networking
118options 	NETDUMP			# netdump(4) client support
119
120# Make an SMP-capable kernel by default
121options 	SMP			# Symmetric MultiProcessor Kernel
122
123# CPU frequency control
124device		cpufreq
125
126# Standard busses
127device		pci
128options 	PCI_HP			# PCI-Express native HotPlug
129device		agp
130
131# ATA controllers
132device		ahci		# AHCI-compatible SATA controllers
133device		ata		# Legacy ATA/SATA controllers
134device		mvs		# Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
135device		siis		# SiliconImage SiI3124/SiI3132/SiI3531 SATA
136
137# NVM Express (NVMe) support
138device		nvme		# base NVMe driver
139options		NVME_USE_NVD=0	# prefer the cam(4) based nda(4) driver
140device		nvd		# expose NVMe namespaces as disks, depends on nvme
141
142# SCSI Controllers
143device		aacraid		# Adaptec by PMC RAID
144device		ahc		# AHA2940 and onboard AIC7xxx devices
145options 	AHC_ALLOW_MEMIO	# Attempt to use memory mapped I/O
146device		isp		# Qlogic family
147device		ispfw		# Firmware module for Qlogic host adapters
148device		mrsas		# LSI/Avago MegaRAID SAS/SATA, 6Gb/s and 12Gb/s
149device		mpt		# LSI-Logic MPT-Fusion
150device		mps		# LSI-Logic MPT-Fusion 2
151device		mpr		# LSI SAS3008 MPT-Fusion SAS-3
152device		sym		# NCR/Symbios/LSI Logic 53C8XX/53C1010/53C1510D
153
154# ATA/SCSI peripherals
155device		scbus		# SCSI bus (required for ATA/SCSI)
156device		ch		# SCSI media changers
157device		da		# Direct Access (disks)
158device		sa		# Sequential Access (tape etc)
159device		cd		# CD
160device		pass		# Passthrough device (direct ATA/SCSI access)
161device		ses		# Enclosure Service (SES and SAF-TE)
162
163# vt is the default console driver, resembling an SCO console
164device		vt		# Core console driver
165device		kbdmux
166
167# Serial (COM) ports
168device		scc
169device		uart
170device		uart_z8530
171
172device		iflib
173
174# Ethernet hardware
175device		em		# Intel PRO/1000 Gigabit Ethernet Family
176device		ix		# Intel PRO/10GbE PCIE PF Ethernet Family
177device		ixl		# Intel 700 Series Physical Function
178device		ixv		# Intel PRO/10GbE PCIE VF Ethernet Family
179device		glc		# Sony Playstation 3 Ethernet
180device		llan		# IBM pSeries Virtual Ethernet
181device		cxgbe		# Chelsio 10/25G NIC
182
183# PCI Ethernet NICs that use the common MII bus controller code.
184device		miibus		# MII bus support
185device		bge		# Broadcom BCM570xx Gigabit Ethernet
186device		gem		# Sun GEM/Sun ERI/Apple GMAC
187device		dc		# DEC/Intel 21143 and various workalikes
188device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
189device		re		# RealTek 8139C+/8169/8169S/8110S
190device		rl		# RealTek 8129/8139
191
192# Pseudo devices.
193device		crypto		# core crypto support
194device		loop		# Network loopback
195device		ether		# Ethernet support
196device		vlan		# 802.1Q VLAN support
197device		tuntap		# Packet tunnel.
198device		md		# Memory "disks"
199device		ofwd		# Open Firmware disks
200device		gif		# IPv6 and IPv4 tunneling
201device		firmware	# firmware assist module
202
203# The `bpf' device enables the Berkeley Packet Filter.
204# Be aware of the administrative consequences of enabling this!
205# Note that 'bpf' is required for DHCP.
206device		bpf		#Berkeley packet filter
207
208# USB support
209options 	USB_DEBUG	# enable debug msgs
210device		uhci		# UHCI PCI->USB interface
211device		ohci		# OHCI PCI->USB interface
212device		ehci		# EHCI PCI->USB interface
213device		xhci		# XHCI PCI->USB interface
214device		usb		# USB Bus (required)
215device		uhid		# "Human Interface Devices"
216device		ukbd		# Keyboard
217options 	KBD_INSTALL_CDEV # install a CDEV entry in /dev
218device		umass		# Disks/Mass storage - Requires scbus and da0
219device		ums		# Mouse
220# USB Ethernet
221device		aue		# ADMtek USB Ethernet
222device		axe		# ASIX Electronics USB Ethernet
223device		cdce		# Generic USB over Ethernet
224device		cue		# CATC USB Ethernet
225device		kue		# Kawasaki LSI USB Ethernet
226
227# Wireless NIC cards
228options 	IEEE80211_SUPPORT_MESH
229
230# FireWire support
231device		firewire	# FireWire bus code
232device		sbp		# SCSI over FireWire (Requires scbus and da)
233device		fwe		# Ethernet over FireWire (non-standard!)
234
235# Misc
236device		iicbus		# I2C bus code
237device		iic
238device		kiic		# Keywest I2C
239device		ad7417		# PowerMac7,2 temperature sensor
240device		ds1631		# PowerMac11,2 temperature sensor
241device		ds1775		# PowerMac7,2 temperature sensor
242device		fcu		# Apple Fan Control Unit
243device		max6690		# PowerMac7,2 temperature sensor
244device		powermac_nvram	# Open Firmware configuration NVRAM
245device		smu		# Apple System Management Unit
246device		atibl		# ATI-based backlight driver for PowerBooks/iBooks
247device		nvbl		# nVidia-based backlight driver for PowerBooks/iBooks
248device		opalflash	# PowerNV embedded flash memory
249
250# ADB support
251device		adb
252device		pmu
253
254# Sound support
255device		sound		# Generic sound driver (required)
256device		snd_ai2s	# Apple I2S audio
257device		snd_hda		# Intel High Definition Audio
258device		snd_uaudio	# USB Audio
259
260# Netmap provides direct access to TX/RX rings on supported NICs
261device		netmap		# netmap(4) support
262
263# evdev interface
264options 	EVDEV_SUPPORT		# evdev support in legacy drivers
265device		evdev			# input event device support
266device		uinput			# install /dev/uinput cdev
267
268# VirtIO support
269device          virtio                  # Generic VirtIO bus (required)
270device          virtio_pci              # VirtIO PCI device
271device          vtnet                   # VirtIO Ethernet device
272device          virtio_blk              # VirtIO Block device
273device          virtio_scsi             # VirtIO SCSI device
274device          virtio_balloon          # VirtIO Memory Balloon device
275
276# HID support
277options 	HID_DEBUG		# enable debug msgs
278device		hid			# Generic HID support
279