POWERMAC_G5 revision 1.57
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# Wedge support
60options         DKWEDGE_AUTODISCOVER    # Automatically add dk(4) instances
61options         DKWEDGE_METHOD_GPT      # Supports GPT partitions as wedges
62#options	DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges
63#options	DKWEDGE_METHOD_MBR      # Support MBR partitions as wedges
64#options	DKWEDGE_METHOD_APPLE    # Support Apple partitions as wedges
65#options 	DKWEDGE_METHOD_RDB	# Support RDB partitions as wedges
66
67# File systems
68file-system 	FFS		# UFS
69file-system 	MFS		# memory file system
70file-system 	TMPFS		# memory file system
71file-system 	KERNFS		# /kern
72file-system 	PROCFS		# /proc
73file-system 	NFS		# Network File System client
74file-system 	CD9660		# ISO 9660 + Rock Ridge file system
75file-system 	MSDOSFS		# MS-DOS file system
76file-system	PTYFS		# /dev/pts/N support
77#file-system	HFS		# experimental - Apple HFS+ (read-only)
78
79# File system options
80#options 	APPLE_UFS	# Apple UFS support in FFS
81#options 	FFS_EI		# FFS Endian Independent support
82#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
83options 	QUOTA		# legacy UFS quotas
84options 	QUOTA2		# new, in-filesystem UFS quotas
85options 	UFS_DIRHASH	# UFS Large Directory Hashing
86#options 	UFS_EXTATTR	# Extended attribute support for UFS1
87options 	WAPBL		# File system journaling support
88#options 	NFSSERVER	# Network File System server
89
90# Networking options
91#options 	GATEWAY		# packet forwarding
92options 	INET		# IP + ICMP + TCP + UDP
93options 	INET6		# IPV6
94
95# These options enable verbose messages for several subsystems.
96# Warning, these may compile large string tables into the kernel!
97#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
98#options 	MIIVERBOSE	# verbose PHY autoconfig messages
99#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
100
101# wscons options
102#options 	WSEMUL_SUN			# sun terminal emulation
103options 	WSEMUL_VT100			# VT100 / VT220 emulation
104options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
105options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
106options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
107#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
108options 	WS_DEFAULT_FG=WSCOL_BLACK
109options 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
110options 	WS_KERNEL_FG=WSCOL_GREEN
111options 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
112options 	FONT_GALLANT12x22
113
114# Kernel root file system and dump configuration.
115config		netbsd	root on ? type ?
116#config		netbsd	root on gem0 type nfs
117options         NFS_BOOT_DHCP
118
119#
120# Device configuration
121#
122
123mainbus* at root
124
125cpu0 	at mainbus?
126uni_n*	at mainbus?
127memory* at mainbus?
128spdmem* at memory? addr ?
129ki2c*	at uni_n?			# Keywest I2C
130
131ibmcpc* 	at mainbus?
132uninorth* 	at mainbus?
133smu* 		at mainbus?
134#options 	SMU_DEBUG
135smuiic* 	at smu?
136iic* 		at smuiic?
137
138
139pci*	at ibmcpc? bus ?
140pci*	at uninorth? bus ?
141pci*	at ppb? bus ?
142
143pchb*	at pci? dev ? function ?	# PCI-Host bridges
144ppb*	at pci? dev ? function ?	# PCI-PCI bridges
145
146obio0		at pci? dev ? function ?
147zsc*		at obio?
148zstty*		at zsc? channel ?
149snapper* 	at obio?
150ki2c*		at obio?	# Keywest I2C
151iic*		at i2cbus?
152
153admtemp* 	at iic?
154lmtemp* 	at iic?
155dstemp* 	at iic?
156adadc* 		at iic?
157fcu* 		at iic?
158smusat* 	at iic?
159deq* 		at iic?
160
161obiofan* 	at obio?	# PSU fan on PowerMac7,3
162
163pmu* 		at obio?	# Apple PMU
164
165# Audio support
166audio*	at audiobus?
167
168spkr*	at audio?		# PC speaker (synthesized)
169wsbell* at spkr?
170
171gem*	at pci? dev ? function ?	# gmac ethernet
172#options 	GEM_DEBUG
173bge*	at pci? dev ? function ?	# borgcom ethernet
174bmtphy*	at mii? phy ?			# Broadcom BCM5201/BCM5202 PHYs
175brgphy*	at mii? phy ?			# Broadcom BCM5400 PHYs
176ukphy*	at mii? phy ?			# generic unknown PHYs
177
178# PCI IEEE1394 controllers
179#fwohci*	at pci? dev ? function ?	# IEEE1394 Open Host Controller
180
181# IEEE1394 nodes
182#ieee1394if* at fwohci?
183#fwip*	at ieee1394if?			# IP over IEEE1394
184#sbp*	at ieee1394if? euihi ? euilo ?
185#scsibus* at sbp?
186
187
188# PCI USB controllers
189ohci*	at pci? dev ? function ?	# USB Open Host Controller
190ehci*	at pci? dev ? function ?	# USB Enhanced Host Controller
191
192usb*	at ohci?					# USB bus support
193usb*	at ehci?					# USB bus support
194uhub*	at usb?						# USB Hubs
195uhub*	at uhub? port ?
196uhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
197uhid*	at uhidev? reportid ?				# USB Generic HID
198ukbd*	at uhidev? reportid ?				# USB Keyboards
199wskbd*	at ukbd? console ?
200ums*	at uhidev? reportid ?				# USB Mice
201wsmouse* at ums?
202
203genfb*	at pci? dev ? function ?	# Generic Open Firmware Framebuffer
204gffb*	at pci? dev ? function ?	# some iMacs have nvidia graphics chips
205radeonfb*	at pci? dev ? function ?
206options 	RADEONFB_ALWAYS_ACCEL_PUTCHAR
207
208#radeon* 	at pci? dev ? function ?
209#radeondrmkmsfb* at radeonfbbus?
210
211#pciide* at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
212wdc* 	at pci? dev ? function ?		# Kauai ATA
213svwsata* at pci? dev ? function ?		# ServerWorks SATA controllers
214siisata* at pci? dev ? function ?		# SiI SteelVine controllers
215#options 	ATADEBUG
216
217obio*	at pci? dev ? function ?
218zsc*	at obio?
219zstty*	at zsc? channel ?
220
221wsdisplay0	at wsemuldisplaydev? console 1
222wsdisplay*	at wsemuldisplaydev?
223
224atabus* at ata?
225wd*	at atabus? drive ? flags 0x0000
226atapibus* at atapi?
227cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
228sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
229uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
230
231
232pseudo-device 	crypto			# /dev/crypto device
233pseudo-device	swcrypto		# software crypto implementation
234pseudo-device	vnd			# disk-like interface to files
235#pseudo-device	md			# memory disk device
236pseudo-device	loop			# network loopback
237pseudo-device	pty			# pseudo-terminals
238pseudo-device	openfirm		# /dev/openfirm
239pseudo-device	wsmux			# mouse and keyboard multiplexor
240pseudo-device	clockctl		# user control of clock subsystem
241pseudo-device	drvctl			# user control of drive subsystem
242pseudo-device	ksyms			# /dev/ksyms
243pseudo-device	bpfilter		# packet filter
244#pseudo-device	npf			# NPF packet filter
245
246# Enable the hooks used for initializing the ram-disk.
247#options 	MEMORY_DISK_HOOKS
248#options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
249#options 	MEMORY_DISK_ROOT_SIZE=4096	# 2 Megabytes
250#options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
251
252# Pull in optional local configuration - always at end
253cinclude	"arch/macppc/conf/POWERMAC_G5.local"
254