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