MAMBO revision 1.32
11.1Ssanjayl# machine description file for the MAMBO simulator from IBM
21.1Ssanjayl# Author Sanjay Lal <sanjayl@kymasys.com>
31.1Ssanjayl 
41.1Ssanjayl
51.26Smrginclude 	"arch/macppc/conf/std.macppc.g5"
61.1Ssanjayl
71.1Ssanjayloptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
81.1Ssanjayl
91.32Smaxv#ident 		"GENERIC-$Revision: 1.32 $"
101.1Ssanjayl
111.1Ssanjaylmaxusers	32
121.1Ssanjayl
131.1Ssanjayloptions 	ALTIVEC		# Include AltiVec support
141.1Ssanjayl
151.1Ssanjayl# Standard system options
161.1Ssanjayloptions 	INSECURE	# disable kernel security levels
171.1Ssanjayl
181.1Ssanjayloptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
191.1Ssanjayloptions 	NTP		# NTP phase/frequency locked loop
201.1Ssanjayloptions 	KTRACE		# system call tracing via ktrace(1)
211.1Ssanjayl
221.1Ssanjayloptions 	SYSVMSG		# System V message queues
231.1Ssanjayloptions 	SYSVSEM		# System V semaphores
241.1Ssanjayl#options 	SEMMNI=10	# number of semaphore identifiers
251.1Ssanjayl#options 	SEMMNS=60	# number of semaphores in system
261.1Ssanjayl#options 	SEMUME=10	# max number of undo entries per process
271.1Ssanjayl#options 	SEMMNU=30	# number of undo structures in system
281.1Ssanjayloptions 	SYSVSHM		# System V shared memory
291.1Ssanjayl
301.1Ssanjayloptions 	USERCONF	# userconf(4) support
311.1Ssanjayl#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
321.1Ssanjayloptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
331.1Ssanjayl
341.27Ssevan# Alternate buffer queue strategies for better responsiveness under high
351.27Ssevan# disk I/O load.
361.29Ssevan#options 	BUFQ_READPRIO
371.29Ssevanoptions 	BUFQ_PRIOCSCAN
381.1Ssanjayl
391.1Ssanjayl# Diagnostic/debugging support options
401.1Ssanjayloptions 	DIAGNOSTIC	# cheap kernel consistency checks
411.1Ssanjayloptions 	DEBUG		# expensive debugging checks/support
421.1Ssanjayloptions 	ZS_CONSOLE_ABORT# allow break to get into DDB on serial
431.1Ssanjayloptions 	DDB		# in-kernel debugger
441.1Ssanjayl#options 	DDB_ONPANIC=0	# don't go into ddb on panic.
451.1Ssanjayloptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
461.1Ssanjayl#options 	TRAP_PANICWAIT
471.1Ssanjayl
481.1Ssanjaylmakeoptions 	DEBUG="-g"	# compile full symbol table
491.1Ssanjayl
501.1Ssanjayl# Compatibility options
511.26Smrginclude 	"conf/compat_netbsd09.config"
521.1Ssanjayl
531.1Ssanjayl#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
541.1Ssanjayl
551.1Ssanjayl# File systems
561.1Ssanjaylfile-system 	FFS		# UFS
571.1Ssanjaylfile-system 	MFS		# memory file system
581.1Ssanjaylfile-system 	KERNFS		# /kern
591.1Ssanjaylfile-system 	NULLFS		# loopback file system
601.1Ssanjaylfile-system 	PROCFS		# /proc
611.1Ssanjaylfile-system 	OVERLAY		# overlay file system
621.1Ssanjaylfile-system 	UMAPFS		# NULLFS + uid and gid remapping
631.1Ssanjaylfile-system 	UNION		# union file system
641.1Ssanjayl
651.1Ssanjayl
661.1Ssanjayl# File system options
671.12Sbouyeroptions 	QUOTA		# legacy UFS quotas
681.12Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
691.14Swiz#options 	FFS_EI		# FFS Endian Independent support
701.4Suwe#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
711.1Ssanjayl#options 	FFS_NO_SNAPSHOT	# ffs snapshots
721.23Smanuoptions 	UFS_EXTATTR	# Extended attribute support for UFS1
731.1Ssanjayl#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
741.1Ssanjayl				# immutable) behave as system flags.
751.1Ssanjayl
761.1Ssanjayl# Networking options
771.1Ssanjayl#options 	GATEWAY		# packet forwarding
781.1Ssanjayloptions 	INET		# IP + ICMP + TCP + UDP
791.1Ssanjayl
801.1Ssanjayl# These options enable verbose messages for several subsystems.
811.1Ssanjayl# Warning, these may compile large string tables into the kernel!
821.1Ssanjayloptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
831.1Ssanjayloptions 	MIIVERBOSE	# verbose PHY autoconfig messages
841.1Ssanjayl#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
851.1Ssanjayl
861.1Ssanjayl# wscons options
871.1Ssanjayl#options 	WSEMUL_SUN			# sun terminal emulation
881.1Ssanjayloptions 	WSEMUL_VT100			# VT100 / VT220 emulation
891.17Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
901.1Ssanjayl#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
911.1Ssanjayloptions 	FONT_GALLANT12x22
921.1Ssanjayl
931.1Ssanjayl# Optional Mac keyboard tweaks
941.1Ssanjayl
951.1Ssanjayl# Tweak the keyboard driver to treat the caps lock key on an ADB
961.1Ssanjayl# keyboard as a control key; requires special remapping because of
971.1Ssanjayl# ADB's strange emulation of a mechanically-locked key.
981.4Suwe#options 	CAPS_IS_CONTROL
991.1Ssanjayl
1001.1Ssanjayl# On Mac laptops, several function keys double as "hot keys"
1011.1Ssanjayl# (brightness, volume, eject) when the Fn modifier is held down.  Mac
1021.1Ssanjayl# OS X likes to reprogram the keyboard controller to send hot key
1031.1Ssanjayl# events when Fn is not held down and send function key events when it
1041.1Ssanjayl# is.  This option transforms the non-keyboard "button" events back
1051.1Ssanjayl# into function key events.
1061.4Suwe#options 	FORCE_FUNCTION_KEYS
1071.1Ssanjayl
1081.1Ssanjayl# Kernel root file system and dump configuration.
1091.1Ssanjaylconfig		netbsd	root on ? type ?
1101.1Ssanjayl
1111.1Ssanjayl#
1121.1Ssanjayl# Device configuration
1131.1Ssanjayl#
1141.1Ssanjayl
1151.1Ssanjaylmainbus* at root
1161.1Ssanjayl
1171.1Ssanjaylcpu*	at mainbus?
1181.1Ssanjaylbandit*	at mainbus?
1191.1Ssanjaylgrackle* at mainbus?
1201.1Ssanjayluninorth* at mainbus?
1211.1Ssanjaylibmcpc* at mainbus?
1221.1Ssanjayl
1231.1Ssanjaylpci*	at bandit? bus ?
1241.1Ssanjaylpci*	at grackle? bus ?
1251.1Ssanjaylpci*	at uninorth? bus ?
1261.1Ssanjaylpci*	at ibmcpc? bus ?
1271.1Ssanjaylpci*	at ppb? bus ?
1281.1Ssanjayl
1291.1Ssanjaylpchb*	at pci? dev ? function ?	# PCI-Host bridges
1301.1Ssanjaylppb*	at pci? dev ? function ?	# PCI-PCI bridges
1311.1Ssanjayl
1321.1Ssanjayl# Other  PCI devices
1331.1Ssanjayl#ofb*	at pci? dev ? function ?	# Generic Open Firmware Framebuffer
1341.1Ssanjaylpciide* at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
1351.1Ssanjaylobio*	at pci? dev ? function ?
1361.1Ssanjayl
1371.1Ssanjayl# PCI serial interfaces
1381.1Ssanjaylnvram*	at obio?			# nvram
1391.1Ssanjayl#awacs*	at obio?			# Apple audio device
1401.1Ssanjayl#ki2c*	at obio?			# Keywest I2C
1411.1Ssanjaylwi*	at obio?			# AirMac
1421.1Ssanjayl#snapper* at obio?			# Snapper audio device
1431.1Ssanjayl
1441.1Ssanjayl#wsdisplay0 at ofb? console ?
1451.1Ssanjayl
1461.1Ssanjayl# Cryptographic Devices
1471.1Ssanjayl
1481.1Ssanjayl# PCI cryptographic devices
1491.1Ssanjayl# (disabled, requires opencrypto framework which requires generic softints
1501.1Ssanjayl#hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
1511.1Ssanjayl#ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
1521.1Ssanjayl
1531.1Ssanjayl
1541.1Ssanjaylwdc*	at obio? flags 0x1
1551.1Ssanjaylatabus* at ata?
1561.1Ssanjaylwd*	at atabus? drive ? flags 0x0000
1571.1Ssanjayl
1581.1Ssanjaylatapibus* at atapi?
1591.1Ssanjayl
1601.1Ssanjaylcd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
1611.1Ssanjaylsd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
1621.1Ssanjayluk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
1631.1Ssanjayl
1641.1Ssanjayl
1651.1Ssanjayl#pseudo-device 	crypto			# opencrypto framework
1661.1Ssanjayl					# (disabled, requires generic softints)
1671.18Schristospseudo-device	vnd			# disk-like interface to files
1681.10Shannkenpseudo-device	md			# memory disk device
1691.1Ssanjaylpseudo-device	loop			# network loopback
1701.1Ssanjaylpseudo-device	pty			# pseudo-terminals
1711.1Ssanjaylpseudo-device	openfirm		# /dev/openfirm
1721.1Ssanjaylpseudo-device	wsmux			# mouse and keyboard multiplexor
1731.1Ssanjaylpseudo-device	clockctl		# user control of clock subsystem
1741.1Ssanjaylpseudo-device	ksyms			# /dev/ksyms
1751.1Ssanjaylpseudo-device	nsmb			# SMB requester
1761.32Smaxv#pseudo-device	npf			# NPF packet filter
1771.1Ssanjayl
1781.1Ssanjayl# Enable the hooks used for initializing the ram-disk.
1791.1Ssanjayloptions 	MEMORY_DISK_HOOKS
1801.1Ssanjayloptions 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
1811.21Smartinoptions 	MEMORY_DISK_ROOT_SIZE=4496	# 2248 KiB
1821.8Sjymoptions 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
1831.8Sjym
1841.4Suweoptions 	MAMBO
1851.1Ssanjayl
1861.1Ssanjayl# For Mambo console
1871.1Ssanjaylcom* at mainbus?
1881.4Suwe#options 	COM_DEBUG
189