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