POWERMAC_G5 revision 1.48
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
10#options 	OFWOEA_DEBUG
11#no makeoptions	MACHINE_ARCH
12#makeoptions	MACHINE_ARCH="powerpc64"
13
14options 	ALTIVEC		# Include AltiVec support
15options 	EXSTORAGE_MAX=64
16#options 	MULTIPROCESSOR
17
18# Standard system options
19options 	INSECURE	# disable kernel security levels
20
21options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
22options 	NTP		# NTP phase/frequency locked loop
23options 	KTRACE		# system call tracing via ktrace(1)
24
25options 	SYSVMSG		# System V message queues
26options 	SYSVSEM		# System V semaphores
27#options 	SEMMNI=10	# number of semaphore identifiers
28#options 	SEMMNS=60	# number of semaphores in system
29#options 	SEMUME=10	# max number of undo entries per process
30#options 	SEMMNU=30	# number of undo structures in system
31options 	SYSVSHM		# System V shared memory
32#options 	SHMMAXPGS=1024	# 1024 pages is the default
33
34options 	MODULAR		# loadable kernel modules
35
36options 	USERCONF	# userconf(4) support
37#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
38options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
39
40# Alternate buffer queue strategies for better responsiveness under high
41# disk I/O load.
42#options 	BUFQ_READPRIO
43options 	BUFQ_PRIOCSCAN
44
45# Diagnostic/debugging support options
46options 	DIAGNOSTIC	# cheap kernel consistency checks
47#options 	DEBUG		# expensive debugging checks/support
48options 	ZS_CONSOLE_ABORT# allow break to get into DDB on serial
49options 	DDB		# in-kernel debugger
50options 	DDB_ONPANIC=1	# don't go into ddb on panic.
51options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
52options 	TRAP_PANICWAIT
53#options 	DDB_COMMANDONENTER="bt"
54
55# Compatibility options
56include 	"conf/compat_netbsd70.config"
57#options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
58
59# File systems
60file-system 	FFS		# UFS
61file-system 	MFS		# memory file system
62file-system 	TMPFS		# memory file system
63file-system 	KERNFS		# /kern
64file-system 	PROCFS		# /proc
65file-system 	NFS		# Network File System client
66file-system 	CD9660		# ISO 9660 + Rock Ridge file system
67file-system 	MSDOSFS		# MS-DOS file system
68file-system	PTYFS		# /dev/pts/N support
69#file-system	HFS		# experimental - Apple HFS+ (read-only)
70
71# File system options
72options 	QUOTA		# legacy UFS quotas
73options 	QUOTA2		# new, in-filesystem UFS quotas
74#options 	FFS_EI		# FFS Endian Independant support
75options 	WAPBL		# File system journaling support
76#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
77#options 	NFSSERVER	# Network File System server
78#options 	FFS_NO_SNAPSHOT	# ffs snapshots
79#options 	UFS_EXTATTR	# Extended attribute support for UFS1
80#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
81				# immutable) behave as system flags.
82#options 	APPLE_UFS	# Apple UFS support in FFS
83# Networking options
84#options 	GATEWAY		# packet forwarding
85options 	INET		# IP + ICMP + TCP + UDP
86options 	INET6		# IPV6
87
88# These options enable verbose messages for several subsystems.
89# Warning, these may compile large string tables into the kernel!
90#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
91#options 	MIIVERBOSE	# verbose PHY autoconfig messages
92#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
93
94# wscons options
95#options 	WSEMUL_SUN			# sun terminal emulation
96options 	WSEMUL_VT100			# VT100 / VT220 emulation
97#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
98#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
99options 	WS_DEFAULT_FG=WSCOL_BLACK
100options 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
101options 	WS_KERNEL_FG=WSCOL_GREEN
102options 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
103options 	FONT_GALLANT12x22
104
105# Kernel root file system and dump configuration.
106config		netbsd	root on ? type ?
107#config		netbsd	root on gem0 type nfs
108options         NFS_BOOT_DHCP
109
110#
111# Device configuration
112#
113
114mainbus* at root
115
116cpu0 	at mainbus?
117uni_n*	at mainbus?
118memory* at mainbus?
119spdmem* at memory? addr ?
120ki2c*	at uni_n?			# Keywest I2C
121
122ibmcpc* 	at mainbus?
123uninorth* 	at mainbus?
124smu* 		at mainbus?
125#options 	SMU_DEBUG
126smuiic* 	at smu?
127iic* 		at smuiic?
128
129
130pci*	at ibmcpc? bus ?
131pci*	at uninorth? bus ?
132pci*	at ppb? bus ?
133
134pchb*	at pci? dev ? function ?	# PCI-Host bridges
135ppb*	at pci? dev ? function ?	# PCI-PCI bridges
136
137obio0		at pci? dev ? function ?
138zsc*		at obio?
139zstty*		at zsc? channel ?
140snapper* 	at obio?
141ki2c*		at obio?	# Keywest I2C
142iic*		at i2cbus?
143
144admtemp* 	at iic?
145lmtemp* 	at iic?
146dstemp* 	at iic?
147adadc* 		at iic?
148fcu* 		at iic?
149smusat* 	at iic?
150deq* 		at iic?
151
152pmu* 		at obio?	# Apple PMU
153
154# Audio support
155audio*	at audiobus?
156
157spkr*	at audio?		# PC speaker (synthesized)
158wsbell* at spkr?
159
160gem*	at pci? dev ? function ?	# gmac ethernet
161#options 	GEM_DEBUG
162bge*	at pci? dev ? function ?	# borgcom ethernet
163bmtphy*	at mii? phy ?			# Broadcom BCM5201/BCM5202 PHYs
164brgphy*	at mii? phy ?			# Broadcom BCM5400 PHYs
165ukphy*	at mii? phy ?			# generic unknown PHYs
166
167# PCI IEEE1394 controllers
168#fwohci*	at pci? dev ? function ?	# IEEE1394 Open Host Controller
169
170# IEEE1394 nodes
171#ieee1394if* at fwohci?
172#fwip*	at ieee1394if?			# IP over IEEE1394
173#sbp*	at ieee1394if? euihi ? euilo ?
174#scsibus* at sbp?
175
176
177# PCI USB controllers
178ohci*	at pci? dev ? function ?	# USB Open Host Controller
179ehci*	at pci? dev ? function ?	# USB Enhanced Host Controller
180
181usb*	at ohci?					# USB bus support
182usb*	at ehci?					# USB bus support
183uhub*	at usb?						# USB Hubs
184uhub*	at uhub? port ?
185uhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
186uhid*	at uhidev? reportid ?				# USB Generic HID
187ukbd*	at uhidev? reportid ?				# USB Keyboards
188wskbd*	at ukbd? console ?
189ums*	at uhidev? reportid ?				# USB Mice
190wsmouse* at ums?
191
192genfb*	at pci? dev ? function ?	# Generic Open Firmware Framebuffer
193gffb*	at pci? dev ? function ?	# some iMacs have nvidia graphics chips
194radeonfb*	at pci? dev ? function ?
195options 	RADEONFB_ALWAYS_ACCEL_PUTCHAR
196
197#radeon* 	at pci? dev ? function ?
198#radeondrmkmsfb* at radeonfbbus?
199
200#pciide* at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
201wdc* 	at pci? dev ? function ?		# Kauai ATA
202svwsata* at pci? dev ? function ?		# ServerWorks SATA controllers
203siisata* at pci? dev ? function ?		# SiI SteelVine controllers
204#options 	ATADEBUG
205
206obio*	at pci? dev ? function ?
207zsc*	at obio?
208zstty*	at zsc? channel ?
209
210wsdisplay0	at wsemuldisplaydev? console 1
211wsdisplay*	at wsemuldisplaydev?
212
213atabus* at ata?
214wd*	at atabus? drive ? flags 0x0000
215atapibus* at atapi?
216cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
217sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
218uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
219
220
221#pseudo-device 	crypto			# opencrypto framework
222					# (disabled, requires generic softints)
223pseudo-device	vnd			# disk-like interface to files
224#pseudo-device	md			# memory disk device
225pseudo-device	loop			# network loopback
226pseudo-device	pty			# pseudo-terminals
227pseudo-device	openfirm		# /dev/openfirm
228pseudo-device	wsmux			# mouse and keyboard multiplexor
229pseudo-device	clockctl		# user control of clock subsystem
230pseudo-device	drvctl			# user control of drive subsystem
231pseudo-device	ksyms			# /dev/ksyms
232pseudo-device	bpfilter		# packet filter
233#pseudo-device	npf			# NPF packet filter
234
235# Enable the hooks used for initializing the ram-disk.
236#options 	MEMORY_DISK_HOOKS
237#options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
238#options 	MEMORY_DISK_ROOT_SIZE=4096	# 2 Megabytes
239#options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
240