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