POWERMAC_G5_11_2 revision 1.1
11.1Smacallan# Lean and mean config file for the POWERMAC G5
21.1Smacallan# Author: Sanjay Lal <sanjayl@kymasys.com>
31.1Smacallan
41.1Smacallaninclude		"arch/macppc/conf/std.macppc.g5"
51.1Smacallan
61.1Smacallanoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
71.1Smacallanmaxusers	32
81.1Smacallan
91.1Smacallanoptions 	PMAC_G5
101.1Smacallanoptions 	ALTIVEC		# Include AltiVec support
111.1Smacallan
121.1Smacallan# Standard system options
131.1Smacallanoptions 	INSECURE	# disable kernel security levels
141.1Smacallan
151.1Smacallanoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
161.1Smacallanoptions 	NTP		# NTP phase/frequency locked loop
171.1Smacallanoptions 	KTRACE		# system call tracing via ktrace(1)
181.1Smacallan
191.1Smacallanoptions 	SYSVMSG		# System V message queues
201.1Smacallanoptions 	SYSVSEM		# System V semaphores
211.1Smacallan#options 	SEMMNI=10	# number of semaphore identifiers
221.1Smacallan#options 	SEMMNS=60	# number of semaphores in system
231.1Smacallan#options 	SEMUME=10	# max number of undo entries per process
241.1Smacallan#options 	SEMMNU=30	# number of undo structures in system
251.1Smacallanoptions 	SYSVSHM		# System V shared memory
261.1Smacallan
271.1Smacallanoptions 	USERCONF	# userconf(4) support
281.1Smacallan#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
291.1Smacallanoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
301.1Smacallan
311.1Smacallan# Enable experimental buffer queue strategy for better responsiveness under
321.1Smacallan# high disk I/O load. Use it with caution - it's not proven to be stable yet.
331.1Smacallan#options 	NEW_BUFQ_STRATEGY
341.1Smacallan
351.1Smacallan# Diagnostic/debugging support options
361.1Smacallanoptions 	DIAGNOSTIC	# cheap kernel consistency checks
371.1Smacallanoptions 	DEBUG		# expensive debugging checks/support
381.1Smacallanoptions 	ZS_CONSOLE_ABORT# allow break to get into DDB on serial
391.1Smacallanoptions 	DDB		# in-kernel debugger
401.1Smacallanoptions 	DDB_ONPANIC=1	# don't go into ddb on panic.
411.1Smacallanoptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
421.1Smacallanoptions 	TRAP_PANICWAIT
431.1Smacallan
441.1Smacallanmakeoptions 	DEBUG="-g"	# compile full symbol table
451.1Smacallan
461.1Smacallan# Compatibility options
471.1Smacallanoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
481.1Smacallanoptions 	COMPAT_40	# NetBSD 4.0 compatibility.
491.1Smacallanoptions 	COMPAT_43	# and 4.3BSD
501.1Smacallan#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
511.1Smacallan#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
521.1Smacallanoptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
531.1Smacallan
541.1Smacallan# File systems
551.1Smacallanfile-system 	FFS		# UFS
561.1Smacallanfile-system 	MFS		# memory file system
571.1Smacallanfile-system 	KERNFS		# /kern
581.1Smacallanfile-system 	PROCFS		# /proc
591.1Smacallanfile-system 	NFS		# Network File System client
601.1Smacallan
611.1Smacallan# File system options
621.1Smacallanoptions 	QUOTA		# legacy UFS quotas
631.1Smacallanoptions 	QUOTA2		# new, in-filesystem UFS quotas
641.1Smacallan#options 	FFS_EI		# FFS Endian Independent support
651.1Smacallan#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
661.1Smacallan#options 	NFSSERVER	# Network File System server
671.1Smacallan#options 	FFS_NO_SNAPSHOT	# ffs snapshots
681.1Smacallan#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
691.1Smacallan				# immutable) behave as system flags.
701.1Smacallan#options 	APPLE_UFS	# Apple UFS support in FFS
711.1Smacallan# Networking options
721.1Smacallan#options 	GATEWAY		# packet forwarding
731.1Smacallanoptions 	INET		# IP + ICMP + TCP + UDP
741.1Smacallan
751.1Smacallan# These options enable verbose messages for several subsystems.
761.1Smacallan# Warning, these may compile large string tables into the kernel!
771.1Smacallanoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
781.1Smacallanoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
791.1Smacallan#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
801.1Smacallan
811.1Smacallan# wscons options
821.1Smacallan#options 	WSEMUL_SUN			# sun terminal emulation
831.1Smacallanoptions 	WSEMUL_VT100			# VT100 / VT220 emulation
841.1Smacallanoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
851.1Smacallan#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
861.1Smacallanoptions 	FONT_GALLANT12x22
871.1Smacallan
881.1Smacallan# Optional Mac keyboard tweaks
891.1Smacallan
901.1Smacallan# Tweak the keyboard driver to treat the caps lock key on an ADB
911.1Smacallan# keyboard as a control key; requires special remapping because of
921.1Smacallan# ADB's strange emulation of a mechanically-locked key.
931.1Smacallan#options 	CAPS_IS_CONTROL
941.1Smacallan
951.1Smacallan# On Mac laptops, several function keys double as "hot keys"
961.1Smacallan# (brightness, volume, eject) when the Fn modifier is held down.  Mac
971.1Smacallan# OS X likes to reprogram the keyboard controller to send hot key
981.1Smacallan# events when Fn is not held down and send function key events when it
991.1Smacallan# is.  This option transforms the non-keyboard "button" events back
1001.1Smacallan# into function key events.
1011.1Smacallan#options 	FORCE_FUNCTION_KEYS
1021.1Smacallan
1031.1Smacallan# Kernel root file system and dump configuration.
1041.1Smacallanconfig		netbsd	root on ? type ?
1051.1Smacallan#config		netbsd	root on gem0 type nfs
1061.1Smacallan#options         NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1071.1Smacallan
1081.1Smacallan#
1091.1Smacallan# Device configuration
1101.1Smacallan#
1111.1Smacallan
1121.1Smacallanmainbus* at root
1131.1Smacallan
1141.1Smacallancpu*	at mainbus?
1151.1Smacallanibmcpc* at mainbus?
1161.1Smacallanuninorth*	at mainbus?
1171.1Smacallan
1181.1Smacallanpci*	at ibmcpc? bus ?
1191.1Smacallanpci*	at uninorth? bus ?
1201.1Smacallanpci*	at ppb? bus ?
1211.1Smacallan
1221.1Smacallanpchb*	at pci? dev ? function ?	# PCI-Host bridges
1231.1Smacallanppb*	at pci? dev ? function ?	# PCI-PCI bridges
1241.1Smacallan
1251.1Smacallanbge*	at pci? dev ? function ?	# gmac ethernet
1261.1Smacallanukphy*	at mii? phy ?			# generic unknown PHYs
1271.1Smacallan
1281.1Smacallan# PCI USB controllers
1291.1Smacallanohci*	at pci? dev ? function ?	# USB Open Host Controller
1301.1Smacallanehci*	at pci? dev ? function ?	# USB Enhanced Host Controller
1311.1Smacallan
1321.1Smacallanusb*	at ohci?					# USB bus support
1331.1Smacallanuhub*	at usb?						# USB Hubs
1341.1Smacallanuhub*	at uhub? port ?
1351.1Smacallanuhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
1361.1Smacallanuhid*	at uhidev? reportid ?				# USB Generic HID
1371.1Smacallanukbd*	at uhidev? reportid ?				# USB Keyboards
1381.1Smacallanwskbd*	at ukbd? console ?
1391.1Smacallanums*	at uhidev? reportid ?				# USB Mice
1401.1Smacallanwsmouse* at ums?
1411.1Smacallan
1421.1Smacallangenfb*	at pci? dev ? function ?
1431.1Smacallanwsdisplay*	at genfb? console ?
1441.1Smacallan
1451.1Smacallan#pseudo-device 	crypto			# opencrypto framework
1461.1Smacallan					# (disabled, requires generic softints)
1471.1Smacallanpseudo-device	vnd		4	# disk-like interface to files
1481.1Smacallanpseudo-device	md			# memory disk device
1491.1Smacallanpseudo-device	loop			# network loopback
1501.1Smacallanpseudo-device	pty			# pseudo-terminals
1511.1Smacallanpseudo-device	openfirm		# /dev/openfirm
1521.1Smacallanpseudo-device	wsmux			# mouse and keyboard multiplexor
1531.1Smacallanpseudo-device	clockctl		# user control of clock subsystem
1541.1Smacallanpseudo-device	ksyms			# /dev/ksyms
1551.1Smacallanpseudo-device	nsmb			# SMB requester
1561.1Smacallanpseudo-device   bpfilter        8       # Berkeley packet filter
1571.1Smacallan#pseudo-device	pf			# PF packet filter
1581.1Smacallan#pseudo-device	pflog			# PF log if
1591.1Smacallan
1601.1Smacallanoptions		OFWOEA_WSCONS_NO_ROM_FONT
1611.1Smacallanoptions		EXSTORAGE_MAX=24
1621.1Smacallan
1631.1Smacallan# Enable the hooks used for initializing the ram-disk.
1641.1Smacallanoptions 	MEMORY_DISK_HOOKS
1651.1Smacallanoptions 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
1661.1Smacallanoptions 	MEMORY_DISK_ROOT_SIZE=5000	# 25000 KiB
1671.1Smacallanoptions 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
1681.1Smacallanoptions		MEMORY_DISK_SERVER=1
169