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