xref: /netbsd-src/sys/arch/macppc/conf/MAMBO (revision c78676accca07215237e546e46e3c7eee6d5716d)
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.36 $"
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# Alternate buffer queue strategies for better responsiveness under high
35# disk I/O load.
36#options 	BUFQ_READPRIO
37options 	BUFQ_PRIOCSCAN
38
39# Diagnostic/debugging support options
40options 	DIAGNOSTIC	# cheap kernel consistency checks
41options 	DEBUG		# expensive debugging checks/support
42options 	ZS_CONSOLE_ABORT# allow break to get into DDB on serial
43options 	DDB		# in-kernel debugger
44#options 	DDB_ONPANIC=0	# don't go into ddb on panic.
45options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
46#options 	TRAP_PANICWAIT
47
48makeoptions 	DEBUG="-g"	# compile full symbol table
49
50# Compatibility options
51include 	"conf/compat_netbsd09.config"
52
53#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
54
55# File systems
56file-system 	FFS		# UFS
57file-system 	MFS		# memory file system
58file-system 	KERNFS		# /kern
59file-system 	NULLFS		# loopback file system
60file-system 	PROCFS		# /proc
61file-system 	OVERLAY		# overlay file system
62file-system 	UMAPFS		# NULLFS + uid and gid remapping
63file-system 	UNION		# union file system
64
65
66# File system options
67#options 	FFS_EI		# FFS Endian Independent support
68#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
69options 	QUOTA		# legacy UFS quotas
70options 	QUOTA2		# new, in-filesystem UFS quotas
71#options 	UFS_DIRHASH	# UFS Large Directory Hashing
72options 	UFS_EXTATTR	# Extended attribute support for UFS1
73
74# Networking options
75#options 	GATEWAY		# packet forwarding
76options 	INET		# IP + ICMP + TCP + UDP
77
78# These options enable verbose messages for several subsystems.
79# Warning, these may compile large string tables into the kernel!
80options 	PCIVERBOSE	# verbose PCI device autoconfig messages
81options 	MIIVERBOSE	# verbose PHY autoconfig messages
82#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
83
84# wscons options
85#options 	WSEMUL_SUN			# sun terminal emulation
86options 	WSEMUL_VT100			# VT100 / VT220 emulation
87options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
88#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
89options 	FONT_GALLANT12x22
90
91# Optional Mac keyboard tweaks
92
93# Tweak the keyboard driver to treat the caps lock key on an ADB
94# keyboard as a control key; requires special remapping because of
95# ADB's strange emulation of a mechanically-locked key.
96#options 	CAPS_IS_CONTROL
97
98# On Mac laptops, several function keys double as "hot keys"
99# (brightness, volume, eject) when the Fn modifier is held down.  Mac
100# OS X likes to reprogram the keyboard controller to send hot key
101# events when Fn is not held down and send function key events when it
102# is.  This option transforms the non-keyboard "button" events back
103# into function key events.
104#options 	FORCE_FUNCTION_KEYS
105
106# Kernel root file system and dump configuration.
107config		netbsd	root on ? type ?
108
109#
110# Device configuration
111#
112
113mainbus* at root
114
115cpu*	at mainbus?
116bandit*	at mainbus?
117grackle* at mainbus?
118uninorth* at mainbus?
119ibmcpc* at mainbus?
120
121pci*	at bandit? bus ?
122pci*	at grackle? bus ?
123pci*	at uninorth? bus ?
124pci*	at ibmcpc? bus ?
125pci*	at ppb? bus ?
126
127pchb*	at pci? dev ? function ?	# PCI-Host bridges
128ppb*	at pci? dev ? function ?	# PCI-PCI bridges
129
130# Other  PCI devices
131#ofb*	at pci? dev ? function ?	# Generic Open Firmware Framebuffer
132pciide* at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
133obio*	at pci? dev ? function ?
134
135# PCI serial interfaces
136nvram*	at obio?			# nvram
137#awacs*	at obio?			# Apple audio device
138#ki2c*	at obio?			# Keywest I2C
139wi*	at obio?			# AirMac
140#snapper* at obio?			# Snapper audio device
141
142#wsdisplay0 at ofb? console ?
143
144# Cryptographic Devices
145
146# PCI cryptographic devices
147# (disabled, requires opencrypto framework which requires generic softints
148#hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
149#ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
150
151
152wdc*	at obio? flags 0x1
153atabus* at ata?
154wd*	at atabus? drive ? flags 0x0000
155
156atapibus* at atapi?
157
158cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
159sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
160uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
161
162
163#pseudo-device 	crypto			# opencrypto framework
164					# (disabled, requires generic softints)
165pseudo-device	vnd			# disk-like interface to files
166pseudo-device	md			# memory disk device
167pseudo-device	loop			# network loopback
168pseudo-device	pty			# pseudo-terminals
169pseudo-device	openfirm		# /dev/openfirm
170pseudo-device	wsmux			# mouse and keyboard multiplexor
171pseudo-device	clockctl		# user control of clock subsystem
172pseudo-device	drvctl			# user control of drive subsystem
173pseudo-device	ksyms			# /dev/ksyms
174#pseudo-device	npf			# NPF packet filter
175
176# Enable the hooks used for initializing the ram-disk.
177options 	MEMORY_DISK_HOOKS
178options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
179options 	MEMORY_DISK_ROOT_SIZE=4496	# 2248 KiB
180options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
181
182options 	MAMBO
183
184# For Mambo console
185com* at mainbus?
186#options 	COM_DEBUG
187