xref: /freebsd/sys/powerpc/conf/GENERIC (revision 87948dfdf26575792b88f781bdbbed5d297f0a25)
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#
7c0727dcbSMarc Fonvieille#    http://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
11c585bae1SBenno Rice# FreeBSD World Wide Web server (http://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
24c585bae1SBenno Rice#To statically compile in device wiring instead of /boot/device.hints
25c585bae1SBenno Rice#hints		"GENERIC.hints"
26c585bae1SBenno Rice
27a5bd7d29SPeter Grehanmakeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
28c585bae1SBenno Rice
2926eed6e9SPeter Grehan# Platform support
3026eed6e9SPeter Grehanoptions 	POWERMAC		#NewWorld Apple PowerMacs
3126eed6e9SPeter Grehanoptions 	PSIM			#GDB PSIM ppc simulator
3259307865SMark Peek
33cbdd62adSPeter Grehanoptions 	SCHED_ULE		#ULE scheduler
3426eed6e9SPeter Grehanoptions 	INET			#InterNETworking
3526eed6e9SPeter Grehanoptions 	INET6			#IPv6 communications protocols
364fabde56SChristian Bruefferoptions 	SCTP			#Stream Control Transmission Protocol
3726eed6e9SPeter Grehanoptions 	FFS			#Berkeley Fast Filesystem
3826eed6e9SPeter Grehanoptions 	SOFTUPDATES		#Enable FFS soft updates support
39c7063e59SRobert Watsonoptions 	UFS_ACL			#Support for access control lists
4026eed6e9SPeter Grehanoptions 	UFS_DIRHASH		#Improve performance on big directories
41fef2a259SPawel Jakub Dawidekoptions 	UFS_GJOURNAL		#Enable gjournal-based UFS journaling
4226eed6e9SPeter Grehanoptions 	MD_ROOT			#MD is a potential root device
4326eed6e9SPeter Grehanoptions 	NFSCLIENT		#Network Filesystem Client
4426eed6e9SPeter Grehanoptions 	NFSSERVER		#Network Filesystem Server
45fa9d9930SDoug Rabsonoptions 	NFSLOCKD		#Network Lock Manager
46a5bd7d29SPeter Grehanoptions 	NFS_ROOT		#NFS usable as root device
47c2399f7aSPeter Grehanoptions 	MSDOSFS			#MSDOS Filesystem
4826eed6e9SPeter Grehanoptions 	CD9660			#ISO 9660 Filesystem
4926eed6e9SPeter Grehanoptions 	PROCFS			#Process filesystem (requires PSEUDOFS)
5026eed6e9SPeter Grehanoptions 	PSEUDOFS		#Pseudo-filesystem framework
511d3aed33SMarcel Moolenaaroptions 	GEOM_PART_GPT		#GUID Partition Tables.
52983f9709SBrooks Davisoptions 	GEOM_LABEL		#Provides labelization
53bfba40a4SEd Schoutenoptions 	COMPAT_43TTY		#BSD 4.3 TTY compat (sgtty)
54a5bd7d29SPeter Grehanoptions 	COMPAT_FREEBSD4		#Keep this for a while
556c9fdda7SRuslan Ermilovoptions 	COMPAT_FREEBSD5		#Compatible with FreeBSD5
566c9fdda7SRuslan Ermilovoptions 	COMPAT_FREEBSD6		#Compatible with FreeBSD6
575965c4b7SJohn Baldwinoptions 	COMPAT_FREEBSD7		#Compatible with FreeBSD7
5832672ba8SAndre Oppermannoptions 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
5926eed6e9SPeter Grehanoptions 	KTRACE			#ktrace(1) syscall trace support
603c90d1eaSRobert Watsonoptions 	STACK			#stack(9) support
6126eed6e9SPeter Grehanoptions 	SYSVSHM			#SYSV-style shared memory
6226eed6e9SPeter Grehanoptions 	SYSVMSG			#SYSV-style message queues
6326eed6e9SPeter Grehanoptions 	SYSVSEM			#SYSV-style semaphores
6489fe4c0aSEd Schoutenoptions 	P1003_1B_SEMAPHORES	# POSIX-style semaphores
65400a0a23SSuleiman Souhlaloptions 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
66dbd47f15SXin LIoptions 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
6768d4cc61SRobert Watsonoptions 	AUDIT			# Security event auditing
68bd875f5fSRobert Watsonoptions 	MAC			# TrustedBSD MAC Framework
6987948dfdSWarner Loshoptions 	INCLUDE_CONFIG_FILE     # Include this file in kernel
70c5f0b00cSBenno Rice
7126eed6e9SPeter Grehan# Debugging for use in -current
7224c1c571SPeter Grehanoptions 	KDB			#Enable the kernel debugger
7324c1c571SPeter Grehanoptions 	DDB			#Support DDB
7426eed6e9SPeter Grehanoptions 	INVARIANTS		#Enable calls of extra sanity checking
7526eed6e9SPeter Grehanoptions 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
7626eed6e9SPeter Grehanoptions 	WITNESS			#Enable checks to detect deadlocks and cycles
77a2d791e2SMarcel Moolenaaroptions 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
7826eed6e9SPeter Grehan
7926eed6e9SPeter Grehan# To make an SMP kernel, the next line is needed
8026eed6e9SPeter Grehan#options 	SMP			# Symmetric MultiProcessor Kernel
8126eed6e9SPeter Grehan
829eb9db93SNathan Whitehorn# CPU frequency control
839eb9db93SNathan Whitehorndevice		cpufreq
849eb9db93SNathan Whitehorn
8526eed6e9SPeter Grehan# Standard busses
86b618108fSPeter Wemmdevice		pci
8726eed6e9SPeter Grehan
8826eed6e9SPeter Grehan# ATA and ATAPI devices
8926eed6e9SPeter Grehandevice		ata
9026eed6e9SPeter Grehandevice		atadisk		# ATA disk drives
9126eed6e9SPeter Grehandevice		atapicd		# ATAPI CDROM drives
9226eed6e9SPeter Grehan#device		atapifd		# ATAPI floppy drives
9326eed6e9SPeter Grehan#device		atapist		# ATAPI tape drives
9426eed6e9SPeter Grehan
953d59b758SNathan Whitehorn# SCSI Controllers
963d59b758SNathan Whitehorndevice		ahc		# AHA2940 and onboard AIC7xxx devices
973d59b758SNathan Whitehornoptions 	AHC_ALLOW_MEMIO	# Attempt to use memory mapped I/O
983d59b758SNathan Whitehornoptions 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
993d59b758SNathan Whitehorn					# output.  Adds ~128k to driver.
1003d59b758SNathan Whitehorndevice		isp		# Qlogic family
1013d59b758SNathan Whitehorndevice		ispfw		# Firmware module for Qlogic host adapters
1023d59b758SNathan Whitehorndevice		mpt		# LSI-Logic MPT-Fusion
1033d59b758SNathan Whitehorndevice		sym		# NCR/Symbios/LSI Logic 53C8XX/53C1010/53C1510D
1043d59b758SNathan Whitehorn
105f73a5a7fSHidetoshi Shimokawa# SCSI peripherals
106d196a108SJuli Mallettdevice		scbus		# SCSI bus (required for SCSI)
107f73a5a7fSHidetoshi Shimokawadevice		da		# Direct Access (disks)
108f73a5a7fSHidetoshi Shimokawadevice		sa		# Sequential Access (tape etc)
109f73a5a7fSHidetoshi Shimokawadevice		cd		# CD
110f73a5a7fSHidetoshi Shimokawadevice		pass		# Passthrough device (direct SCSI access)
111f73a5a7fSHidetoshi Shimokawa
112e878e008SPeter Grehan# syscons is the default console driver, resembling an SCO console
113e878e008SPeter Grehandevice		sc
114068bb61cSMarcel Moolenaardevice		kbdmux
115e878e008SPeter Grehanoptions 	SC_OFWFB	# OFW frame buffer
116e878e008SPeter Grehanoptions 	SC_DFLT_FONT	# compile font in
117e878e008SPeter Grehanmakeoptions	SC_DFLT_FONT=cp437
118e878e008SPeter Grehan
11926eed6e9SPeter Grehan# Serial (COM) ports
1207d2c35edSMarcel Moolenaardevice		scc
1217d2c35edSMarcel Moolenaardevice		uart
12226eed6e9SPeter Grehan
12326eed6e9SPeter Grehan# PCI Ethernet NICs that use the common MII bus controller code.
12426eed6e9SPeter Grehandevice		miibus		# MII bus support
125d71cc3c8SMarcel Moolenaardevice		bge		# Broadcom BCM570xx Gigabit Ethernet
126cf99524aSMarcel Moolenaardevice		bm		# Apple BMAC Ethernet
127be0e6bfcSBenno Ricedevice		gem		# Sun GEM/Sun ERI/Apple GMAC
12824c1c571SPeter Grehandevice		dc		# DEC/Intel 21143 and various workalikes
12924c1c571SPeter Grehandevice		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
13026eed6e9SPeter Grehan
131aa355a26SMaxim Konovalov# Pseudo devices.
13226eed6e9SPeter Grehandevice		loop		# Network loopback
1338ab2f5ecSMark Murraydevice		random		# Entropy device
13426eed6e9SPeter Grehandevice		ether		# Ethernet support
1359efde583SBrooks Davisdevice		vlan		# 802.1Q VLAN support
13626eed6e9SPeter Grehandevice		tun		# Packet tunnel.
137bc093719SEd Schoutendevice		pty		# BSD-style compatibility pseudo ttys
13826eed6e9SPeter Grehandevice		md		# Memory "disks"
13926eed6e9SPeter Grehandevice		ofwd		# Open Firmware disks
14026eed6e9SPeter Grehandevice		gif		# IPv6 and IPv4 tunneling
14126eed6e9SPeter Grehandevice		faith		# IPv6-to-IPv4 relaying/(translation)
1423d59b758SNathan Whitehorndevice		firmware	# firmware assist module
14326eed6e9SPeter Grehan
14426eed6e9SPeter Grehan# The `bpf' device enables the Berkeley Packet Filter.
14526eed6e9SPeter Grehan# Be aware of the administrative consequences of enabling this!
146991f5121SMurray Stokely# Note that 'bpf' is required for DHCP.
14726eed6e9SPeter Grehandevice		bpf		#Berkeley packet filter
14826eed6e9SPeter Grehan
149c89d41e5SAndrew Thompson# USB support
150c89d41e5SAndrew Thompsondevice		uhci		# UHCI PCI->USB interface
151c89d41e5SAndrew Thompsondevice		ohci		# OHCI PCI->USB interface
152c89d41e5SAndrew Thompsondevice		ehci		# EHCI PCI->USB interface
153c89d41e5SAndrew Thompsondevice		usb		# USB Bus (required)
154c89d41e5SAndrew Thompsondevice		uhid		# "Human Interface Devices"
155c89d41e5SAndrew Thompsondevice		ukbd		# Keyboard
156c89d41e5SAndrew Thompsonoptions 	KBD_INSTALL_CDEV # install a CDEV entry in /dev
157c89d41e5SAndrew Thompsondevice		ulpt		# Printer
158c89d41e5SAndrew Thompsondevice		umass		# Disks/Mass storage - Requires scbus and da0
159c89d41e5SAndrew Thompsondevice		ums		# Mouse
1602c494821SNathan Whitehorndevice		atp		# Apple USB touchpad
161c89d41e5SAndrew Thompsondevice		urio		# Diamond Rio 500 MP3 player
16226eed6e9SPeter Grehan# USB Ethernet
163c89d41e5SAndrew Thompsondevice		aue		# ADMtek USB Ethernet
164c89d41e5SAndrew Thompsondevice		axe		# ASIX Electronics USB Ethernet
165c89d41e5SAndrew Thompsondevice		cdce		# Generic USB over Ethernet
166c89d41e5SAndrew Thompsondevice		cue		# CATC USB Ethernet
167c89d41e5SAndrew Thompsondevice		kue		# Kawasaki LSI USB Ethernet
16826eed6e9SPeter Grehan
169092cd06fSHidetoshi Shimokawa# FireWire support
170092cd06fSHidetoshi Shimokawadevice		firewire	# FireWire bus code
171092cd06fSHidetoshi Shimokawadevice		sbp		# SCSI over FireWire (Requires scbus and da)
172092cd06fSHidetoshi Shimokawadevice		fwe		# Ethernet over FireWire (non-standard!)
173092cd06fSHidetoshi Shimokawa
174e5d34218SMaxim Sobolev# Misc
175e5d34218SMaxim Sobolevdevice		powermac_nvram	# Open Firmware configuration NVRAM
1761016f143SNathan Whitehorndevice		smu		# Apple System Management Unit
177e5d34218SMaxim Sobolev
178b4dbc599SNathan Whitehorn# ADB support
179b4dbc599SNathan Whitehorndevice		adb
180b4dbc599SNathan Whitehorndevice		cuda
181b4dbc599SNathan Whitehorndevice		pmu
182b4dbc599SNathan Whitehorn
1838486eb86SNathan Whitehorn# Powermac I2C support
1848486eb86SNathan Whitehorndevice		iicbus		# I2C bus code
1858486eb86SNathan Whitehorndevice		kiic		# Keywest I2C
1868486eb86SNathan Whitehorn
187