KRUPS revision 1.57
1# $NetBSD: KRUPS,v 1.57 2012/03/10 21:51:56 joerg Exp $
2# From: NetBSD: GENERIC,v 1.197 2006/12/04 23:43:35 elad Exp
3#
4# Krups (JavaStation-NC) machine description file
5#
6
7include 	"arch/sparc/conf/std.sparc"
8
9options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
10
11#ident 		"KRUPS-$Revision: 1.57 $"
12
13maxusers	32
14
15## System kernel configuration.  See options(4) for more detail.
16
17
18# Options for variants of the Sun SPARC architecure.
19# We currently support three architecture types; at least one is required.
20options 	SUN4M		# sun4m - SS10, SS20, Classic, etc.
21
22# microSPARC-IIep is PCI based sun4m (JavaStation-NC, CP1200, etc)
23# This option selects if SUN4M means "normal" 4m or IIep.  Kernels
24# with this option turned on will refuse to work on normal 4m.
25options 	MSIIEP		# microSPARC-IIep
26
27# XXX: uwe: PROM location conflicts with kernel VA space !!!
28options 	PROM_AT_F0
29makeoptions	TEXTADDR=E8004000
30
31
32## System options specific to the sparc machine type
33
34# Blink the power LED on some machines to indicate the system load.
35options 	BLINK
36
37
38#### System options that are the same for all ports
39
40## Root device configuration: change the ?'s if you are going to use a
41## nonstandard root partition (other than where the kernel is booted from)
42## and/or nonstandard root type (not ffs or nfs).  Normally this can be
43## automagically determined at boot time.
44
45config		netbsd	root on ? type ?
46
47## System call tracing (see ktrace(1)).
48options 	KTRACE
49
50## Collect statistics on kernel malloc's and free's.  This does have a
51## significant performance hit on slower machines, so it is intended for
52## diagnostic use only.
53#options 	KMEMSTATS
54
55## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
56options 	SYSVMSG		# System V message queues
57options 	SYSVSEM		# System V semaphores
58#options 	SEMMNI=10	# number of semaphore identifiers
59#options 	SEMMNS=60	# number of semaphores in system
60#options 	SEMUME=10	# max number of undo entries per process
61#options 	SEMMNU=30	# number of undo structures in system
62options 	SYSVSHM		# System V shared memory
63
64## Loadable kernel module support; still under development.
65
66#options 	USERCONF	# userconf(4) support
67#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
68options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
69
70## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
71options 	NFS_BOOT_BOOTPARAM
72#options 	NFS_BOOT_BOOTP
73options 	NFS_BOOT_DHCP
74
75
76#### wscons options
77
78# builtin terminal emulations
79options 	WSEMUL_SUN		# sun terminal emulation
80options 	WSEMUL_VT100		# VT100 / VT220 emulation
81options 	WSEMUL_DEFAULT="\"vt100\""
82
83# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
84options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
85#options 	WS_DEFAULT_FG=WSCOL_WHITE
86#options 	WS_DEFAULT_BG=WSCOL_BLACK
87#options 	WS_DEFAULT_COLATTR="(0)"
88options 	WS_KERNEL_FG=WSCOL_GREEN
89#options 	WS_KERNEL_BG=WSCOL_BLACK
90options 	WS_KERNEL_COLATTR=WSATTR_HILIT
91
92# customization of console border color
93options 	WSDISPLAY_CUSTOM_BORDER	# custom border colors via wsconsctl(8)
94#options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
95
96# compatibility to other console drivers
97options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
98options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
99options 	WSDISPLAY_COMPAT_USL		# VT handling
100options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
101
102options 	FONT_GALLANT12x22		# PROM font look-alike
103
104#options 	WSKBD_EVENT_AUTOREPEAT		# auto repeat in event mode
105#options 	WSKBD_USONLY			# strip off non-US keymaps
106
107# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
108#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
109
110# allocate a number of virtual screens at autoconfiguration time
111#options 	WSDISPLAY_DEFAULTSCREENS=4
112
113
114#### Debugging options
115
116## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
117## serial console break or keyboard reset, where the PROM would normally
118## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
119options 	DDB			# kernel dynamic debugger
120options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
121#options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
122
123## You may also use gdb, on another computer connected to this machine over
124## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
125## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
126## the minor device number encodes the PROM enumeration of the serial ports,
127## i.e.:
128## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
129## (Note: ttyc and ttyd are available only on some sun4 models)
130#options 	KGDB			# support for kernel gdb
131#options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
132#options 	KGDB_DEVRATE=38400	# baud rate
133
134
135## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
136## such that gdb(1) can be used on a kernel coredump.
137
138#makeoptions	DEBUG="-g"
139makeoptions	CPUFLAGS="-mcpu=supersparc"
140
141
142## Adds code to the kernel that does internal consistency checks, and will
143## cause the kernel to panic if corruption of internal data structures
144## is detected.
145#options 	DIAGNOSTIC	# extra kernel sanity checking
146
147## Enable (possibly expensive) debugging code that may also display messages
148## on the system console
149#options 	DEBUG
150#options 	LOCKDEBUG
151#options 	SYSCALL_DEBUG
152
153options 	MIIVERBOSE	# verbose PHY autoconfig messages
154
155## `INSECURE' turns off the kernel security level (securelevel = 0 always).
156## This allows writing to /dev/mem, loading kernel modules while multi-user,
157## and other insecurities good only for development work.  Do not use this
158## option on a production machine.
159#options 	INSECURE
160
161## `FDSCRIPTS' allows non-readable but executable scripts by providing a
162## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
163## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
164## opaque file mechanism.  Perl calls this "secure setuid scripts."
165
166#options 	FDSCRIPTS
167#options 	SETUIDSCRIPTS
168
169## Options for compatibility with previous releases foreign system binaries.
170## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
171## additional user-level utilities or system configuration files. See
172## compat_sunos(8) and compat_svr4(8).
173
174options 	COMPAT_43	# 4.3BSD system interfaces
175options 	COMPAT_10	# NetBSD 1.0 binary compatibility
176options 	COMPAT_11	# NetBSD 1.1 binary compatibility
177options 	COMPAT_12	# NetBSD 1.2 binary compatibility
178options 	COMPAT_13	# NetBSD 1.3 binary compatibility
179options 	COMPAT_14	# NetBSD 1.4 binary compatibility
180options 	COMPAT_15	# NetBSD 1.5 binary compatibility
181options 	COMPAT_16	# NetBSD 1.6 binary compatibility
182options 	COMPAT_20	# NetBSD 2.0 binary compatibility
183options 	COMPAT_30	# NetBSD 3.0 binary compatibility
184options 	COMPAT_40	# NetBSD 4.0 binary compatibility
185options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
186options 	COMPAT_SVR4	# SunOS 5.x binary compatibility
187options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
188
189## File systems.  You probably need at least one of FFS or NFS.
190file-system	FFS		# Berkeley Fast Filesystem
191file-system	NFS		# Sun NFS-compatible filesystem client
192file-system	KERNFS		# kernel data-structure filesystem
193file-system	NULLFS		# NULL layered filesystem
194file-system 	OVERLAY		# overlay file system
195file-system	MFS		# memory-based filesystem
196file-system	FDESC		# user file descriptor filesystem
197file-system	UMAPFS		# uid/gid remapping filesystem
198#file-system	LFS		# Log-based filesystem (still experimental)
199file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
200file-system	PROCFS		# /proc
201#file-system	CD9660		# ISO 9660 + Rock Ridge file system
202file-system	UNION		# union file system
203#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
204#file-system	CODA		# Coda File System; also needs vcoda (below)
205file-system	PTYFS		# /dev/pts/N support
206#file-system	TMPFS		# Efficient memory file-system
207#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
208
209## File system options.
210#options 	NFSSERVER	# Sun NFS-compatible filesystem server
211#options 	QUOTA		# legacy UFS quotas
212#options 	QUOTA2		# new, in-filesystem UFS quotas
213#options 	FFS_EI		# FFS Endian Independent support
214options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
215
216## Network protocol support.  In most environments, INET is required.
217options 	INET		# IP (Internet Protocol) v4
218options 	INET6		# IPV6
219#options 	IPSEC		# IP security
220#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
221#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
222#options 	IPSEC_DEBUG	# debug for IP security
223#options 	GATEWAY		# packet forwarding ("router switch")
224#options 	MROUTING	# packet forwarding of multicast packets
225#options 	PIM		# Protocol Independent Multicast
226#options 	DIRECTED_BROADCAST	# allow broadcasts through routers
227options 	ISO,TPIP	# OSI networking
228#options 	EON		# OSI tunneling over IP
229#options 	NETATALK	# AppleTalk (over Ethernet) protocol
230options 	NTP		# Network Time Protocol in-kernel support
231#options 	PPS_SYNC	# Add serial line synchronization for NTP
232options 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
233options 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
234options 	IPFILTER_LOOKUP	# ippool(8) support
235#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
236options 	PPP_BSDCOMP	# Add BSD compression to ppp device
237options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
238options 	PPP_FILTER	# Add active filters for ppp (via bpf)
239
240
241
242#### Main bus and CPU .. all systems.
243mainbus0 at root
244cpu0	at mainbus0
245
246#### Bus types found on SPARC systems.
247
248msiiep0	at mainbus0	# microSPARC-IIep PCIC, timer, ...
249
250mspcic0	at msiiep0	# PCI tree
251pci0	at mspcic0
252options 	PCIVERBOSE
253#options 	PCI_CONFIG_DUMP	# hangs reading IGA1682 config past offset 64
254
255ebus*	at pci?	dev ? function ?		# ebus devices
256
257
258#### Standard system devices -- all required for a given architecture
259
260# timer is part of ms-IIep PCIC
261timer0	at msiiep0
262
263## ds1287 TOD clock at EBus
264rtc*	at ebus?
265
266#### Serial port configuration
267
268## NS16x50 serial chips and clones.
269com*	at ebus?
270
271
272#### Disk controllers and disks
273
274## A disk-like interface to files.  Can be used to create floppy, CD,
275## miniroot images, etc.
276
277#pseudo-device	vnd	
278#options 	VND_COMPRESSION		# compressed vnd(4)
279
280## Memory disk device, used on boot floppies with compressed
281## kernel-plus-root-disk images.
282
283#pseudo-device	md	
284
285
286#### Network interfaces
287
288## Happy Meal Ethernet
289hme*		at pci?	dev ? function ?	# network "hme" compatible
290
291# MII/PHY support
292qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
293
294## Loopback network interface; required
295pseudo-device	loop
296
297## SLIP and CSLIP interfaces, for IP over a serial line.
298#pseudo-device	sl		
299
300## PPP, the successor to SLIP.  See pppd(8).
301#pseudo-device	ppp		
302
303## PPP over Ethernet (RFC 2516)
304#pseudo-device	pppoe
305
306## Network "tunnel" device, allowing protocol stacks to run in the userland.
307## This is used by the third-party user-mode "ppp" program, and others.
308#pseudo-device	tun		
309#pseudo-device	tap			# virtual Ethernet
310
311## Generic L3 over IP tunnel
312#pseudo-device	gre			# generic L3 over IP tunnel
313
314## Berkeley Packet Filter, required to run RARPD.  A generic C-language
315## interface that allows selective examining of incoming packets.
316pseudo-device	bpfilter
317
318#pseudo-device	carp			# Common Address Redundancy Protocol
319
320## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
321## one example of the use of the IP Filter.
322#pseudo-device	ipfilter
323
324## for IPv6
325#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
326#pseudo-device	faith			# IPv[46] tcp relay translation i/f
327#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
328
329## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
330#pseudo-device	vlan
331
332#### Audio and video devices
333
334## /dev/audio support
335audiocs*	at ebus?		# SUNW,CS4231
336audio*		at audiocs?
337
338# wscons
339pckbc*		at ebus?		# PC keyboard controller
340pckbd*		at pckbc?		# PC keyboard
341pms*		at pckbc?		# PS/2 mouse for wsmouse
342igsfb*		at pci? dev ? function ?
343wsdisplay*	at igsfb? console ?
344wskbd* 		at pckbd? console ?
345wsmouse*	at pms? mux 0
346
347
348#### Other device configuration
349
350## Pseudo ttys, required for network logins and programs like screen.
351
352pseudo-device	pty			# pseudo-terminals
353
354## Random device, used to implement /dev/random (a source of random noise),
355## and generate randomness for some kernel formulae.
356
357
358# a pseudo device needed for Coda	# also needs CODA (above)
359#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
360
361# wscons pseudo-devices
362pseudo-device	wsmux			# mouse & keyboard multiplexor
363pseudo-device	wsfont
364
365pseudo-device	clockctl		# user control of clock subsystem
366pseudo-device	ksyms			# /dev/ksyms
367pseudo-device	putter			# for puffs and pud
368
369#pseudo-device	pf			# PF packet filter
370#pseudo-device	pflog			# PF log if
371#pseudo-device	fss			# file system snapshot device
372
373#options 	FILEASSOC		# fileassoc(9)
374
375# Veriexec
376#
377# a pseudo device needed for veriexec
378#pseudo-device	veriexec		1
379#
380# Uncomment the fingerprint methods below that are desired. Note that
381# removing fingerprint methods will have almost no impact on the kernel
382# code size.
383#
384#options VERIFIED_EXEC_FP_RMD160
385#options VERIFIED_EXEC_FP_SHA256
386#options VERIFIED_EXEC_FP_SHA384
387#options VERIFIED_EXEC_FP_SHA512
388#options VERIFIED_EXEC_FP_SHA1
389#options VERIFIED_EXEC_FP_MD5
390
391#options PAX_MPROTECT=0			# PaX mprotect(2) restrictions
392					# (for static binaries only for now)
393