POWERMAC_G5_11_2 revision 1.22
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 	COPY_SYMTAB=1	# in case of directly booted from ofw
46makeoptions 	DEBUG="-g"	# compile full symbol table
47
48# Compatibility options
49include 	"conf/compat_netbsd30.config"
50#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
51
52# File systems
53file-system 	FFS		# UFS
54file-system 	MFS		# memory file system
55file-system	TMPFS		# Efficient memory file-system
56file-system 	KERNFS		# /kern
57file-system 	PROCFS		# /proc
58file-system 	NFS		# Network File System client
59file-system	PTYFS		# /dev/pts/N support
60
61# File system options
62#options 	APPLE_UFS	# Apple UFS support in FFS
63#options 	FFS_EI		# FFS Endian Independent support
64#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
65#options 	QUOTA		# legacy UFS quotas
66#options 	QUOTA2		# new, in-filesystem UFS quotas
67options 	UFS_DIRHASH	# UFS Large Directory Hashing
68#options 	UFS_EXTATTR	# Extended attribute support for UFS1
69options 	WAPBL		# File system journaling support
70#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
71				# immutable) behave as system flags.
72#options 	NFSSERVER	# Network File System server
73
74# Networking options
75#options 	GATEWAY		# packet forwarding
76options 	INET		# IP + ICMP + TCP + UDP
77options 	INET6		# IPV6
78
79# These options enable verbose messages for several subsystems.
80# Warning, these may compile large string tables into the kernel!
81options 	PCIVERBOSE	# verbose PCI device autoconfig messages
82options 	MIIVERBOSE	# verbose PHY autoconfig messages
83#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
84
85# wscons options
86#options 	WSEMUL_SUN			# sun terminal emulation
87options 	WSEMUL_VT100			# VT100 / VT220 emulation
88options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
89
90options 	WS_DEFAULT_FG=WSCOL_BLACK
91options 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
92options 	WS_KERNEL_FG=WSCOL_GREEN
93options 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
94
95#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
96options 	FONT_GALLANT12x22
97
98# Kernel root file system and dump configuration.
99config		netbsd	root on ? type ?
100#config		netbsd	root on gem0 type nfs
101options 	NFS_BOOT_DHCP
102#options 	NFS_BOOT_BOOTPARAM
103
104#
105# Device configuration
106#
107
108mainbus* at root
109
110cpu*	at mainbus?
111options 	MULTIPROCESSOR
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?
123iic* 		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 ?
135snapper* 	at obio?
136ki2c*		at obio?	# Keywest I2C
137iic*		at ki2c?
138
139admtemp* 	at iic?
140lmtemp* 	at iic?
141dstemp* 	at iic?
142smusat* 	at iic?
143deq* 		at iic?
144
145# Audio support
146audio*	at audiobus?
147
148spkr*	at audio?		# PC speaker (synthesized)
149wsbell* 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
160usb*	at ehci?					# USB bus support
161uhub*	at usb?						# USB Hubs
162uhub*	at uhub? port ?
163uhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
164uhid*	at uhidev? reportid ?				# USB Generic HID
165ukbd*	at uhidev? reportid ?				# USB Keyboards
166wskbd*	at ukbd? console ?
167ums*	at uhidev? reportid ?				# USB Mice
168wsmouse* at ums?
169
170genfb*	at pci? dev ? function ?
171wdc* 	at pci? dev ? function ?		# Kauai ATA
172svwsata* at pci? dev ? function ?		# ServerWorks SATA controllers
173obio*	at pci? dev ? function ?
174zsc*	at obio?
175zstty*	at zsc? channel ?
176
177wsdisplay0	at wsemuldisplaydev? console 1
178wsdisplay*	at wsemuldisplaydev?
179
180atabus* at ata?
181wd*	at atabus? drive ? flags 0x0000
182atapibus* at atapi?
183cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
184sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
185uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
186
187pseudo-device 	crypto			# /dev/crypto device
188pseudo-device	swcrypto		# software crypto implementation
189pseudo-device	vnd		4	# disk-like interface to files
190pseudo-device	md			# memory disk device
191pseudo-device	loop			# network loopback
192pseudo-device	pty			# pseudo-terminals
193pseudo-device	openfirm		# /dev/openfirm
194pseudo-device	wsmux			# mouse and keyboard multiplexor
195pseudo-device	clockctl		# user control of clock subsystem
196pseudo-device	ksyms			# /dev/ksyms
197pseudo-device   bpfilter        8       # Berkeley packet filter
198#pseudo-device	npf			# NPF packet filter
199
200options		EXSTORAGE_MAX=24
201
202# Enable the hooks used for initializing the ram-disk.
203#options 	MEMORY_DISK_HOOKS
204#options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
205#options 	MEMORY_DISK_ROOT_SIZE=5000	# 25000 KiB
206#options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
207#options		MEMORY_DISK_SERVER=1
208