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