POWERMAC_G5_11_2 revision 1.25
11.1Smacallan# Lean and mean config file for the POWERMAC G5
21.1Smacallan# Author: Sanjay Lal <sanjayl@kymasys.com>
31.1Smacallan
41.3Smrginclude 	"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.25Srinoptions 	MODULAR		# new style module(7) framework
281.25Srinoptions 	MODULAR_DEFAULT_AUTOLOAD
291.25Srin
301.1Smacallanoptions 	USERCONF	# userconf(4) support
311.1Smacallan#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
321.1Smacallanoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
331.1Smacallan
341.7Ssevan# Alternate buffer queue strategies for better responsiveness under high
351.7Ssevan# disk I/O load.
361.9Ssevan#options 	BUFQ_READPRIO
371.9Ssevanoptions 	BUFQ_PRIOCSCAN
381.1Smacallan
391.1Smacallan# Diagnostic/debugging support options
401.1Smacallanoptions 	DIAGNOSTIC	# cheap kernel consistency checks
411.1Smacallanoptions 	DEBUG		# expensive debugging checks/support
421.1Smacallanoptions 	ZS_CONSOLE_ABORT# allow break to get into DDB on serial
431.1Smacallanoptions 	DDB		# in-kernel debugger
441.1Smacallanoptions 	DDB_ONPANIC=1	# don't go into ddb on panic.
451.1Smacallanoptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
461.1Smacallanoptions 	TRAP_PANICWAIT
471.1Smacallan
481.20Srinmakeoptions 	COPY_SYMTAB=1	# in case of directly booted from ofw
491.1Smacallanmakeoptions 	DEBUG="-g"	# compile full symbol table
501.1Smacallan
511.1Smacallan# Compatibility options
521.3Smrginclude 	"conf/compat_netbsd30.config"
531.1Smacallan#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
541.1Smacallan
551.1Smacallan# File systems
561.25Srininclude "conf/filesystems.config"
571.1Smacallan
581.1Smacallan# File system options
591.22Ssimonb#options 	APPLE_UFS	# Apple UFS support in FFS
601.22Ssimonb#options 	FFS_EI		# FFS Endian Independent support
611.22Ssimonb#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
621.4Smacallan#options 	QUOTA		# legacy UFS quotas
631.4Smacallan#options 	QUOTA2		# new, in-filesystem UFS quotas
641.22Ssimonboptions 	UFS_DIRHASH	# UFS Large Directory Hashing
651.22Ssimonb#options 	UFS_EXTATTR	# Extended attribute support for UFS1
661.18Srinoptions 	WAPBL		# File system journaling support
671.22Ssimonb#options 	NFSSERVER	# Network File System server
681.22Ssimonb
691.1Smacallan# Networking options
701.1Smacallan#options 	GATEWAY		# packet forwarding
711.1Smacallanoptions 	INET		# IP + ICMP + TCP + UDP
721.18Srinoptions 	INET6		# IPV6
731.1Smacallan
741.1Smacallan# These options enable verbose messages for several subsystems.
751.1Smacallan# Warning, these may compile large string tables into the kernel!
761.1Smacallanoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
771.1Smacallanoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
781.1Smacallan#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
791.1Smacallan
801.1Smacallan# wscons options
811.1Smacallan#options 	WSEMUL_SUN			# sun terminal emulation
821.1Smacallanoptions 	WSEMUL_VT100			# VT100 / VT220 emulation
831.1Smacallanoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
841.19Srin
851.19Srinoptions 	WS_DEFAULT_FG=WSCOL_BLACK
861.19Srinoptions 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
871.19Srinoptions 	WS_KERNEL_FG=WSCOL_GREEN
881.19Srinoptions 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
891.19Srin
901.1Smacallan#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
911.1Smacallanoptions 	FONT_GALLANT12x22
921.1Smacallan
931.1Smacallan# Kernel root file system and dump configuration.
941.1Smacallanconfig		netbsd	root on ? type ?
951.1Smacallan#config		netbsd	root on gem0 type nfs
961.18Srinoptions 	NFS_BOOT_DHCP
971.18Srin#options 	NFS_BOOT_BOOTPARAM
981.1Smacallan
991.1Smacallan#
1001.1Smacallan# Device configuration
1011.1Smacallan#
1021.1Smacallan
1031.1Smacallanmainbus* at root
1041.1Smacallan
1051.1Smacallancpu*	at mainbus?
1061.11Smacallanoptions 	MULTIPROCESSOR
1071.1Smacallanibmcpc* at mainbus?
1081.1Smacallanuninorth*	at mainbus?
1091.4Smacallanmemory* at mainbus?
1101.4Smacallanspdmem* at memory? addr ?
1111.4Smacallan
1121.4Smacallanuni_n*	at mainbus?
1131.4Smacallanki2c*	at uni_n?			# Keywest I2C
1141.4Smacallan
1151.4Smacallansmu* 		at mainbus?
1161.4Smacallan#options 	SMU_DEBUG
1171.4Smacallansmuiic* 	at smu?
1181.10Smacallaniic* 		at smuiic?
1191.1Smacallan
1201.1Smacallanpci*	at ibmcpc? bus ?
1211.1Smacallanpci*	at uninorth? bus ?
1221.1Smacallanpci*	at ppb? bus ?
1231.1Smacallan
1241.1Smacallanpchb*	at pci? dev ? function ?	# PCI-Host bridges
1251.1Smacallanppb*	at pci? dev ? function ?	# PCI-PCI bridges
1261.1Smacallan
1271.5Smacallanobio0		at pci? dev ? function ?
1281.5Smacallanzsc*		at obio?
1291.5Smacallanzstty*		at zsc? channel ?
1301.17Srinsnapper* 	at obio?
1311.5Smacallanki2c*		at obio?	# Keywest I2C
1321.5Smacallaniic*		at ki2c?
1331.5Smacallan
1341.5Smacallanadmtemp* 	at iic?
1351.6Smacallanlmtemp* 	at iic?
1361.8Smacallandstemp* 	at iic?
1371.10Smacallansmusat* 	at iic?
1381.5Smacallandeq* 		at iic?
1391.5Smacallan
1401.5Smacallan# Audio support
1411.17Srinaudio*	at audiobus?
1421.5Smacallan
1431.17Srinspkr*	at audio?		# PC speaker (synthesized)
1441.17Srinwsbell* at spkr?
1451.5Smacallan
1461.1Smacallanbge*	at pci? dev ? function ?	# gmac ethernet
1471.4Smacallanbrgphy*	at mii? phy ?			# Broadcom BCM5400 PHYs
1481.1Smacallanukphy*	at mii? phy ?			# generic unknown PHYs
1491.1Smacallan
1501.1Smacallan# PCI USB controllers
1511.1Smacallanohci*	at pci? dev ? function ?	# USB Open Host Controller
1521.1Smacallanehci*	at pci? dev ? function ?	# USB Enhanced Host Controller
1531.23Smacallan# No G5 ships with USB 3.0 but xhci 1.0 cards have been confirmed working
1541.23Smacallan# in PCIe models
1551.23Smacallanxhci*	at pci? dev ? function ?	# USB 3.0
1561.1Smacallan
1571.1Smacallanusb*	at ohci?					# USB bus support
1581.14Smacallanusb*	at ehci?					# USB bus support
1591.23Smacallanusb*	at xhci?					# USB bus support
1601.1Smacallanuhub*	at usb?						# USB Hubs
1611.1Smacallanuhub*	at uhub? port ?
1621.1Smacallanuhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
1631.1Smacallanuhid*	at uhidev? reportid ?				# USB Generic HID
1641.1Smacallanukbd*	at uhidev? reportid ?				# USB Keyboards
1651.1Smacallanwskbd*	at ukbd? console ?
1661.1Smacallanums*	at uhidev? reportid ?				# USB Mice
1671.1Smacallanwsmouse* at ums?
1681.1Smacallan
1691.1Smacallangenfb*	at pci? dev ? function ?
1701.4Smacallanwdc* 	at pci? dev ? function ?		# Kauai ATA
1711.12Smacallansvwsata* at pci? dev ? function ?		# ServerWorks SATA controllers
1721.4Smacallanobio*	at pci? dev ? function ?
1731.4Smacallanzsc*	at obio?
1741.4Smacallanzstty*	at zsc? channel ?
1751.4Smacallan
1761.4Smacallanwsdisplay0	at wsemuldisplaydev? console 1
1771.4Smacallanwsdisplay*	at wsemuldisplaydev?
1781.4Smacallan
1791.4Smacallanatabus* at ata?
1801.4Smacallanwd*	at atabus? drive ? flags 0x0000
1811.4Smacallanatapibus* at atapi?
1821.4Smacallancd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
1831.4Smacallansd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
1841.4Smacallanuk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
1851.1Smacallan
1861.21Smartinpseudo-device 	crypto			# /dev/crypto device
1871.21Smartinpseudo-device	swcrypto		# software crypto implementation
1881.1Smacallanpseudo-device	vnd		4	# disk-like interface to files
1891.1Smacallanpseudo-device	md			# memory disk device
1901.1Smacallanpseudo-device	loop			# network loopback
1911.1Smacallanpseudo-device	pty			# pseudo-terminals
1921.1Smacallanpseudo-device	openfirm		# /dev/openfirm
1931.1Smacallanpseudo-device	wsmux			# mouse and keyboard multiplexor
1941.1Smacallanpseudo-device	clockctl		# user control of clock subsystem
1951.1Smacallanpseudo-device	ksyms			# /dev/ksyms
1961.1Smacallanpseudo-device   bpfilter        8       # Berkeley packet filter
1971.13Smaxv#pseudo-device	npf			# NPF packet filter
1981.1Smacallan
1991.1Smacallanoptions		EXSTORAGE_MAX=24
2001.1Smacallan
2011.1Smacallan# Enable the hooks used for initializing the ram-disk.
2021.4Smacallan#options 	MEMORY_DISK_HOOKS
2031.4Smacallan#options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
2041.4Smacallan#options 	MEMORY_DISK_ROOT_SIZE=5000	# 25000 KiB
2051.4Smacallan#options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
2061.4Smacallan#options		MEMORY_DISK_SERVER=1
207