POWERMAC_G5 revision 1.4
11.1Ssanjayl# Lean and mean config file for the POWERMAC G5
21.1Ssanjayl# Author: Sanjay Lal <sanjayl@kymasys.com>
31.1Ssanjayl
41.1Ssanjaylinclude		"arch/macppc/conf/std.macppc.g5"
51.1Ssanjayl
61.1Ssanjayloptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
71.1Ssanjaylmaxusers	32
81.1Ssanjayl
91.3Suweoptions 	PMAC_G5
101.1Ssanjayloptions 	ALTIVEC		# Include AltiVec support
111.1Ssanjayl
121.1Ssanjayl# Standard system options
131.1Ssanjayloptions 	INSECURE	# disable kernel security levels
141.1Ssanjayl
151.1Ssanjayloptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
161.1Ssanjayloptions 	NTP		# NTP phase/frequency locked loop
171.1Ssanjayloptions 	KTRACE		# system call tracing via ktrace(1)
181.2Schristos#options 	SYSTRACE	# system call vetting via systrace(1)
191.1Ssanjayl
201.1Ssanjayloptions 	SYSVMSG		# System V message queues
211.1Ssanjayloptions 	SYSVSEM		# System V semaphores
221.1Ssanjayl#options 	SEMMNI=10	# number of semaphore identifiers
231.1Ssanjayl#options 	SEMMNS=60	# number of semaphores in system
241.1Ssanjayl#options 	SEMUME=10	# max number of undo entries per process
251.1Ssanjayl#options 	SEMMNU=30	# number of undo structures in system
261.1Ssanjayloptions 	SYSVSHM		# System V shared memory
271.1Ssanjayl#options 	SHMMAXPGS=1024	# 1024 pages is the default
281.1Ssanjayloptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
291.1Ssanjayl
301.1Ssanjayloptions 	LKM		# loadable kernel modules
311.1Ssanjayl
321.1Ssanjayloptions 	USERCONF	# userconf(4) support
331.1Ssanjayl#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
341.1Ssanjayloptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
351.1Ssanjayl
361.1Ssanjayl# Enable experimental buffer queue strategy for better responsiveness under
371.1Ssanjayl# high disk I/O load. Use it with caution - it's not proven to be stable yet.
381.1Ssanjayl#options 	NEW_BUFQ_STRATEGY
391.1Ssanjayl
401.1Ssanjayl# Diagnostic/debugging support options
411.1Ssanjayloptions 	DIAGNOSTIC	# cheap kernel consistency checks
421.1Ssanjayloptions 	DEBUG		# expensive debugging checks/support
431.1Ssanjayloptions 	ZS_CONSOLE_ABORT# allow break to get into DDB on serial
441.1Ssanjayloptions 	DDB		# in-kernel debugger
451.1Ssanjayloptions 	DDB_ONPANIC=1	# don't go into ddb on panic.
461.1Ssanjayloptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
471.1Ssanjayloptions 	TRAP_PANICWAIT
481.1Ssanjayl
491.1Ssanjaylmakeoptions 	DEBUG="-g"	# compile full symbol table
501.1Ssanjayl
511.1Ssanjayl# Compatibility options
521.1Ssanjayloptions 	COMPAT_30	# NetBSD 3.0 compatibility.
531.1Ssanjayloptions 	COMPAT_43	# and 4.3BSD
541.1Ssanjayl#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
551.1Ssanjayl#options 	COMPAT_DARWIN	# Darwin binary compatibility (experimental)
561.1Ssanjayl#options 	COMPAT_MACH	# Mach compatibility, needed for COMPAT_DARWIN 
571.1Ssanjayl#options 	EXEC_MACHO	# Mach-O binary support, needed for COMPAT_MACH
581.3Suwe#options 	DEBUG_DARWIN	# COMPAT_DARWIN debugging
591.3Suwe#options 	DEBUG_MACH	# COMPAT_MACH debugging
601.1Ssanjayl#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
611.3Suweoptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
621.1Ssanjayl
631.1Ssanjayl# File systems
641.1Ssanjaylfile-system 	FFS		# UFS
651.1Ssanjaylfile-system 	MFS		# memory file system
661.1Ssanjaylfile-system 	KERNFS		# /kern
671.1Ssanjaylfile-system 	PROCFS		# /proc
681.1Ssanjaylfile-system 	NFS		# Network File System client
691.1Ssanjayl
701.1Ssanjayl# File system options
711.1Ssanjayloptions 	QUOTA		# UFS quotas
721.1Ssanjayl#options 	FFS_EI		# FFS Endian Independant support
731.1Ssanjayloptions 	SOFTDEP		# FFS soft updates support.
741.3Suwe#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
751.1Ssanjayl#options 	NFSSERVER	# Network File System server
761.1Ssanjayl#options 	FFS_NO_SNAPSHOT	# ffs snapshots
771.1Ssanjayl#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
781.1Ssanjayl				# immutable) behave as system flags.
791.1Ssanjayl#options 	APPLE_UFS	# Apple UFS support in FFS
801.1Ssanjayl# Networking options
811.1Ssanjayl#options 	GATEWAY		# packet forwarding
821.1Ssanjayloptions 	INET		# IP + ICMP + TCP + UDP
831.1Ssanjayl
841.1Ssanjayl# These options enable verbose messages for several subsystems.
851.1Ssanjayl# Warning, these may compile large string tables into the kernel!
861.1Ssanjayloptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
871.1Ssanjayloptions 	MIIVERBOSE	# verbose PHY autoconfig messages
881.1Ssanjayl#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
891.1Ssanjayl
901.1Ssanjayl# wscons options
911.1Ssanjayl#options 	WSEMUL_SUN			# sun terminal emulation
921.1Ssanjayloptions 	WSEMUL_VT100			# VT100 / VT220 emulation
931.1Ssanjayl#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
941.1Ssanjayloptions 	FONT_GALLANT12x22
951.1Ssanjayl
961.1Ssanjayl# Optional Mac keyboard tweaks
971.1Ssanjayl
981.1Ssanjayl# Tweak the keyboard driver to treat the caps lock key on an ADB
991.1Ssanjayl# keyboard as a control key; requires special remapping because of
1001.1Ssanjayl# ADB's strange emulation of a mechanically-locked key.
1011.3Suwe#options 	CAPS_IS_CONTROL
1021.1Ssanjayl
1031.1Ssanjayl# On Mac laptops, several function keys double as "hot keys"
1041.1Ssanjayl# (brightness, volume, eject) when the Fn modifier is held down.  Mac
1051.1Ssanjayl# OS X likes to reprogram the keyboard controller to send hot key
1061.1Ssanjayl# events when Fn is not held down and send function key events when it
1071.1Ssanjayl# is.  This option transforms the non-keyboard "button" events back
1081.1Ssanjayl# into function key events.
1091.3Suwe#options 	FORCE_FUNCTION_KEYS
1101.1Ssanjayl
1111.1Ssanjayl# Kernel root file system and dump configuration.
1121.1Ssanjaylconfig		netbsd	root on ? type ?
1131.1Ssanjayl#config		netbsd	root on gem0 type nfs
1141.1Ssanjayl#options         NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1151.1Ssanjayl
1161.1Ssanjayl#
1171.1Ssanjayl# Device configuration
1181.1Ssanjayl#
1191.1Ssanjayl
1201.1Ssanjaylmainbus* at root
1211.1Ssanjayl
1221.1Ssanjaylcpu*	at mainbus?
1231.1Ssanjaylibmcpc* at mainbus?
1241.1Ssanjayl
1251.1Ssanjaylpci*	at ibmcpc? bus ?
1261.1Ssanjaylpci*	at ppb? bus ?
1271.1Ssanjayl
1281.1Ssanjaylpchb*	at pci? dev ? function ?	# PCI-Host bridges
1291.1Ssanjaylppb*	at pci? dev ? function ?	# PCI-PCI bridges
1301.1Ssanjayl
1311.1Ssanjaylgem*	at pci? dev ? function ?	# gmac ethernet
1321.1Ssanjaylukphy*	at mii? phy ?			# generic unknown PHYs
1331.1Ssanjayl
1341.1Ssanjayl# PCI IEEE1394 controllers
1351.1Ssanjayl#fwohci*	at pci? dev ? function ?	# IEEE1394 Open Host Controller
1361.1Ssanjayl
1371.1Ssanjayl# IEEE1394 nodes
1381.1Ssanjayl#ieee1394if* at fwohci?
1391.1Ssanjayl#fwip*	at ieee1394if?			# IP over IEEE1394
1401.1Ssanjayl#sbp*	at ieee1394if? euihi ? euilo ?
1411.1Ssanjayl#scsibus* at sbp?
1421.1Ssanjayl
1431.1Ssanjayl
1441.1Ssanjayl# PCI USB controllers
1451.1Ssanjaylohci*	at pci? dev ? function ?	# USB Open Host Controller
1461.1Ssanjayl#ehci*	at pci? dev ? function ?	# USB Enhanced Host Controller
1471.1Ssanjayl
1481.1Ssanjaylusb*	at ohci?					# USB bus support
1491.1Ssanjayluhub*	at usb?						# USB Hubs
1501.4Sdrochneruhub*	at uhub? port ?
1511.1Ssanjayluhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
1521.1Ssanjayluhid*	at uhidev? reportid ?				# USB Generic HID
1531.1Ssanjaylukbd*	at uhidev? reportid ?				# USB Keyboards
1541.1Ssanjaylwskbd*	at ukbd? console ?
1551.1Ssanjaylums*	at uhidev? reportid ?				# USB Mice
1561.1Ssanjaylwsmouse* at ums?
1571.1Ssanjayl
1581.1Ssanjayl# Other  PCI devices
1591.1Ssanjayl#ofb*	at pci? dev ? function ?	# Generic Open Firmware Framebuffer
1601.1Ssanjayl# OFB_ENABLE_CACHE speeds up the console on many machines, but should
1611.1Ssanjayl# not be enabled on some older machines, such as the rev. A-D iMacs.
1621.1Ssanjayl#options 	OFB_ENABLE_CACHE	# Speed up console
1631.1Ssanjaylpciide* at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
1641.1Ssanjaylsvwsata* at pci? dev ? function ?		# ServerWorks SATA controllers
1651.1Ssanjaylobio*	at pci? dev ? function ?
1661.1Ssanjaylzsc*	at obio?
1671.1Ssanjaylzstty*	at zsc? channel ?
1681.1Ssanjayl
1691.1Ssanjayl# PCI serial interfaces
1701.1Ssanjaylnvram*	at obio?			# nvram
1711.1Ssanjayl#wsdisplay0 at ofb? console ?
1721.1Ssanjayl
1731.1Ssanjaylatabus* at ata?
1741.1Ssanjaylwd*	at atabus? drive ? flags 0x0000
1751.1Ssanjaylatapibus* at atapi?
1761.1Ssanjaylcd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
1771.1Ssanjaylsd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
1781.1Ssanjayluk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
1791.1Ssanjayl
1801.1Ssanjayl
1811.1Ssanjayl#pseudo-device 	crypto			# opencrypto framework
1821.1Ssanjayl					# (disabled, requires generic softints)
1831.1Ssanjaylpseudo-device	vnd		4	# disk-like interface to files
1841.1Ssanjaylpseudo-device	md		1	# memory disk device
1851.1Ssanjaylpseudo-device	loop			# network loopback
1861.1Ssanjaylpseudo-device	pty			# pseudo-terminals
1871.1Ssanjaylpseudo-device	rnd			# /dev/random and in-kernel generator
1881.1Ssanjaylpseudo-device	openfirm		# /dev/openfirm
1891.1Ssanjaylpseudo-device	wsmux			# mouse and keyboard multiplexor
1901.1Ssanjaylpseudo-device	clockctl		# user control of clock subsystem
1911.1Ssanjaylpseudo-device	ksyms			# /dev/ksyms
1921.1Ssanjaylpseudo-device	nsmb			# SMB requester
1931.1Ssanjayl#pseudo-device	pf			# PF packet filter
1941.1Ssanjayl#pseudo-device	pflog			# PF log if
1951.1Ssanjayl
1961.1Ssanjayl# Enable the hooks used for initializing the ram-disk.
1971.1Ssanjayloptions 	MEMORY_DISK_HOOKS
1981.1Ssanjayloptions 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
1991.1Ssanjayloptions 	MEMORY_DISK_ROOT_SIZE=4096	# 2 Megabytes
200