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