POWERMAC_G5_11_2 revision 1.19
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	TMPFS		# Efficient memory file-system
55file-system 	KERNFS		# /kern
56file-system 	PROCFS		# /proc
57file-system 	NFS		# Network File System client
58file-system	PTYFS		# /dev/pts/N support
59
60# File system options
61#options 	QUOTA		# legacy UFS quotas
62#options 	QUOTA2		# new, in-filesystem UFS quotas
63#options 	FFS_EI		# FFS Endian Independent support
64options 	WAPBL		# File system journaling support
65#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
66#options 	NFSSERVER	# Network File System server
67#options 	FFS_NO_SNAPSHOT	# ffs snapshots
68#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
69				# immutable) behave as system flags.
70#options 	APPLE_UFS	# Apple UFS support in FFS
71# Networking options
72#options 	GATEWAY		# packet forwarding
73options 	INET		# IP + ICMP + TCP + UDP
74options 	INET6		# IPV6
75
76# These options enable verbose messages for several subsystems.
77# Warning, these may compile large string tables into the kernel!
78options 	PCIVERBOSE	# verbose PCI device autoconfig messages
79options 	MIIVERBOSE	# verbose PHY autoconfig messages
80#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
81
82# wscons options
83#options 	WSEMUL_SUN			# sun terminal emulation
84options 	WSEMUL_VT100			# VT100 / VT220 emulation
85options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
86
87options 	WS_DEFAULT_FG=WSCOL_BLACK
88options 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
89options 	WS_KERNEL_FG=WSCOL_GREEN
90options 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
91
92#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
93options 	FONT_GALLANT12x22
94
95# Kernel root file system and dump configuration.
96config		netbsd	root on ? type ?
97#config		netbsd	root on gem0 type nfs
98options 	NFS_BOOT_DHCP
99#options 	NFS_BOOT_BOOTPARAM
100
101#
102# Device configuration
103#
104
105mainbus* at root
106
107cpu*	at mainbus?
108options 	MULTIPROCESSOR
109ibmcpc* at mainbus?
110uninorth*	at mainbus?
111memory* at mainbus?
112spdmem* at memory? addr ?
113
114uni_n*	at mainbus?
115ki2c*	at uni_n?			# Keywest I2C
116
117smu* 		at mainbus?
118#options 	SMU_DEBUG
119smuiic* 	at smu?
120iic* 		at smuiic?
121
122pci*	at ibmcpc? bus ?
123pci*	at uninorth? bus ?
124pci*	at ppb? bus ?
125
126pchb*	at pci? dev ? function ?	# PCI-Host bridges
127ppb*	at pci? dev ? function ?	# PCI-PCI bridges
128
129obio0		at pci? dev ? function ?
130zsc*		at obio?
131zstty*		at zsc? channel ?
132snapper* 	at obio?
133ki2c*		at obio?	# Keywest I2C
134iic*		at ki2c?
135
136admtemp* 	at iic?
137lmtemp* 	at iic?
138dstemp* 	at iic?
139smusat* 	at iic?
140deq* 		at iic?
141
142# Audio support
143audio*	at audiobus?
144
145spkr*	at audio?		# PC speaker (synthesized)
146wsbell* at spkr?
147
148bge*	at pci? dev ? function ?	# gmac ethernet
149brgphy*	at mii? phy ?			# Broadcom BCM5400 PHYs
150ukphy*	at mii? phy ?			# generic unknown PHYs
151
152# PCI USB controllers
153ohci*	at pci? dev ? function ?	# USB Open Host Controller
154ehci*	at pci? dev ? function ?	# USB Enhanced Host Controller
155
156usb*	at ohci?					# USB bus support
157usb*	at ehci?					# USB bus support
158uhub*	at usb?						# USB Hubs
159uhub*	at uhub? port ?
160uhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
161uhid*	at uhidev? reportid ?				# USB Generic HID
162ukbd*	at uhidev? reportid ?				# USB Keyboards
163wskbd*	at ukbd? console ?
164ums*	at uhidev? reportid ?				# USB Mice
165wsmouse* at ums?
166
167genfb*	at pci? dev ? function ?
168wdc* 	at pci? dev ? function ?		# Kauai ATA
169svwsata* at pci? dev ? function ?		# ServerWorks SATA controllers
170obio*	at pci? dev ? function ?
171zsc*	at obio?
172zstty*	at zsc? channel ?
173
174wsdisplay0	at wsemuldisplaydev? console 1
175wsdisplay*	at wsemuldisplaydev?
176
177atabus* at ata?
178wd*	at atabus? drive ? flags 0x0000
179atapibus* at atapi?
180cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
181sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
182uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
183
184#pseudo-device 	crypto			# opencrypto framework
185					# (disabled, requires generic softints)
186pseudo-device	vnd		4	# disk-like interface to files
187pseudo-device	md			# memory disk device
188pseudo-device	loop			# network loopback
189pseudo-device	pty			# pseudo-terminals
190pseudo-device	openfirm		# /dev/openfirm
191pseudo-device	wsmux			# mouse and keyboard multiplexor
192pseudo-device	clockctl		# user control of clock subsystem
193pseudo-device	ksyms			# /dev/ksyms
194pseudo-device   bpfilter        8       # Berkeley packet filter
195#pseudo-device	npf			# NPF packet filter
196
197options		EXSTORAGE_MAX=24
198
199# Enable the hooks used for initializing the ram-disk.
200#options 	MEMORY_DISK_HOOKS
201#options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
202#options 	MEMORY_DISK_ROOT_SIZE=5000	# 25000 KiB
203#options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
204#options		MEMORY_DISK_SERVER=1
205