POWERMAC_G5_11_2 revision 1.8
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 	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
58#options 	QUOTA		# legacy UFS quotas
59#options 	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
64#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
65				# immutable) behave as system flags.
66#options 	APPLE_UFS	# Apple UFS support in FFS
67# Networking options
68#options 	GATEWAY		# packet forwarding
69options 	INET		# IP + ICMP + TCP + UDP
70
71# These options enable verbose messages for several subsystems.
72# Warning, these may compile large string tables into the kernel!
73options 	PCIVERBOSE	# verbose PCI device autoconfig messages
74options 	MIIVERBOSE	# verbose PHY autoconfig messages
75#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
76
77# wscons options
78#options 	WSEMUL_SUN			# sun terminal emulation
79options 	WSEMUL_VT100			# VT100 / VT220 emulation
80options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
81#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
82options 	FONT_GALLANT12x22
83
84# Optional Mac keyboard tweaks
85
86# Tweak the keyboard driver to treat the caps lock key on an ADB
87# keyboard as a control key; requires special remapping because of
88# ADB's strange emulation of a mechanically-locked key.
89#options 	CAPS_IS_CONTROL
90
91# On Mac laptops, several function keys double as "hot keys"
92# (brightness, volume, eject) when the Fn modifier is held down.  Mac
93# OS X likes to reprogram the keyboard controller to send hot key
94# events when Fn is not held down and send function key events when it
95# is.  This option transforms the non-keyboard "button" events back
96# into function key events.
97#options 	FORCE_FUNCTION_KEYS
98
99# Kernel root file system and dump configuration.
100config		netbsd	root on ? type ?
101#config		netbsd	root on gem0 type nfs
102#options         NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
103
104#
105# Device configuration
106#
107
108mainbus* at root
109
110cpu*	at mainbus?
111ibmcpc* at mainbus?
112uninorth*	at mainbus?
113memory* at mainbus?
114spdmem* at memory? addr ?
115
116uni_n*	at mainbus?
117ki2c*	at uni_n?			# Keywest I2C
118
119smu* 		at mainbus?
120#options 	SMU_DEBUG
121smuiic* 	at smu?
122#iic* 		at smuiic?
123smusat* 	at smuiic?
124
125pci*	at ibmcpc? bus ?
126pci*	at uninorth? bus ?
127pci*	at ppb? bus ?
128
129pchb*	at pci? dev ? function ?	# PCI-Host bridges
130ppb*	at pci? dev ? function ?	# PCI-PCI bridges
131
132obio0		at pci? dev ? function ?
133zsc*		at obio?
134zstty*		at zsc? channel ?
135#snapper* 	at obio?
136ki2c*		at obio?	# Keywest I2C
137iic*		at ki2c?
138
139admtemp* 	at iic?
140lmtemp* 	at iic?
141dstemp* 	at iic?
142deq* 		at iic?
143
144# Audio support
145#audio*	at audiobus?
146
147#spkr*	at audio?		# PC speaker (synthesized)
148#wsbell* at spkr?
149
150bge*	at pci? dev ? function ?	# gmac ethernet
151brgphy*	at mii? phy ?			# Broadcom BCM5400 PHYs
152ukphy*	at mii? phy ?			# generic unknown PHYs
153
154# PCI USB controllers
155ohci*	at pci? dev ? function ?	# USB Open Host Controller
156ehci*	at pci? dev ? function ?	# USB Enhanced Host Controller
157
158usb*	at ohci?					# USB bus support
159uhub*	at usb?						# USB Hubs
160uhub*	at uhub? port ?
161uhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
162uhid*	at uhidev? reportid ?				# USB Generic HID
163ukbd*	at uhidev? reportid ?				# USB Keyboards
164wskbd*	at ukbd? console ?
165ums*	at uhidev? reportid ?				# USB Mice
166wsmouse* at ums?
167
168genfb*	at pci? dev ? function ?
169wdc* 	at pci? dev ? function ?		# Kauai ATA
170#svwsata* at pci? dev ? function ?		# ServerWorks SATA controllers
171obio*	at pci? dev ? function ?
172zsc*	at obio?
173zstty*	at zsc? channel ?
174
175wsdisplay0	at wsemuldisplaydev? console 1
176wsdisplay*	at wsemuldisplaydev?
177
178atabus* at ata?
179wd*	at atabus? drive ? flags 0x0000
180atapibus* at atapi?
181cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
182sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
183uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
184
185#pseudo-device 	crypto			# opencrypto framework
186					# (disabled, requires generic softints)
187pseudo-device	vnd		4	# disk-like interface to files
188pseudo-device	md			# memory disk device
189pseudo-device	loop			# network loopback
190pseudo-device	pty			# pseudo-terminals
191pseudo-device	openfirm		# /dev/openfirm
192pseudo-device	wsmux			# mouse and keyboard multiplexor
193pseudo-device	clockctl		# user control of clock subsystem
194pseudo-device	ksyms			# /dev/ksyms
195pseudo-device	nsmb			# SMB requester
196pseudo-device   bpfilter        8       # Berkeley packet filter
197#pseudo-device	pf			# PF packet filter
198#pseudo-device	pflog			# PF log if
199
200options		OFWOEA_WSCONS_NO_ROM_FONT
201options		EXSTORAGE_MAX=24
202
203# Enable the hooks used for initializing the ram-disk.
204#options 	MEMORY_DISK_HOOKS
205#options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
206#options 	MEMORY_DISK_ROOT_SIZE=5000	# 25000 KiB
207#options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
208#options		MEMORY_DISK_SERVER=1
209