xref: /freebsd/sys/powerpc/conf/GENERIC (revision ef36b3f75658d201edb495068db5e1be49593de5)
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#    http://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 (http://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 powerpc
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 	PSIM			#GDB PSIM ppc simulator
32options 	MAMBO			#IBM Mambo Full System Simulator
33options 	PSERIES			#PAPR-compliant systems
34
35options		FDT
36options 	SCHED_ULE		#ULE scheduler
37options 	PREEMPTION		#Enable kernel thread preemption
38options 	VIMAGE			# Subsystem virtualization, e.g. VNET
39options 	INET			#InterNETworking
40options 	INET6			#IPv6 communications protocols
41options 	IPSEC			# IP (v4/v6) security
42options 	IPSEC_SUPPORT		# Allow kldload of ipsec and tcpmd5
43options 	TCP_HHOOK		# hhook(9) framework for TCP
44options 	SCTP			#Stream Control Transmission Protocol
45options 	FFS			#Berkeley Fast Filesystem
46options 	SOFTUPDATES		#Enable FFS soft updates support
47options 	UFS_ACL			#Support for access control lists
48options 	UFS_DIRHASH		#Improve performance on big directories
49options 	UFS_GJOURNAL		#Enable gjournal-based UFS journaling
50options 	QUOTA			#Enable disk quotas for UFS
51options 	MD_ROOT			#MD is a potential root device
52options 	NFSCL			#Network Filesystem Client
53options 	NFSD			#Network Filesystem Server
54options 	NFSLOCKD		#Network Lock Manager
55options 	NFS_ROOT		#NFS usable as root device
56options 	MSDOSFS			#MSDOS Filesystem
57options 	CD9660			#ISO 9660 Filesystem
58options 	PROCFS			#Process filesystem (requires PSEUDOFS)
59options 	PSEUDOFS		#Pseudo-filesystem framework
60options 	GEOM_PART_APM		#Apple Partition Maps.
61options 	GEOM_PART_GPT		#GUID Partition Tables.
62options 	GEOM_LABEL		#Provides labelization
63options 	COMPAT_FREEBSD4		#Keep this for a while
64options 	COMPAT_FREEBSD5		#Compatible with FreeBSD5
65options 	COMPAT_FREEBSD6		#Compatible with FreeBSD6
66options 	COMPAT_FREEBSD7		#Compatible with FreeBSD7
67options 	COMPAT_FREEBSD9		# Compatible with FreeBSD9
68options 	COMPAT_FREEBSD10	# Compatible with FreeBSD10
69options 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
70options 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
71options 	KTRACE			#ktrace(1) syscall trace support
72options 	STACK			#stack(9) support
73options 	SYSVSHM			#SYSV-style shared memory
74options 	SYSVMSG			#SYSV-style message queues
75options 	SYSVSEM			#SYSV-style semaphores
76options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
77options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
78options 	AUDIT			# Security event auditing
79options 	CAPABILITY_MODE		# Capsicum capability mode
80options 	CAPABILITIES		# Capsicum capabilities
81options 	MAC			# TrustedBSD MAC Framework
82options 	KDTRACE_HOOKS		# Kernel DTrace hooks
83options 	DDB_CTF			# Kernel ELF linker loads CTF data
84options 	INCLUDE_CONFIG_FILE     # Include this file in kernel
85options 	RACCT			# Resource accounting framework
86options 	RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
87options 	RCTL			# Resource limits
88
89# Debugging support.  Always need this:
90options 	KDB			# Enable kernel debugger support.
91options 	KDB_TRACE		# Print a stack trace for a panic.
92# For full debugger support use (turn off in stable branch):
93options 	DDB			#Support DDB
94#options 	DEADLKRES		#Enable the deadlock resolver
95options 	INVARIANTS		#Enable calls of extra sanity checking
96options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
97options 	WITNESS			#Enable checks to detect deadlocks and cycles
98options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
99options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
100
101# Make an SMP-capable kernel by default
102options 	SMP			# Symmetric MultiProcessor Kernel
103
104# CPU frequency control
105device		cpufreq
106
107# Standard busses
108device		pci
109options 	PCI_HP			# PCI-Express native HotPlug
110device		agp
111
112# ATA controllers
113device		ahci		# AHCI-compatible SATA controllers
114device		ata		# Legacy ATA/SATA controllers
115device		mvs		# Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
116device		siis		# SiliconImage SiI3124/SiI3132/SiI3531 SATA
117
118# SCSI Controllers
119device		ahc		# AHA2940 and onboard AIC7xxx devices
120options 	AHC_ALLOW_MEMIO	# Attempt to use memory mapped I/O
121options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
122					# output.  Adds ~128k to driver.
123device		isp		# Qlogic family
124device		ispfw		# Firmware module for Qlogic host adapters
125device		mpt		# LSI-Logic MPT-Fusion
126device		mps		# LSI-Logic MPT-Fusion 2
127device		sym		# NCR/Symbios/LSI Logic 53C8XX/53C1010/53C1510D
128
129# ATA/SCSI peripherals
130device		scbus		# SCSI bus (required for ATA/SCSI)
131device		da		# Direct Access (disks)
132device		sa		# Sequential Access (tape etc)
133device		cd		# CD
134device		pass		# Passthrough device (direct ATA/SCSI access)
135
136# vt is the default console driver, resembling an SCO console
137device		vt		# Generic console driver (pulls in OF FB)
138device		kbdmux
139
140# Serial (COM) ports
141device		scc
142device		uart
143device		uart_z8530
144
145# FireWire support
146device		firewire	# FireWire bus code
147device		sbp		# SCSI over FireWire (Requires scbus and da)
148device		fwe		# Ethernet over FireWire (non-standard!)
149
150# PCI Ethernet NICs that use the common MII bus controller code.
151device		miibus		# MII bus support
152device		bge		# Broadcom BCM570xx Gigabit Ethernet
153device		bm		# Apple BMAC Ethernet
154device		gem		# Sun GEM/Sun ERI/Apple GMAC
155device		dc		# DEC/Intel 21143 and various workalikes
156device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
157
158# Pseudo devices.
159device		loop		# Network loopback
160device		random		# Entropy device
161device		ether		# Ethernet support
162device		vlan		# 802.1Q VLAN support
163device		tun		# Packet tunnel.
164device		md		# Memory "disks"
165device		ofwd		# Open Firmware disks
166device		gif		# IPv6 and IPv4 tunneling
167device		firmware	# firmware assist module
168
169# The `bpf' device enables the Berkeley Packet Filter.
170# Be aware of the administrative consequences of enabling this!
171# Note that 'bpf' is required for DHCP.
172device		bpf		#Berkeley packet filter
173
174# USB support
175options 	USB_DEBUG	# enable debug msgs
176device		uhci		# UHCI PCI->USB interface
177device		ohci		# OHCI PCI->USB interface
178device		ehci		# EHCI PCI->USB interface
179device		usb		# USB Bus (required)
180device		uhid		# "Human Interface Devices"
181device		ukbd		# Keyboard
182options 	KBD_INSTALL_CDEV # install a CDEV entry in /dev
183device		ulpt		# Printer
184device		umass		# Disks/Mass storage - Requires scbus and da0
185device		ums		# Mouse
186device		atp		# Apple USB touchpad
187device		urio		# Diamond Rio 500 MP3 player
188# USB Ethernet
189device		aue		# ADMtek USB Ethernet
190device		axe		# ASIX Electronics USB Ethernet
191device		cdce		# Generic USB over Ethernet
192device		cue		# CATC USB Ethernet
193device		kue		# Kawasaki LSI USB Ethernet
194
195# Wireless NIC cards
196options 	IEEE80211_SUPPORT_MESH
197options 	AH_SUPPORT_AR5416
198
199# Misc
200device		iicbus		# I2C bus code
201device		kiic		# Keywest I2C
202device		ad7417		# PowerMac7,2 temperature sensor
203device		adt746x		# PowerBook5,8 temperature sensor
204device		ds1631		# PowerMac11,2 temperature sensor
205device		ds1775		# PowerMac7,2 temperature sensor
206device		fcu		# Apple Fan Control Unit
207device		max6690		# PowerMac7,2 temperature sensor
208device		powermac_nvram	# Open Firmware configuration NVRAM
209device		smu		# Apple System Management Unit
210device		adm1030		# Apple G4 MDD fan controller
211device		atibl		# ATI-based backlight driver for PowerBooks/iBooks
212device		nvbl		# nVidia-based backlight driver for PowerBooks/iBooks
213
214# ADB support
215device		adb
216device		cuda
217device		pmu
218
219# Sound support
220device		sound		# Generic sound driver (required)
221device		snd_ai2s	# Apple I2S audio
222device		snd_davbus	# Apple DAVBUS audio
223device		snd_uaudio	# USB Audio
224
225# The crypto framework is required by IPSEC
226device		crypto			# Required by IPSEC
227