POWERMAC_G5 revision 1.33
11.1Ssanjayl# Lean and mean config file for the POWERMAC G5
21.1Ssanjayl# Author: Sanjay Lal <sanjayl@kymasys.com>
31.1Ssanjayl
41.32Smacallaninclude		"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.32Smacallan#options 	OFWOEA_DEBUG
111.32Smacallan#no makeoptions	MACHINE_ARCH
121.32Smacallan#makeoptions	MACHINE_ARCH="powerpc64"
131.32Smacallan
141.1Ssanjayloptions 	ALTIVEC		# Include AltiVec support
151.33Ssevanoptions 	EXSTORAGE_MAX=64
161.32Smacallan#options 	MULTIPROCESSOR
171.1Ssanjayl
181.1Ssanjayl# Standard system options
191.1Ssanjayloptions 	INSECURE	# disable kernel security levels
201.1Ssanjayl
211.1Ssanjayloptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
221.1Ssanjayloptions 	NTP		# NTP phase/frequency locked loop
231.1Ssanjayloptions 	KTRACE		# system call tracing via ktrace(1)
241.1Ssanjayl
251.1Ssanjayloptions 	SYSVMSG		# System V message queues
261.1Ssanjayloptions 	SYSVSEM		# System V semaphores
271.1Ssanjayl#options 	SEMMNI=10	# number of semaphore identifiers
281.1Ssanjayl#options 	SEMMNS=60	# number of semaphores in system
291.1Ssanjayl#options 	SEMUME=10	# max number of undo entries per process
301.1Ssanjayl#options 	SEMMNU=30	# number of undo structures in system
311.1Ssanjayloptions 	SYSVSHM		# System V shared memory
321.32Smacallan#options 	SHMMAXPGS=1024	# 1024 pages is the default
331.32Smacallan
341.32Smacallanoptions 	MODULAR		# loadable kernel modules
351.1Ssanjayl
361.1Ssanjayloptions 	USERCONF	# userconf(4) support
371.1Ssanjayl#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
381.1Ssanjayloptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
391.1Ssanjayl
401.33Ssevan# Alternate buffer queue strategies for better responsiveness under high
411.33Ssevan# disk I/O load.
421.33Ssevan#options 	BUFQ_READPRIO
431.33Ssevanoptions 	BUFQ_PRIOCSCAN
441.1Ssanjayl
451.1Ssanjayl# Diagnostic/debugging support options
461.1Ssanjayloptions 	DIAGNOSTIC	# cheap kernel consistency checks
471.32Smacallan#options 	DEBUG		# expensive debugging checks/support
481.1Ssanjayloptions 	ZS_CONSOLE_ABORT# allow break to get into DDB on serial
491.1Ssanjayloptions 	DDB		# in-kernel debugger
501.1Ssanjayloptions 	DDB_ONPANIC=1	# don't go into ddb on panic.
511.1Ssanjayloptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
521.1Ssanjayloptions 	TRAP_PANICWAIT
531.33Ssevan#options 	DDB_COMMANDONENTER="bt"
541.1Ssanjayl
551.1Ssanjaylmakeoptions 	DEBUG="-g"	# compile full symbol table
561.1Ssanjayl
571.1Ssanjayl# Compatibility options
581.32Smacallaninclude 	"conf/compat_netbsd70.config"
591.32Smacallan#options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
601.1Ssanjayl
611.1Ssanjayl# File systems
621.1Ssanjaylfile-system 	FFS		# UFS
631.33Ssevanfile-system 	MFS		# memory file system
641.32Smacallanfile-system 	TMPFS		# memory file system
651.1Ssanjaylfile-system 	KERNFS		# /kern
661.1Ssanjaylfile-system 	PROCFS		# /proc
671.1Ssanjaylfile-system 	NFS		# Network File System client
681.32Smacallan#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
691.32Smacallan#file-system 	MSDOSFS		# MS-DOS file system
701.32Smacallanfile-system	PTYFS		# /dev/pts/N support
711.33Ssevan#file-system	HFS		# experimental - Apple HFS+ (read-only)
721.1Ssanjayl
731.1Ssanjayl# File system options
741.33Ssevan#options 	QUOTA		# legacy UFS quotas
751.33Ssevan#options 	QUOTA2		# new, in-filesystem UFS quotas
761.32Smacallan#options 	FFS_EI		# FFS Endian Independant support
771.33Ssevan#options 	WAPBL		# File system journaling support
781.3Suwe#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
791.1Ssanjayl#options 	NFSSERVER	# Network File System server
801.1Ssanjayl#options 	FFS_NO_SNAPSHOT	# ffs snapshots
811.33Ssevan#options 	UFS_EXTATTR	# Extended attribute support for UFS1
821.1Ssanjayl#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
831.1Ssanjayl				# immutable) behave as system flags.
841.1Ssanjayl#options 	APPLE_UFS	# Apple UFS support in FFS
851.1Ssanjayl# Networking options
861.1Ssanjayl#options 	GATEWAY		# packet forwarding
871.1Ssanjayloptions 	INET		# IP + ICMP + TCP + UDP
881.32Smacallanoptions 	INET6		# IPV6
891.1Ssanjayl
901.1Ssanjayl# These options enable verbose messages for several subsystems.
911.1Ssanjayl# Warning, these may compile large string tables into the kernel!
921.32Smacallan#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
931.32Smacallan#options 	MIIVERBOSE	# verbose PHY autoconfig messages
941.1Ssanjayl#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
951.1Ssanjayl
961.1Ssanjayl# wscons options
971.1Ssanjayl#options 	WSEMUL_SUN			# sun terminal emulation
981.1Ssanjayloptions 	WSEMUL_VT100			# VT100 / VT220 emulation
991.33Ssevan#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1001.1Ssanjayl#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
1011.32Smacallanoptions 	WS_DEFAULT_FG=WSCOL_BLACK
1021.32Smacallanoptions 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
1031.32Smacallanoptions 	WS_KERNEL_FG=WSCOL_GREEN
1041.32Smacallanoptions 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
1051.1Ssanjayloptions 	FONT_GALLANT12x22
1061.1Ssanjayl
1071.1Ssanjayl# Kernel root file system and dump configuration.
1081.32Smacallan#config		netbsd	root on ? type ?
1091.32Smacallanconfig		netbsd	root on gem0 type nfs
1101.32Smacallanoptions         NFS_BOOT_DHCP
1111.1Ssanjayl
1121.1Ssanjayl#
1131.1Ssanjayl# Device configuration
1141.1Ssanjayl#
1151.1Ssanjayl
1161.1Ssanjaylmainbus* at root
1171.1Ssanjayl
1181.32Smacallancpu* 		at mainbus?
1191.32Smacallanuni_n*	at mainbus?
1201.32Smacallanmemory* at mainbus?
1211.32Smacallanspdmem* at memory? addr ?
1221.32Smacallanki2c*	at uni_n?			# Keywest I2C
1231.32Smacallan
1241.32Smacallanibmcpc* 	at mainbus?
1251.32Smacallanuninorth* 	at mainbus?
1261.32Smacallansmu* 		at mainbus?
1271.32Smacallan#options 	SMU_DEBUG
1281.32Smacallansmuiic* 	at smu?
1291.32Smacallansmusat* 	at smuiic?
1301.1Ssanjayl
1311.1Ssanjaylpci*	at ibmcpc? bus ?
1321.32Smacallanpci*	at uninorth? bus ?
1331.1Ssanjaylpci*	at ppb? bus ?
1341.1Ssanjayl
1351.1Ssanjaylpchb*	at pci? dev ? function ?	# PCI-Host bridges
1361.1Ssanjaylppb*	at pci? dev ? function ?	# PCI-PCI bridges
1371.1Ssanjayl
1381.32Smacallanobio0		at pci? dev ? function ?
1391.32Smacallanzsc*		at obio?
1401.32Smacallanzstty*		at zsc? channel ?
1411.32Smacallan#snapper* 	at obio?
1421.32Smacallanki2c*		at obio?	# Keywest I2C
1431.32Smacallaniic*		at i2cbus?
1441.32Smacallan
1451.32Smacallanadmtemp* 	at iic?
1461.32Smacallanlmtemp* 	at iic?
1471.32Smacallandstemp* 	at iic?
1481.32Smacallandeq* 		at iic?
1491.32Smacallan
1501.32Smacallanpmu* 		at obio?	# Apple PMU
1511.32Smacallan
1521.32Smacallan# Audio support
1531.32Smacallan#audio*	at audiobus?
1541.32Smacallan
1551.32Smacallan#spkr*	at audio?		# PC speaker (synthesized)
1561.32Smacallan#wsbell* at spkr?
1571.32Smacallan
1581.1Ssanjaylgem*	at pci? dev ? function ?	# gmac ethernet
1591.32Smacallanoptions 	GEM_DEBUG
1601.32Smacallanbge*	at pci? dev ? function ?	# borgcom ethernet
1611.32Smacallanbmtphy*	at mii? phy ?			# Broadcom BCM5201/BCM5202 PHYs
1621.32Smacallanbrgphy*	at mii? phy ?			# Broadcom BCM5400 PHYs
1631.1Ssanjaylukphy*	at mii? phy ?			# generic unknown PHYs
1641.1Ssanjayl
1651.1Ssanjayl# PCI IEEE1394 controllers
1661.1Ssanjayl#fwohci*	at pci? dev ? function ?	# IEEE1394 Open Host Controller
1671.1Ssanjayl
1681.1Ssanjayl# IEEE1394 nodes
1691.1Ssanjayl#ieee1394if* at fwohci?
1701.1Ssanjayl#fwip*	at ieee1394if?			# IP over IEEE1394
1711.1Ssanjayl#sbp*	at ieee1394if? euihi ? euilo ?
1721.1Ssanjayl#scsibus* at sbp?
1731.1Ssanjayl
1741.1Ssanjayl
1751.1Ssanjayl# PCI USB controllers
1761.1Ssanjaylohci*	at pci? dev ? function ?	# USB Open Host Controller
1771.32Smacallanehci*	at pci? dev ? function ?	# USB Enhanced Host Controller
1781.1Ssanjayl
1791.1Ssanjaylusb*	at ohci?					# USB bus support
1801.32Smacallanusb*	at ehci?					# USB bus support
1811.1Ssanjayluhub*	at usb?						# USB Hubs
1821.4Sdrochneruhub*	at uhub? port ?
1831.1Ssanjayluhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
1841.1Ssanjayluhid*	at uhidev? reportid ?				# USB Generic HID
1851.1Ssanjaylukbd*	at uhidev? reportid ?				# USB Keyboards
1861.1Ssanjaylwskbd*	at ukbd? console ?
1871.1Ssanjaylums*	at uhidev? reportid ?				# USB Mice
1881.1Ssanjaylwsmouse* at ums?
1891.1Ssanjayl
1901.32Smacallanoptions		OFWOEA_WSCONS_NO_ROM_FONT
1911.32Smacallangenfb*	at pci? dev ? function ?	# Generic Open Firmware Framebuffer
1921.32Smacallanradeonfb*	at pci? dev ? function ?
1931.32Smacallanoptions 	RADEONFB_ALWAYS_ACCEL_PUTCHAR
1941.32Smacallan
1951.32Smacallan#radeon* 	at pci? dev ? function ?
1961.32Smacallan#radeondrmkmsfb* at radeonfbbus?
1971.32Smacallan
1981.32Smacallan#pciide* at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
1991.32Smacallanwdc* 	at pci? dev ? function ?		# Kauai ATA
2001.1Ssanjaylsvwsata* at pci? dev ? function ?		# ServerWorks SATA controllers
2011.32Smacallan#options 	ATADEBUG
2021.1Ssanjaylobio*	at pci? dev ? function ?
2031.1Ssanjaylzsc*	at obio?
2041.1Ssanjaylzstty*	at zsc? channel ?
2051.1Ssanjayl
2061.32Smacallanwsdisplay0	at wsemuldisplaydev? console 1
2071.32Smacallanwsdisplay*	at wsemuldisplaydev?
2081.1Ssanjayl
2091.1Ssanjaylatabus* at ata?
2101.1Ssanjaylwd*	at atabus? drive ? flags 0x0000
2111.1Ssanjaylatapibus* at atapi?
2121.1Ssanjaylcd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
2131.1Ssanjaylsd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
2141.1Ssanjayluk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
2151.1Ssanjayl
2161.1Ssanjayl
2171.1Ssanjayl#pseudo-device 	crypto			# opencrypto framework
2181.1Ssanjayl					# (disabled, requires generic softints)
2191.33Ssevanpseudo-device	vnd			# disk-like interface to files
2201.33Ssevan#pseudo-device	md			# memory disk device
2211.1Ssanjaylpseudo-device	loop			# network loopback
2221.1Ssanjaylpseudo-device	pty			# pseudo-terminals
2231.1Ssanjaylpseudo-device	openfirm		# /dev/openfirm
2241.1Ssanjaylpseudo-device	wsmux			# mouse and keyboard multiplexor
2251.1Ssanjaylpseudo-device	clockctl		# user control of clock subsystem
2261.1Ssanjaylpseudo-device	ksyms			# /dev/ksyms
2271.32Smacallan#pseudo-device	nsmb			# SMB requester
2281.1Ssanjayl#pseudo-device	pf			# PF packet filter
2291.1Ssanjayl#pseudo-device	pflog			# PF log if
2301.1Ssanjayl
2311.1Ssanjayl# Enable the hooks used for initializing the ram-disk.
2321.32Smacallan#options 	MEMORY_DISK_HOOKS
2331.32Smacallan#options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
2341.32Smacallan#options 	MEMORY_DISK_ROOT_SIZE=4096	# 2 Megabytes
2351.33Ssevan#options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
236