POWERMAC_G5_11_2 revision 1.23
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.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.7Ssevan# Alternate buffer queue strategies for better responsiveness under high
321.7Ssevan# disk I/O load.
331.9Ssevan#options 	BUFQ_READPRIO
341.9Ssevanoptions 	BUFQ_PRIOCSCAN
351.1Smacallan
361.1Smacallan# Diagnostic/debugging support options
371.1Smacallanoptions 	DIAGNOSTIC	# cheap kernel consistency checks
381.1Smacallanoptions 	DEBUG		# expensive debugging checks/support
391.1Smacallanoptions 	ZS_CONSOLE_ABORT# allow break to get into DDB on serial
401.1Smacallanoptions 	DDB		# in-kernel debugger
411.1Smacallanoptions 	DDB_ONPANIC=1	# don't go into ddb on panic.
421.1Smacallanoptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
431.1Smacallanoptions 	TRAP_PANICWAIT
441.1Smacallan
451.20Srinmakeoptions 	COPY_SYMTAB=1	# in case of directly booted from ofw
461.1Smacallanmakeoptions 	DEBUG="-g"	# compile full symbol table
471.1Smacallan
481.1Smacallan# Compatibility options
491.3Smrginclude 	"conf/compat_netbsd30.config"
501.1Smacallan#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
511.1Smacallan
521.1Smacallan# File systems
531.1Smacallanfile-system 	FFS		# UFS
541.1Smacallanfile-system 	MFS		# memory file system
551.18Srinfile-system	TMPFS		# Efficient memory file-system
561.1Smacallanfile-system 	KERNFS		# /kern
571.1Smacallanfile-system 	PROCFS		# /proc
581.1Smacallanfile-system 	NFS		# Network File System client
591.18Srinfile-system	PTYFS		# /dev/pts/N support
601.1Smacallan
611.1Smacallan# File system options
621.22Ssimonb#options 	APPLE_UFS	# Apple UFS support in FFS
631.22Ssimonb#options 	FFS_EI		# FFS Endian Independent support
641.22Ssimonb#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
651.4Smacallan#options 	QUOTA		# legacy UFS quotas
661.4Smacallan#options 	QUOTA2		# new, in-filesystem UFS quotas
671.22Ssimonboptions 	UFS_DIRHASH	# UFS Large Directory Hashing
681.22Ssimonb#options 	UFS_EXTATTR	# Extended attribute support for UFS1
691.18Srinoptions 	WAPBL		# File system journaling support
701.1Smacallan#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
711.1Smacallan				# immutable) behave as system flags.
721.22Ssimonb#options 	NFSSERVER	# Network File System server
731.22Ssimonb
741.1Smacallan# Networking options
751.1Smacallan#options 	GATEWAY		# packet forwarding
761.1Smacallanoptions 	INET		# IP + ICMP + TCP + UDP
771.18Srinoptions 	INET6		# IPV6
781.1Smacallan
791.1Smacallan# These options enable verbose messages for several subsystems.
801.1Smacallan# Warning, these may compile large string tables into the kernel!
811.1Smacallanoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
821.1Smacallanoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
831.1Smacallan#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
841.1Smacallan
851.1Smacallan# wscons options
861.1Smacallan#options 	WSEMUL_SUN			# sun terminal emulation
871.1Smacallanoptions 	WSEMUL_VT100			# VT100 / VT220 emulation
881.1Smacallanoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
891.19Srin
901.19Srinoptions 	WS_DEFAULT_FG=WSCOL_BLACK
911.19Srinoptions 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
921.19Srinoptions 	WS_KERNEL_FG=WSCOL_GREEN
931.19Srinoptions 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
941.19Srin
951.1Smacallan#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
961.1Smacallanoptions 	FONT_GALLANT12x22
971.1Smacallan
981.1Smacallan# Kernel root file system and dump configuration.
991.1Smacallanconfig		netbsd	root on ? type ?
1001.1Smacallan#config		netbsd	root on gem0 type nfs
1011.18Srinoptions 	NFS_BOOT_DHCP
1021.18Srin#options 	NFS_BOOT_BOOTPARAM
1031.1Smacallan
1041.1Smacallan#
1051.1Smacallan# Device configuration
1061.1Smacallan#
1071.1Smacallan
1081.1Smacallanmainbus* at root
1091.1Smacallan
1101.1Smacallancpu*	at mainbus?
1111.11Smacallanoptions 	MULTIPROCESSOR
1121.1Smacallanibmcpc* at mainbus?
1131.1Smacallanuninorth*	at mainbus?
1141.4Smacallanmemory* at mainbus?
1151.4Smacallanspdmem* at memory? addr ?
1161.4Smacallan
1171.4Smacallanuni_n*	at mainbus?
1181.4Smacallanki2c*	at uni_n?			# Keywest I2C
1191.4Smacallan
1201.4Smacallansmu* 		at mainbus?
1211.4Smacallan#options 	SMU_DEBUG
1221.4Smacallansmuiic* 	at smu?
1231.10Smacallaniic* 		at smuiic?
1241.1Smacallan
1251.1Smacallanpci*	at ibmcpc? bus ?
1261.1Smacallanpci*	at uninorth? bus ?
1271.1Smacallanpci*	at ppb? bus ?
1281.1Smacallan
1291.1Smacallanpchb*	at pci? dev ? function ?	# PCI-Host bridges
1301.1Smacallanppb*	at pci? dev ? function ?	# PCI-PCI bridges
1311.1Smacallan
1321.5Smacallanobio0		at pci? dev ? function ?
1331.5Smacallanzsc*		at obio?
1341.5Smacallanzstty*		at zsc? channel ?
1351.17Srinsnapper* 	at obio?
1361.5Smacallanki2c*		at obio?	# Keywest I2C
1371.5Smacallaniic*		at ki2c?
1381.5Smacallan
1391.5Smacallanadmtemp* 	at iic?
1401.6Smacallanlmtemp* 	at iic?
1411.8Smacallandstemp* 	at iic?
1421.10Smacallansmusat* 	at iic?
1431.5Smacallandeq* 		at iic?
1441.5Smacallan
1451.5Smacallan# Audio support
1461.17Srinaudio*	at audiobus?
1471.5Smacallan
1481.17Srinspkr*	at audio?		# PC speaker (synthesized)
1491.17Srinwsbell* at spkr?
1501.5Smacallan
1511.1Smacallanbge*	at pci? dev ? function ?	# gmac ethernet
1521.4Smacallanbrgphy*	at mii? phy ?			# Broadcom BCM5400 PHYs
1531.1Smacallanukphy*	at mii? phy ?			# generic unknown PHYs
1541.1Smacallan
1551.1Smacallan# PCI USB controllers
1561.1Smacallanohci*	at pci? dev ? function ?	# USB Open Host Controller
1571.1Smacallanehci*	at pci? dev ? function ?	# USB Enhanced Host Controller
1581.23Smacallan# No G5 ships with USB 3.0 but xhci 1.0 cards have been confirmed working
1591.23Smacallan# in PCIe models
1601.23Smacallanxhci*	at pci? dev ? function ?	# USB 3.0
1611.1Smacallan
1621.1Smacallanusb*	at ohci?					# USB bus support
1631.14Smacallanusb*	at ehci?					# USB bus support
1641.23Smacallanusb*	at xhci?					# USB bus support
1651.1Smacallanuhub*	at usb?						# USB Hubs
1661.1Smacallanuhub*	at uhub? port ?
1671.1Smacallanuhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
1681.1Smacallanuhid*	at uhidev? reportid ?				# USB Generic HID
1691.1Smacallanukbd*	at uhidev? reportid ?				# USB Keyboards
1701.1Smacallanwskbd*	at ukbd? console ?
1711.1Smacallanums*	at uhidev? reportid ?				# USB Mice
1721.1Smacallanwsmouse* at ums?
1731.1Smacallan
1741.1Smacallangenfb*	at pci? dev ? function ?
1751.4Smacallanwdc* 	at pci? dev ? function ?		# Kauai ATA
1761.12Smacallansvwsata* at pci? dev ? function ?		# ServerWorks SATA controllers
1771.4Smacallanobio*	at pci? dev ? function ?
1781.4Smacallanzsc*	at obio?
1791.4Smacallanzstty*	at zsc? channel ?
1801.4Smacallan
1811.4Smacallanwsdisplay0	at wsemuldisplaydev? console 1
1821.4Smacallanwsdisplay*	at wsemuldisplaydev?
1831.4Smacallan
1841.4Smacallanatabus* at ata?
1851.4Smacallanwd*	at atabus? drive ? flags 0x0000
1861.4Smacallanatapibus* at atapi?
1871.4Smacallancd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
1881.4Smacallansd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
1891.4Smacallanuk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
1901.1Smacallan
1911.21Smartinpseudo-device 	crypto			# /dev/crypto device
1921.21Smartinpseudo-device	swcrypto		# software crypto implementation
1931.1Smacallanpseudo-device	vnd		4	# disk-like interface to files
1941.1Smacallanpseudo-device	md			# memory disk device
1951.1Smacallanpseudo-device	loop			# network loopback
1961.1Smacallanpseudo-device	pty			# pseudo-terminals
1971.1Smacallanpseudo-device	openfirm		# /dev/openfirm
1981.1Smacallanpseudo-device	wsmux			# mouse and keyboard multiplexor
1991.1Smacallanpseudo-device	clockctl		# user control of clock subsystem
2001.1Smacallanpseudo-device	ksyms			# /dev/ksyms
2011.1Smacallanpseudo-device   bpfilter        8       # Berkeley packet filter
2021.13Smaxv#pseudo-device	npf			# NPF packet filter
2031.1Smacallan
2041.1Smacallanoptions		EXSTORAGE_MAX=24
2051.1Smacallan
2061.1Smacallan# Enable the hooks used for initializing the ram-disk.
2071.4Smacallan#options 	MEMORY_DISK_HOOKS
2081.4Smacallan#options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
2091.4Smacallan#options 	MEMORY_DISK_ROOT_SIZE=5000	# 25000 KiB
2101.4Smacallan#options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
2111.4Smacallan#options		MEMORY_DISK_SERVER=1
212