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