POWERMAC_G5_11_2 revision 1.9
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
59#options 	QUOTA		# legacy UFS quotas
60#options 	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
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?
113uninorth*	at mainbus?
114memory* at mainbus?
115spdmem* at memory? addr ?
116
117uni_n*	at mainbus?
118ki2c*	at uni_n?			# Keywest I2C
119
120smu* 		at mainbus?
121#options 	SMU_DEBUG
122smuiic* 	at smu?
123#iic* 		at smuiic?
124smusat* 	at smuiic?
125
126pci*	at ibmcpc? bus ?
127pci*	at uninorth? bus ?
128pci*	at ppb? bus ?
129
130pchb*	at pci? dev ? function ?	# PCI-Host bridges
131ppb*	at pci? dev ? function ?	# PCI-PCI bridges
132
133obio0		at pci? dev ? function ?
134zsc*		at obio?
135zstty*		at zsc? channel ?
136#snapper* 	at obio?
137ki2c*		at obio?	# Keywest I2C
138iic*		at ki2c?
139
140admtemp* 	at iic?
141lmtemp* 	at iic?
142dstemp* 	at iic?
143deq* 		at iic?
144
145# Audio support
146#audio*	at audiobus?
147
148#spkr*	at audio?		# PC speaker (synthesized)
149#wsbell* at spkr?
150
151bge*	at pci? dev ? function ?	# gmac ethernet
152brgphy*	at mii? phy ?			# Broadcom BCM5400 PHYs
153ukphy*	at mii? phy ?			# generic unknown PHYs
154
155# PCI USB controllers
156ohci*	at pci? dev ? function ?	# USB Open Host Controller
157ehci*	at pci? dev ? function ?	# USB Enhanced Host Controller
158
159usb*	at ohci?					# USB bus support
160uhub*	at usb?						# USB Hubs
161uhub*	at uhub? port ?
162uhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
163uhid*	at uhidev? reportid ?				# USB Generic HID
164ukbd*	at uhidev? reportid ?				# USB Keyboards
165wskbd*	at ukbd? console ?
166ums*	at uhidev? reportid ?				# USB Mice
167wsmouse* at ums?
168
169genfb*	at pci? dev ? function ?
170wdc* 	at pci? dev ? function ?		# Kauai ATA
171#svwsata* at pci? dev ? function ?		# ServerWorks SATA controllers
172obio*	at pci? dev ? function ?
173zsc*	at obio?
174zstty*	at zsc? channel ?
175
176wsdisplay0	at wsemuldisplaydev? console 1
177wsdisplay*	at wsemuldisplaydev?
178
179atabus* at ata?
180wd*	at atabus? drive ? flags 0x0000
181atapibus* at atapi?
182cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
183sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
184uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
185
186#pseudo-device 	crypto			# opencrypto framework
187					# (disabled, requires generic softints)
188pseudo-device	vnd		4	# disk-like interface to files
189pseudo-device	md			# memory disk device
190pseudo-device	loop			# network loopback
191pseudo-device	pty			# pseudo-terminals
192pseudo-device	openfirm		# /dev/openfirm
193pseudo-device	wsmux			# mouse and keyboard multiplexor
194pseudo-device	clockctl		# user control of clock subsystem
195pseudo-device	ksyms			# /dev/ksyms
196pseudo-device	nsmb			# SMB requester
197pseudo-device   bpfilter        8       # Berkeley packet filter
198#pseudo-device	pf			# PF packet filter
199#pseudo-device	pflog			# PF log if
200
201options		OFWOEA_WSCONS_NO_ROM_FONT
202options		EXSTORAGE_MAX=24
203
204# Enable the hooks used for initializing the ram-disk.
205#options 	MEMORY_DISK_HOOKS
206#options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
207#options 	MEMORY_DISK_ROOT_SIZE=5000	# 25000 KiB
208#options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
209#options		MEMORY_DISK_SERVER=1
210