summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/conf/POWERMAC_G5
blob: a7e589c604feb806c4e52bb672d5a9680e64e413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
# Lean and mean config file for the POWERMAC G5
# Author: Sanjay Lal <sanjayl@kymasys.com>

include		"arch/macppc/conf/std.macppc.g5"

options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
maxusers	32

options 	PMAC_G5
#options 	OFWOEA_DEBUG
#no makeoptions	MACHINE_ARCH
#makeoptions	MACHINE_ARCH="powerpc64"

options 	ALTIVEC		# Include AltiVec support
options 	EXSTORAGE_MAX=64
#options 	MULTIPROCESSOR

# Standard system options
options 	INSECURE	# disable kernel security levels

options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
options 	NTP		# NTP phase/frequency locked loop
options 	KTRACE		# system call tracing via ktrace(1)

options 	SYSVMSG		# System V message queues
options 	SYSVSEM		# System V semaphores
#options 	SEMMNI=10	# number of semaphore identifiers
#options 	SEMMNS=60	# number of semaphores in system
#options 	SEMUME=10	# max number of undo entries per process
#options 	SEMMNU=30	# number of undo structures in system
options 	SYSVSHM		# System V shared memory
#options 	SHMMAXPGS=1024	# 1024 pages is the default

options 	MODULAR		# loadable kernel modules

options 	USERCONF	# userconf(4) support
#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel

# Alternate buffer queue strategies for better responsiveness under high
# disk I/O load.
#options 	BUFQ_READPRIO
options 	BUFQ_PRIOCSCAN

# Diagnostic/debugging support options
options 	DIAGNOSTIC	# cheap kernel consistency checks
#options 	DEBUG		# expensive debugging checks/support
options 	ZS_CONSOLE_ABORT# allow break to get into DDB on serial
options 	DDB		# in-kernel debugger
options 	DDB_ONPANIC=1	# don't go into ddb on panic.
options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
options 	TRAP_PANICWAIT
#options 	DDB_COMMANDONENTER="bt"

# Compatibility options
include 	"conf/compat_netbsd70.config"
#options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

# Wedge support
options         DKWEDGE_AUTODISCOVER    # Automatically add dk(4) instances
options         DKWEDGE_METHOD_GPT      # Supports GPT partitions as wedges
#options	DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges
#options	DKWEDGE_METHOD_MBR      # Support MBR partitions as wedges
#options	DKWEDGE_METHOD_APPLE    # Support Apple partitions as wedges
#options 	DKWEDGE_METHOD_RDB	# Support RDB partitions as wedges

# File systems
file-system 	FFS		# UFS
file-system 	MFS		# memory file system
file-system 	TMPFS		# memory file system
file-system 	KERNFS		# /kern
file-system 	PROCFS		# /proc
file-system 	NFS		# Network File System client
file-system 	CD9660		# ISO 9660 + Rock Ridge file system
file-system 	MSDOSFS		# MS-DOS file system
file-system	PTYFS		# /dev/pts/N support
#file-system	HFS		# experimental - Apple HFS+ (read-only)

# File system options
#options 	APPLE_UFS	# Apple UFS support in FFS
#options 	FFS_EI		# FFS Endian Independent support
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
options 	QUOTA		# legacy UFS quotas
options 	QUOTA2		# new, in-filesystem UFS quotas
options 	UFS_DIRHASH	# UFS Large Directory Hashing
#options 	UFS_EXTATTR	# Extended attribute support for UFS1
options 	WAPBL		# File system journaling support
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.
#options 	NFSSERVER	# Network File System server

# Networking options
#options 	GATEWAY		# packet forwarding
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPV6

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
#options 	MIIVERBOSE	# verbose PHY autoconfig messages
#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space

# wscons options
#options 	WSEMUL_SUN			# sun terminal emulation
options 	WSEMUL_VT100			# VT100 / VT220 emulation
options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
options 	WS_DEFAULT_FG=WSCOL_BLACK
options 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
options 	WS_KERNEL_FG=WSCOL_GREEN
options 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
options 	FONT_GALLANT12x22

# Kernel root file system and dump configuration.
config		netbsd	root on ? type ?
#config		netbsd	root on gem0 type nfs
options         NFS_BOOT_DHCP

#
# Device configuration
#

mainbus* at root

cpu0 	at mainbus?
uni_n*	at mainbus?
memory* at mainbus?
spdmem* at memory? addr ?
ki2c*	at uni_n?			# Keywest I2C

