POWERMAC_G5 revision 1.27
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_43	# 4.3BSD binary compatibility.
48options 	COMPAT_30	# NetBSD 3.0, and
49options 	COMPAT_40	# NetBSD 4.0 binary compatibility.
50#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
51options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
52
53# File systems
54file-system 	FFS		# UFS
55file-system 	MFS		# memory file system
56file-system 	KERNFS		# /kern
57file-system 	PROCFS		# /proc
58file-system 	NFS		# Network File System client
59
60# File system options
61options 	QUOTA		# legacy UFS quotas
62options 	QUOTA2		# new, in-filesystem UFS quotas
63#options 	FFS_EI		# FFS Endian Independent support
64#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
65#options 	NFSSERVER	# Network File System server
66#options 	FFS_NO_SNAPSHOT	# ffs snapshots
67options 	UFS_EXTATTR	# Extended attribute support for UFS1
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
84options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
85#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
86options 	FONT_GALLANT12x22
87
88# Optional Mac keyboard tweaks
89
90# Tweak the keyboard driver to treat the caps lock key on an ADB
91# keyboard as a control key; requires special remapping because of
92# ADB's strange emulation of a mechanically-locked key.
93#options 	CAPS_IS_CONTROL
94
95# On Mac laptops, several function keys double as "hot keys"
96# (brightness, volume, eject) when the Fn modifier is held down.  Mac
97# OS X likes to reprogram the keyboard controller to send hot key
98# events when Fn is not held down and send function key events when it
99# is.  This option transforms the non-keyboard "button" events back
100# into function key events.
101#options 	FORCE_FUNCTION_KEYS
102
103# Kernel root file system and dump configuration.
104config		netbsd	root on ? type ?
105#config		netbsd	root on gem0 type nfs
106#options         NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
107
108#
109# Device configuration
110#
111
112mainbus* at root
113
114cpu*	at mainbus?
115ibmcpc* at mainbus?
116
117pci*	at ibmcpc? bus ?
118pci*	at ppb? bus ?
119
120pchb*	at pci? dev ? function ?	# PCI-Host bridges
121ppb*	at pci? dev ? function ?	# PCI-PCI bridges
122
123gem*	at pci? dev ? function ?	# gmac ethernet
124ukphy*	at mii? phy ?			# generic unknown PHYs
125
126# PCI IEEE1394 controllers
127#fwohci*	at pci? dev ? function ?	# IEEE1394 Open Host Controller
128
129# IEEE1394 nodes
130#ieee1394if* at fwohci?
131#fwip*	at ieee1394if?			# IP over IEEE1394
132#sbp*	at ieee1394if? euihi ? euilo ?
133#scsibus* at sbp?
134
135
136# PCI USB controllers
137ohci*	at pci? dev ? function ?	# USB Open Host Controller
138#ehci*	at pci? dev ? function ?	# USB Enhanced Host Controller
139
140usb*	at ohci?					# USB bus support
141uhub*	at usb?						# USB Hubs
142uhub*	at uhub? port ?
143uhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
144uhid*	at uhidev? reportid ?				# USB Generic HID
145
146ukbd*	at uhidev? reportid ?				# USB Keyboards
147wskbd*	at ukbd? console ?
148ums*	at uhidev? reportid ?				# USB Mice
149wsmouse* at ums?
150
151# Other  PCI devices
152#ofb*	at pci? dev ? function ?	# Generic Open Firmware Framebuffer
153# OFB_ENABLE_CACHE speeds up the console on many machines, but should
154# not be enabled on some older machines, such as the rev. A-D iMacs.
155#options 	OFB_ENABLE_CACHE	# Speed up console
156pciide* at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
157svwsata* at pci? dev ? function ?		# ServerWorks SATA controllers
158obio*	at pci? dev ? function ?
159zsc*	at obio?
160zstty*	at zsc? channel ?
161
162# PCI serial interfaces
163nvram*	at obio?			# nvram
164#wsdisplay0 at ofb? console ?
165
166atabus* at ata?
167wd*	at atabus? drive ? flags 0x0000
168atapibus* at atapi?
169cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
170sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
171uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
172
173
174#pseudo-device 	crypto			# opencrypto framework
175					# (disabled, requires generic softints)
176pseudo-device	vnd			# disk-like interface to files
177pseudo-device	md			# memory disk device
178pseudo-device	loop			# network loopback
179pseudo-device	pty			# pseudo-terminals
180pseudo-device	openfirm		# /dev/openfirm
181pseudo-device	wsmux			# mouse and keyboard multiplexor
182pseudo-device	clockctl		# user control of clock subsystem
183pseudo-device	ksyms			# /dev/ksyms
184pseudo-device	nsmb			# SMB requester
185#pseudo-device	pf			# PF packet filter
186#pseudo-device	pflog			# PF log if
187
188# Enable the hooks used for initializing the ram-disk.
189options 	MEMORY_DISK_HOOKS
190options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
191options 	MEMORY_DISK_ROOT_SIZE=4496	# 2248 KiB
192options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
193