POWERMAC_G5 revision 1.17
1# Lean and mean config file for the POWERMAC G5
2# Author: Sanjay Lal <sanjayl@kymasys.com>
3
4include		"arch/macppc/conf/std.macppc.g5"
5
6options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
7maxusers	32
8
9options 	PMAC_G5
10options 	ALTIVEC		# Include AltiVec support
11
12# Standard system options
13options 	INSECURE	# disable kernel security levels
14
15options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
16options 	NTP		# NTP phase/frequency locked loop
17options 	KTRACE		# system call tracing via ktrace(1)
18
19options 	SYSVMSG		# System V message queues
20options 	SYSVSEM		# System V semaphores
21#options 	SEMMNI=10	# number of semaphore identifiers
22#options 	SEMMNS=60	# number of semaphores in system
23#options 	SEMUME=10	# max number of undo entries per process
24#options 	SEMMNU=30	# number of undo structures in system
25options 	SYSVSHM		# System V shared memory
26
27options 	USERCONF	# userconf(4) support
28#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
29options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
30
31# Enable experimental buffer queue strategy for better responsiveness under
32# high disk I/O load. Use it with caution - it's not proven to be stable yet.
33#options 	NEW_BUFQ_STRATEGY
34
35# Diagnostic/debugging support options
36options 	DIAGNOSTIC	# cheap kernel consistency checks
37options 	DEBUG		# expensive debugging checks/support
38options 	ZS_CONSOLE_ABORT# allow break to get into DDB on serial
39options 	DDB		# in-kernel debugger
40options 	DDB_ONPANIC=1	# don't go into ddb on panic.
41options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
42options 	TRAP_PANICWAIT
43
44makeoptions 	DEBUG="-g"	# compile full symbol table
45
46# Compatibility options
47options 	COMPAT_30	# NetBSD 3.0 compatibility.
48options 	COMPAT_40	# NetBSD 4.0 compatibility.
49options 	COMPAT_43	# and 4.3BSD
50#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
51#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
52options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
53
54# File systems
55file-system 	FFS		# UFS
56file-system 	MFS		# memory file system
57file-system 	KERNFS		# /kern
58file-system 	PROCFS		# /proc
59file-system 	NFS		# Network File System client
60
61# File system options
62options 	QUOTA		# legacy UFS quotas
63options 	QUOTA2		# new, in-filesystem UFS quotas
64#options 	FFS_EI		# FFS Endian Independent support
65#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
66#options 	NFSSERVER	# Network File System server
67#options 	FFS_NO_SNAPSHOT	# ffs snapshots
68#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
69				# immutable) behave as system flags.
70#options 	APPLE_UFS	# Apple UFS support in FFS
71# Networking options
72#options 	GATEWAY		# packet forwarding
73options 	INET		# IP + ICMP + TCP + UDP
74
75# These options enable verbose messages for several subsystems.
76# Warning, these may compile large string tables into the kernel!
77options 	PCIVERBOSE	# verbose PCI device autoconfig messages
78options 	MIIVERBOSE	# verbose PHY autoconfig messages
79#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
80
81# wscons options
82#options 	WSEMUL_SUN			# sun terminal emulation
83options 	WSEMUL_VT100			# VT100 / VT220 emulation
84#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
85options 	FONT_GALLANT12x22
86
87# Optional Mac keyboard tweaks
88
89# Tweak the keyboard driver to treat the caps lock key on an ADB
90# keyboard as a control key; requires special remapping because of
91# ADB's strange emulation of a mechanically-locked key.
92#options 	CAPS_IS_CONTROL
93
94# On Mac laptops, several function keys double as "hot keys"
95# (brightness, volume, eject) when the Fn modifier is held down.  Mac
96# OS X likes to reprogram the keyboard controller to send hot key
97# events when Fn is not held down and send function key events when it
98# is.  This option transforms the non-keyboard "button" events back
99# into function key events.
100#options 	FORCE_FUNCTION_KEYS
101
102# Kernel root file system and dump configuration.
103config		netbsd	root on ? type ?
104#config		netbsd	root on gem0 type nfs
105#options         NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
106
107#
108# Device configuration
109#
110
111mainbus* at root
112
113cpu*	at mainbus?
114ibmcpc* at mainbus?
115
116pci*	at ibmcpc? bus ?
117pci*	at ppb? bus ?
118
119pchb*	at pci? dev ? function ?	# PCI-Host bridges
120ppb*	at pci? dev ? function ?	# PCI-PCI bridges
121
122gem*	at pci? dev ? function ?	# gmac ethernet
123ukphy*	at mii? phy ?			# generic unknown PHYs
124
125# PCI IEEE1394 controllers
126#fwohci*	at pci? dev ? function ?	# IEEE1394 Open Host Controller
127
128# IEEE1394 nodes
129#ieee1394if* at fwohci?
130#fwip*	at ieee1394if?			# IP over IEEE1394
131#sbp*	at ieee1394if? euihi ? euilo ?
132#scsibus* at sbp?
133
134
135# PCI USB controllers
136ohci*	at pci? dev ? function ?	# USB Open Host Controller
137#ehci*	at pci? dev ? function ?	# USB Enhanced Host Controller
138
139usb*	at ohci?					# USB bus support
140uhub*	at usb?						# USB Hubs
141uhub*	at uhub? port ?
142uhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
143uhid*	at uhidev? reportid ?				# USB Generic HID
144ukbd*	at uhidev? reportid ?				# USB Keyboards
145wskbd*	at ukbd? console ?
146ums*	at uhidev? reportid ?				# USB Mice
147wsmouse* at ums?
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
155svwsata* at pci? dev ? function ?		# ServerWorks SATA controllers
156obio*	at pci? dev ? function ?
157zsc*	at obio?
158zstty*	at zsc? channel ?
159
160# PCI serial interfaces
161nvram*	at obio?			# nvram
162#wsdisplay0 at ofb? console ?
163
164atabus* at ata?
165wd*	at atabus? drive ? flags 0x0000
166atapibus* at atapi?
167cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
168sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
169uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
170
171
172#pseudo-device 	crypto			# opencrypto framework
173					# (disabled, requires generic softints)
174pseudo-device	vnd		4	# disk-like interface to files
175pseudo-device	md			# memory disk device
176pseudo-device	loop			# network loopback
177pseudo-device	pty			# pseudo-terminals
178pseudo-device	openfirm		# /dev/openfirm
179pseudo-device	wsmux			# mouse and keyboard multiplexor
180pseudo-device	clockctl		# user control of clock subsystem
181pseudo-device	ksyms			# /dev/ksyms
182pseudo-device	nsmb			# SMB requester
183#pseudo-device	pf			# PF packet filter
184#pseudo-device	pflog			# PF log if
185
186# Enable the hooks used for initializing the ram-disk.
187options 	MEMORY_DISK_HOOKS
188options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
189options 	MEMORY_DISK_ROOT_SIZE=4224	# 2112 KiB
190options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
191