xref: /netbsd-src/sys/arch/macppc/conf/POWERMAC_G5 (revision b1c86f5f087524e68db12794ee9c3e3da1ab17a0)
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
26options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
27
28
29options 	USERCONF	# userconf(4) support
30#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
31options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
32
33# Enable experimental buffer queue strategy for better responsiveness under
34# high disk I/O load. Use it with caution - it's not proven to be stable yet.
35#options 	NEW_BUFQ_STRATEGY
36
37# Diagnostic/debugging support options
38options 	DIAGNOSTIC	# cheap kernel consistency checks
39options 	DEBUG		# expensive debugging checks/support
40options 	ZS_CONSOLE_ABORT# allow break to get into DDB on serial
41options 	DDB		# in-kernel debugger
42options 	DDB_ONPANIC=1	# don't go into ddb on panic.
43options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
44options 	TRAP_PANICWAIT
45
46makeoptions 	DEBUG="-g"	# compile full symbol table
47
48# Compatibility options
49options 	COMPAT_30	# NetBSD 3.0 compatibility.
50options 	COMPAT_40	# NetBSD 4.0 compatibility.
51options 	COMPAT_43	# and 4.3BSD
52#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
53#options 	COMPAT_DARWIN	# Darwin binary compatibility (experimental)
54#options 	COMPAT_MACH	# Mach compatibility, needed for COMPAT_DARWIN
55#options 	EXEC_MACHO	# Mach-O binary support, needed for COMPAT_MACH
56#options 	DEBUG_DARWIN	# COMPAT_DARWIN debugging
57#options 	DEBUG_MACH	# COMPAT_MACH debugging
58#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
59options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
60
61# File systems
62file-system 	FFS		# UFS
63file-system 	MFS		# memory file system
64file-system 	KERNFS		# /kern
65file-system 	PROCFS		# /proc
66file-system 	NFS		# Network File System client
67
68# File system options
69options 	QUOTA		# UFS quotas
70#options 	FFS_EI		# FFS Endian Independant support
71#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
72#options 	NFSSERVER	# Network File System server
73#options 	FFS_NO_SNAPSHOT	# ffs snapshots
74#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
75				# immutable) behave as system flags.
76#options 	APPLE_UFS	# Apple UFS support in FFS
77# Networking options
78#options 	GATEWAY		# packet forwarding
79options 	INET		# IP + ICMP + TCP + UDP
80
81# These options enable verbose messages for several subsystems.
82# Warning, these may compile large string tables into the kernel!
83options 	PCIVERBOSE	# verbose PCI device autoconfig messages
84options 	MIIVERBOSE	# verbose PHY autoconfig messages
85#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
86
87# wscons options
88#options 	WSEMUL_SUN			# sun terminal emulation
89options 	WSEMUL_VT100			# VT100 / VT220 emulation
90#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
91options 	FONT_GALLANT12x22
92
93# Optional Mac keyboard tweaks
94
95# Tweak the keyboard driver to treat the caps lock key on an ADB
96# keyboard as a control key; requires special remapping because of
97# ADB's strange emulation of a mechanically-locked key.
98#options 	CAPS_IS_CONTROL
99
100# On Mac laptops, several function keys double as "hot keys"
101# (brightness, volume, eject) when the Fn modifier is held down.  Mac
102# OS X likes to reprogram the keyboard controller to send hot key
103# events when Fn is not held down and send function key events when it
104# is.  This option transforms the non-keyboard "button" events back
105# into function key events.
106#options 	FORCE_FUNCTION_KEYS
107
108# Kernel root file system and dump configuration.
109config		netbsd	root on ? type ?
110#config		netbsd	root on gem0 type nfs
111#options         NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
112
113#
114# Device configuration
115#
116
117mainbus* at root
118
119cpu*	at mainbus?
120ibmcpc* at mainbus?
121
122pci*	at ibmcpc? bus ?
123pci*	at ppb? bus ?
124
125pchb*	at pci? dev ? function ?	# PCI-Host bridges
126ppb*	at pci? dev ? function ?	# PCI-PCI bridges
127
128gem*	at pci? dev ? function ?	# gmac ethernet
129ukphy*	at mii? phy ?			# generic unknown PHYs
130
131# PCI IEEE1394 controllers
132#fwohci*	at pci? dev ? function ?	# IEEE1394 Open Host Controller
133
134# IEEE1394 nodes
135#ieee1394if* at fwohci?
136#fwip*	at ieee1394if?			# IP over IEEE1394
137#sbp*	at ieee1394if? euihi ? euilo ?
138#scsibus* at sbp?
139
140
141# PCI USB controllers
142ohci*	at pci? dev ? function ?	# USB Open Host Controller
143#ehci*	at pci? dev ? function ?	# USB Enhanced Host Controller
144
145usb*	at ohci?					# USB bus support
146uhub*	at usb?						# USB Hubs
147uhub*	at uhub? port ?
148uhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
149uhid*	at uhidev? reportid ?				# USB Generic HID
150ukbd*	at uhidev? reportid ?				# USB Keyboards
151wskbd*	at ukbd? console ?
152ums*	at uhidev? reportid ?				# USB Mice
153wsmouse* at ums?
154
155# Other  PCI devices
156#ofb*	at pci? dev ? function ?	# Generic Open Firmware Framebuffer
157# OFB_ENABLE_CACHE speeds up the console on many machines, but should
158# not be enabled on some older machines, such as the rev. A-D iMacs.
159#options 	OFB_ENABLE_CACHE	# Speed up console
160pciide* at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
161svwsata* at pci? dev ? function ?		# ServerWorks SATA controllers
162obio*	at pci? dev ? function ?
163zsc*	at obio?
164zstty*	at zsc? channel ?
165
166# PCI serial interfaces
167nvram*	at obio?			# nvram
168#wsdisplay0 at ofb? console ?
169
170atabus* at ata?
171wd*	at atabus? drive ? flags 0x0000
172atapibus* at atapi?
173cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
174sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
175uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
176
177
178#pseudo-device 	crypto			# opencrypto framework
179					# (disabled, requires generic softints)
180pseudo-device	vnd		4	# disk-like interface to files
181pseudo-device	md		1	# memory disk device
182pseudo-device	loop			# network loopback
183pseudo-device	pty			# pseudo-terminals
184pseudo-device	rnd			# /dev/random and in-kernel generator
185pseudo-device	openfirm		# /dev/openfirm
186pseudo-device	wsmux			# mouse and keyboard multiplexor
187pseudo-device	clockctl		# user control of clock subsystem
188pseudo-device	ksyms			# /dev/ksyms
189pseudo-device	nsmb			# SMB requester
190#pseudo-device	pf			# PF packet filter
191#pseudo-device	pflog			# PF log if
192
193# Enable the hooks used for initializing the ram-disk.
194options 	MEMORY_DISK_HOOKS
195options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
196options 	MEMORY_DISK_ROOT_SIZE=4096	# 2 Megabytes
197options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
198