POWERMAC_G5_11_2 revision 1.13
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.1Smacallanmakeoptions 	DEBUG="-g"	# compile full symbol table
461.1Smacallan
471.1Smacallan# Compatibility options
481.3Smrginclude 	"conf/compat_netbsd30.config"
491.1Smacallan#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
501.1Smacallan
511.1Smacallan# File systems
521.1Smacallanfile-system 	FFS		# UFS
531.1Smacallanfile-system 	MFS		# memory file system
541.1Smacallanfile-system 	KERNFS		# /kern
551.1Smacallanfile-system 	PROCFS		# /proc
561.1Smacallanfile-system 	NFS		# Network File System client
571.1Smacallan
581.1Smacallan# File system options
591.4Smacallan#options 	QUOTA		# legacy UFS quotas
601.4Smacallan#options 	QUOTA2		# new, in-filesystem UFS quotas
611.1Smacallan#options 	FFS_EI		# FFS Endian Independent support
621.1Smacallan#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
631.1Smacallan#options 	NFSSERVER	# Network File System server
641.1Smacallan#options 	FFS_NO_SNAPSHOT	# ffs snapshots
651.1Smacallan#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
661.1Smacallan				# immutable) behave as system flags.
671.1Smacallan#options 	APPLE_UFS	# Apple UFS support in FFS
681.1Smacallan# Networking options
691.1Smacallan#options 	GATEWAY		# packet forwarding
701.1Smacallanoptions 	INET		# IP + ICMP + TCP + UDP
711.1Smacallan
721.1Smacallan# These options enable verbose messages for several subsystems.
731.1Smacallan# Warning, these may compile large string tables into the kernel!
741.1Smacallanoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
751.1Smacallanoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
761.1Smacallan#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
771.1Smacallan
781.1Smacallan# wscons options
791.1Smacallan#options 	WSEMUL_SUN			# sun terminal emulation
801.1Smacallanoptions 	WSEMUL_VT100			# VT100 / VT220 emulation
811.1Smacallanoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
821.1Smacallan#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
831.1Smacallanoptions 	FONT_GALLANT12x22
841.1Smacallan
851.1Smacallan# Kernel root file system and dump configuration.
861.1Smacallanconfig		netbsd	root on ? type ?
871.1Smacallan#config		netbsd	root on gem0 type nfs
881.11Smacallan#options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
891.1Smacallan
901.1Smacallan#
911.1Smacallan# Device configuration
921.1Smacallan#
931.1Smacallan
941.1Smacallanmainbus* at root
951.1Smacallan
961.1Smacallancpu*	at mainbus?
971.11Smacallanoptions 	MULTIPROCESSOR
981.1Smacallanibmcpc* at mainbus?
991.1Smacallanuninorth*	at mainbus?
1001.4Smacallanmemory* at mainbus?
1011.4Smacallanspdmem* at memory? addr ?
1021.4Smacallan
1031.4Smacallanuni_n*	at mainbus?
1041.4Smacallanki2c*	at uni_n?			# Keywest I2C
1051.4Smacallan
1061.4Smacallansmu* 		at mainbus?
1071.4Smacallan#options 	SMU_DEBUG
1081.4Smacallansmuiic* 	at smu?
1091.10Smacallaniic* 		at smuiic?
1101.1Smacallan
1111.1Smacallanpci*	at ibmcpc? bus ?
1121.1Smacallanpci*	at uninorth? bus ?
1131.1Smacallanpci*	at ppb? bus ?
1141.1Smacallan
1151.1Smacallanpchb*	at pci? dev ? function ?	# PCI-Host bridges
1161.1Smacallanppb*	at pci? dev ? function ?	# PCI-PCI bridges
1171.1Smacallan
1181.5Smacallanobio0		at pci? dev ? function ?
1191.5Smacallanzsc*		at obio?
1201.5Smacallanzstty*		at zsc? channel ?
1211.5Smacallan#snapper* 	at obio?
1221.5Smacallanki2c*		at obio?	# Keywest I2C
1231.5Smacallaniic*		at ki2c?
1241.5Smacallan
1251.5Smacallanadmtemp* 	at iic?
1261.6Smacallanlmtemp* 	at iic?
1271.8Smacallandstemp* 	at iic?
1281.10Smacallansmusat* 	at iic?
1291.5Smacallandeq* 		at iic?
1301.5Smacallan
1311.5Smacallan# Audio support
1321.5Smacallan#audio*	at audiobus?
1331.5Smacallan
1341.5Smacallan#spkr*	at audio?		# PC speaker (synthesized)
1351.5Smacallan#wsbell* at spkr?
1361.5Smacallan
1371.1Smacallanbge*	at pci? dev ? function ?	# gmac ethernet
1381.4Smacallanbrgphy*	at mii? phy ?			# Broadcom BCM5400 PHYs
1391.1Smacallanukphy*	at mii? phy ?			# generic unknown PHYs
1401.1Smacallan
1411.1Smacallan# PCI USB controllers
1421.1Smacallanohci*	at pci? dev ? function ?	# USB Open Host Controller
1431.1Smacallanehci*	at pci? dev ? function ?	# USB Enhanced Host Controller
1441.1Smacallan
1451.1Smacallanusb*	at ohci?					# USB bus support
1461.1Smacallanuhub*	at usb?						# USB Hubs
1471.1Smacallanuhub*	at uhub? port ?
1481.1Smacallanuhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
1491.1Smacallanuhid*	at uhidev? reportid ?				# USB Generic HID
1501.1Smacallanukbd*	at uhidev? reportid ?				# USB Keyboards
1511.1Smacallanwskbd*	at ukbd? console ?
1521.1Smacallanums*	at uhidev? reportid ?				# USB Mice
1531.1Smacallanwsmouse* at ums?
1541.1Smacallan
1551.1Smacallangenfb*	at pci? dev ? function ?
1561.4Smacallanwdc* 	at pci? dev ? function ?		# Kauai ATA
1571.12Smacallansvwsata* at pci? dev ? function ?		# ServerWorks SATA controllers
1581.4Smacallanobio*	at pci? dev ? function ?
1591.4Smacallanzsc*	at obio?
1601.4Smacallanzstty*	at zsc? channel ?
1611.4Smacallan
1621.4Smacallanwsdisplay0	at wsemuldisplaydev? console 1
1631.4Smacallanwsdisplay*	at wsemuldisplaydev?
1641.4Smacallan
1651.4Smacallanatabus* at ata?
1661.4Smacallanwd*	at atabus? drive ? flags 0x0000
1671.4Smacallanatapibus* at atapi?
1681.4Smacallancd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
1691.4Smacallansd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
1701.4Smacallanuk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
1711.1Smacallan
1721.1Smacallan#pseudo-device 	crypto			# opencrypto framework
1731.1Smacallan					# (disabled, requires generic softints)
1741.1Smacallanpseudo-device	vnd		4	# disk-like interface to files
1751.1Smacallanpseudo-device	md			# memory disk device
1761.1Smacallanpseudo-device	loop			# network loopback
1771.1Smacallanpseudo-device	pty			# pseudo-terminals
1781.1Smacallanpseudo-device	openfirm		# /dev/openfirm
1791.1Smacallanpseudo-device	wsmux			# mouse and keyboard multiplexor
1801.1Smacallanpseudo-device	clockctl		# user control of clock subsystem
1811.1Smacallanpseudo-device	ksyms			# /dev/ksyms
1821.1Smacallanpseudo-device	nsmb			# SMB requester
1831.1Smacallanpseudo-device   bpfilter        8       # Berkeley packet filter
1841.13Smaxv#pseudo-device	npf			# NPF packet filter
1851.1Smacallan
1861.1Smacallanoptions		OFWOEA_WSCONS_NO_ROM_FONT
1871.1Smacallanoptions		EXSTORAGE_MAX=24
1881.1Smacallan
1891.1Smacallan# Enable the hooks used for initializing the ram-disk.
1901.4Smacallan#options 	MEMORY_DISK_HOOKS
1911.4Smacallan#options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
1921.4Smacallan#options 	MEMORY_DISK_ROOT_SIZE=5000	# 25000 KiB
1931.4Smacallan#options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
1941.4Smacallan#options		MEMORY_DISK_SERVER=1
195