MAMBO revision 1.13
1# machine description file for the MAMBO simulator from IBM
2# Author Sanjay Lal <sanjayl@kymasys.com>
3 
4
5include		"arch/macppc/conf/std.macppc.g5"
6
7options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
8
9#ident 		"GENERIC-$Revision: 1.13 $"
10
11maxusers	32
12
13options 	ALTIVEC		# Include AltiVec support
14
15# Standard system options
16options 	INSECURE	# disable kernel security levels
17
18options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
19options 	NTP		# NTP phase/frequency locked loop
20options 	KTRACE		# system call tracing via ktrace(1)
21
22options 	SYSVMSG		# System V message queues
23options 	SYSVSEM		# System V semaphores
24#options 	SEMMNI=10	# number of semaphore identifiers
25#options 	SEMMNS=60	# number of semaphores in system
26#options 	SEMUME=10	# max number of undo entries per process
27#options 	SEMMNU=30	# number of undo structures in system
28options 	SYSVSHM		# System V shared memory
29options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
30
31
32options 	USERCONF	# userconf(4) support
33#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
34options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
35
36# Enable experimental buffer queue strategy for better responsiveness under
37# high disk I/O load. Use it with caution - it's not proven to be stable yet.
38#options 	NEW_BUFQ_STRATEGY
39
40# Diagnostic/debugging support options
41options 	DIAGNOSTIC	# cheap kernel consistency checks
42options 	DEBUG		# expensive debugging checks/support
43options 	ZS_CONSOLE_ABORT# allow break to get into DDB on serial
44options 	DDB		# in-kernel debugger
45#options 	DDB_ONPANIC=0	# don't go into ddb on panic.
46options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
47#options 	TRAP_PANICWAIT
48
49makeoptions 	DEBUG="-g"	# compile full symbol table
50
51# Compatibility options
52options 	COMPAT_09	# NetBSD 0.9,
53options 	COMPAT_10	# NetBSD 1.0,
54options 	COMPAT_11	# NetBSD 1.1,
55options 	COMPAT_12	# NetBSD 1.2,
56options 	COMPAT_13	# NetBSD 1.3,
57options 	COMPAT_14	# NetBSD 1.4,
58options 	COMPAT_15	# NetBSD 1.5,
59options 	COMPAT_16	# NetBSD 1.6,
60options 	COMPAT_20	# NetBSD 2.0
61options 	COMPAT_43	# and 4.3BSD
62
63#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
64#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
65options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
66
67# File systems
68file-system 	FFS		# UFS
69file-system 	MFS		# memory file system
70file-system 	KERNFS		# /kern
71file-system 	NULLFS		# loopback file system
72file-system 	PROCFS		# /proc
73file-system 	OVERLAY		# overlay file system
74file-system 	UMAPFS		# NULLFS + uid and gid remapping
75file-system 	UNION		# union file system
76
77
78# File system options
79options 	QUOTA		# legacy UFS quotas
80options 	QUOTA2		# new, in-filesystem UFS quotas
81#options 	FFS_EI		# FFS Endian Independant support
82#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
83#options 	FFS_NO_SNAPSHOT	# ffs snapshots
84#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
85				# immutable) behave as system flags.
86
87# Networking options
88#options 	GATEWAY		# packet forwarding
89options 	INET		# IP + ICMP + TCP + UDP
90
91# These options enable verbose messages for several subsystems.
92# Warning, these may compile large string tables into the kernel!
93options 	PCIVERBOSE	# verbose PCI device autoconfig messages
94options 	MIIVERBOSE	# verbose PHY autoconfig messages
95#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
96
97# wscons options
98#options 	WSEMUL_SUN			# sun terminal emulation
99options 	WSEMUL_VT100			# VT100 / VT220 emulation
100#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
101options 	FONT_GALLANT12x22
102
103# Optional Mac keyboard tweaks
104
105# Tweak the keyboard driver to treat the caps lock key on an ADB
106# keyboard as a control key; requires special remapping because of
107# ADB's strange emulation of a mechanically-locked key.
108#options 	CAPS_IS_CONTROL
109
110# On Mac laptops, several function keys double as "hot keys"
111# (brightness, volume, eject) when the Fn modifier is held down.  Mac
112# OS X likes to reprogram the keyboard controller to send hot key
113# events when Fn is not held down and send function key events when it
114# is.  This option transforms the non-keyboard "button" events back
115# into function key events.
116#options 	FORCE_FUNCTION_KEYS
117
118# Kernel root file system and dump configuration.
119config		netbsd	root on ? type ?
120
121#
122# Device configuration
123#
124
125mainbus* at root
126
127cpu*	at mainbus?
128bandit*	at mainbus?
129grackle* at mainbus?
130uninorth* at mainbus?
131ibmcpc* at mainbus?
132
133pci*	at bandit? bus ?
134pci*	at grackle? bus ?
135pci*	at uninorth? bus ?
136pci*	at ibmcpc? bus ?
137pci*	at ppb? bus ?
138
139pchb*	at pci? dev ? function ?	# PCI-Host bridges
140ppb*	at pci? dev ? function ?	# PCI-PCI bridges
141
142# Other  PCI devices
143#ofb*	at pci? dev ? function ?	# Generic Open Firmware Framebuffer
144# OFB_ENABLE_CACHE speeds up the console on many machines, but should
145# not be enabled on some older machines, such as the rev. A-D iMacs.
146#options 	OFB_ENABLE_CACHE	# Speed up console
147pciide* at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
148obio*	at pci? dev ? function ?
149macofcons0 at pci? dev ? function ?	# OpenFirmware console (for debugging)
150#macofcons0 at mainbus? 		# OpenFirmware console (for debugging)
151
152# PCI serial interfaces
153nvram*	at obio?			# nvram
154# awacs is disabled because on most systems (7300 - 9600 PowerMacs,
155# many kinds of G4s), very heavy load can cause the machine to lock
156# up. ONLY enable this if your machine is never under heavy load, or
157# you'd rather have audio than worry about occasional lockups.
158#awacs*	at obio?			# Apple audio device
159#ki2c*	at obio?			# Keywest I2C
160wi*	at obio?			# AirMac
161#snapper* at obio?			# Snapper audio device
162
163#wsdisplay0 at ofb? console ?
164
165# Cryptographic Devices
166
167# PCI cryptographic devices
168# (disabled, requires opencrypto framework which requires generic softints
169#hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
170#ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
171
172
173wdc*	at obio? flags 0x1
174atabus* at ata?
175wd*	at atabus? drive ? flags 0x0000
176
177atapibus* at atapi?
178
179cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
180sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
181uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
182
183
184#pseudo-device 	crypto			# opencrypto framework
185					# (disabled, requires generic softints)
186pseudo-device	vnd		4	# disk-like interface to files
187pseudo-device	md			# memory disk device
188pseudo-device	loop			# network loopback
189pseudo-device	pty			# pseudo-terminals
190pseudo-device	rnd			# /dev/random and in-kernel generator
191pseudo-device	openfirm		# /dev/openfirm
192pseudo-device	wsmux			# mouse and keyboard multiplexor
193pseudo-device	clockctl		# user control of clock subsystem
194pseudo-device	ksyms			# /dev/ksyms
195pseudo-device	nsmb			# SMB requester
196#pseudo-device	pf			# PF packet filter
197#pseudo-device	pflog			# PF log if
198
199# Enable the hooks used for initializing the ram-disk.
200options 	MEMORY_DISK_HOOKS
201options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
202options 	MEMORY_DISK_ROOT_SIZE=4224	# 2112 KiB
203options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
204
205options 	MAMBO
206
207# For Mambo console
208com* at mainbus?
209#options 	COM_DEBUG
210