ibmcpc* 	at mainbus?
uninorth* 	at mainbus?
smu* 		at mainbus?
#options 	SMU_DEBUG
smuiic* 	at smu?
iic* 		at smuiic?


pci*	at ibmcpc? bus ?
pci*	at uninorth? bus ?
pci*	at ppb? bus ?

pchb*	at pci? dev ? function ?	# PCI-Host bridges
ppb*	at pci? dev ? function ?	# PCI-PCI bridges

obio0		at pci? dev ? function ?
zsc*		at obio?
zstty*		at zsc? channel ?
snapper* 	at obio?
ki2c*		at obio?	# Keywest I2C
iic*		at i2cbus?

admtemp* 	at iic?
lmtemp* 	at iic?
dstemp* 	at iic?
adadc* 		at iic?
fcu* 		at iic?
smusat* 	at iic?
deq* 		at iic?

obiofan* 	at obio?	# PSU fan on PowerMac7,3

pmu* 		at obio?	# Apple PMU

# Audio support
audio*	at audiobus?

spkr*	at audio?		# PC speaker (synthesized)
wsbell* at spkr?

gem*	at pci? dev ? function ?	# gmac ethernet
#options 	GEM_DEBUG
bge*	at pci? dev ? function ?	# borgcom ethernet
bmtphy*	at mii? phy ?			# Broadcom BCM5201/BCM5202 PHYs
brgphy*	at mii? phy ?			# Broadcom BCM5400 PHYs
ukphy*	at mii? phy ?			# generic unknown PHYs

# PCI IEEE1394 controllers
#fwohci*	at pci? dev ? function ?	# IEEE1394 Open Host Controller

# IEEE1394 nodes
#ieee1394if* at fwohci?
#fwip*	at ieee1394if?			# IP over IEEE1394
#sbp*	at ieee1394if? euihi ? euilo ?
#scsibus* at sbp?


# PCI USB controllers
ohci*	at pci? dev ? function ?	# USB Open Host Controller
ehci*	at pci? dev ? function ?	# USB Enhanced Host Controller

usb*	at ohci?					# USB bus support
usb*	at ehci?					# USB bus support
uhub*	at usb?						# USB Hubs
uhub*	at uhub? port ?
uhidev*	at uhub? port ? configuration ? interface ?	# USB HID device
uhid*	at uhidev? reportid ?				# USB Generic HID
ukbd*	at uhidev? reportid ?				# USB Keyboards
wskbd*	at ukbd? console ?
ums*	at uhidev? reportid ?				# USB Mice
wsmouse* at ums?

genfb*	at pci? dev ? function ?	# Generic Open Firmware Framebuffer
gffb*	at pci? dev ? function ?	# some iMacs have nvidia graphics chips
radeonfb*	at pci? dev ? function ?
options 	RADEONFB_ALWAYS_ACCEL_PUTCHAR

#radeon* 	at pci? dev ? function ?
#radeondrmkmsfb* at radeonfbbus?

#pciide* at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
wdc* 	at pci? dev ? function ?		# Kauai ATA
svwsata* at pci? dev ? function ?		# ServerWorks SATA controllers
siisata* at pci? dev ? function ?		# SiI SteelVine controllers
#options 	ATADEBUG

obio*	at pci? dev ? function ?
zsc*	at obio?
zstty*	at zsc? channel ?

wsdisplay0	at wsemuldisplaydev? console 1
wsdisplay*	at wsemuldisplaydev?

atabus* at ata?
wd*	at atabus? drive ? flags 0x0000
atapibus* at atapi?
cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown


pseudo-device 	crypto			# /dev/crypto device
pseudo-device	swcrypto		# software crypto implementation
pseudo-device	vnd			# disk-like interface to files
#pseudo-device	md			# memory disk device
pseudo-device	loop			# network loopback
pseudo-device	pty			# pseudo-terminals
pseudo-device	openfirm		# /dev/openfirm
pseudo-device	wsmux			# mouse and keyboard multiplexor
pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	drvctl			# user control of drive subsystem
pseudo-device	ksyms			# /dev/ksyms
pseudo-device	bpfilter		# packet filter
#pseudo-device	npf			# NPF packet filter

# Enable the hooks used for initializing the ram-disk.
#options 	MEMORY_DISK_HOOKS
#options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
#options 	MEMORY_DISK_ROOT_SIZE=4096	# 2 Megabytes
#options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode

# Pull in optional local configuration - always at end
cinclude	"arch/macppc/conf/POWERMAC_G5.local"