MRCOFFEE revision 1.41
1# $NetBSD: MRCOFFEE,v 1.41 2013/03/02 02:42:21 christos Exp $
2# From: NetBSD: GENERIC,v 1.197 2006/12/04 23:43:35 elad Exp
3#
4# Mr.Coffee (JavaStation 1) machine description file
5#
6# This configuration is for machines using Open Boot Prom only!
7# The OpenFirmware-variants of JavaStation 1 should use the MRCOFFEE_OFW
8# kernel.
9#
10
11include 	"arch/sparc/conf/std.sparc"
12
13options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
14
15#ident 		"MRCOFFEE-$Revision: 1.41 $"
16
17maxusers	32
18
19## System kernel configuration.  See options(4) for more detail.
20
21
22# Options for variants of the Sun SPARC architecure.
23# We currently support three architecture types; at least one is required.
24options 	SUN4M		# sun4m - SS10, SS20, Classic, etc.
25
26
27## System options specific to the sparc machine type
28
29# Blink the power LED on some machines to indicate the system load.
30#options 	BLINK
31
32# builtin terminal emulations
33#options 	WSEMUL_SUN		# sun terminal emulation
34options 	WSEMUL_VT100		# VT100 / VT220 emulation
35options 	WSEMUL_DEFAULT="\"vt100\""
36
37# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
38options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
39options 	WSDISPLAY_COMPAT_RAWKBD
40options 	WSDISPLAY_CUSTOM_OUTPUT
41options 	WS_DEFAULT_FG=WSCOL_BLACK
42options 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
43options 	WS_KERNEL_FG=WSCOL_GREEN
44options 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
45options 	WSDISPLAY_SCROLLSUPPORT
46options 	FONT_GALLANT12x22	# the console font
47
48
49#### System options that are the same for all ports
50
51## Root device configuration: change the ?'s if you are going to use a
52## nonstandard root partition (other than where the kernel is booted from)
53## and/or nonstandard root type (not ffs or nfs).  Normally this can be
54## automagically determined at boot time.
55
56config		netbsd	root on ? type ?
57
58## System call tracing (see ktrace(1)).
59options 	KTRACE
60
61## Collect statistics on kernel malloc's and free's.  This does have a
62## significant performance hit on slower machines, so it is intended for
63## diagnostic use only.
64#options 	KMEMSTATS
65
66## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
67options 	SYSVMSG		# System V message queues
68options 	SYSVSEM		# System V semaphores
69#options 	SEMMNI=10	# number of semaphore identifiers
70#options 	SEMMNS=60	# number of semaphores in system
71#options 	SEMUME=10	# max number of undo entries per process
72#options 	SEMMNU=30	# number of undo structures in system
73options 	SYSVSHM		# System V shared memory
74
75options 	USERCONF	# userconf(4) support
76#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
77options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
78
79# Enable experimental buffer queue strategy for better responsiveness under 
80# high disk I/O load. Use it with caution - it's not proven to be stable yet.
81#options 	BUFQ_READPRIO
82#options 	BUFQ_PRIOCSCAN
83
84## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
85options 	NFS_BOOT_BOOTPARAM
86#options 	NFS_BOOT_BOOTP
87options 	NFS_BOOT_DHCP
88
89#### Debugging options
90
91## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
92## serial console break or keyboard reset, where the PROM would normally
93## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
94options 	DDB			# kernel dynamic debugger
95options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
96#options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
97
98## You may also use gdb, on another computer connected to this machine over
99## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
100## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
101## the minor device number encodes the PROM enumeration of the serial ports,
102## i.e.:
103## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
104## (Note: ttyc and ttyd are available only on some sun4 models)
105#options 	KGDB			# support for kernel gdb
106#options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
107#options 	KGDB_DEVRATE=38400	# baud rate
108
109
110## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
111## such that gdb(1) can be used on a kernel coredump.
112
113#makeoptions	DEBUG="-g"
114makeoptions	COPTS="-pipe -mcpu=supersparc -O2"
115
116
117
118## Adds code to the kernel that does internal consistency checks, and will
119## cause the kernel to panic if corruption of internal data structures
120## is detected.
121#options 	DIAGNOSTIC	# extra kernel sanity checking
122
123## Enable (possibly expensive) debugging code that may also display messages
124## on the system console
125#options 	DEBUG
126#options 	LOCKDEBUG
127#options 	SYSCALL_DEBUG
128
129## Make SCSI error messages more verbose when explaining their meanings.
130options 	SCSIVERBOSE
131
132options 	MIIVERBOSE	# verbose PHY autoconfig messages
133
134## `INSECURE' turns off the kernel security level (securelevel = 0 always).
135## This allows writing to /dev/mem, loading kernel modules while multi-user,
136## and other insecurities good only for development work.  Do not use this
137## option on a production machine.
138#options 	INSECURE
139
140## `FDSCRIPTS' allows non-readable but executable scripts by providing a
141## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
142## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
143## opaque file mechanism.  Perl calls this "secure setuid scripts."
144
145#options 	FDSCRIPTS
146#options 	SETUIDSCRIPTS
147
148## Options for compatibility with previous releases foreign system binaries.
149## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
150## additional user-level utilities or system configuration files. See
151## compat_sunos(8) and compat_svr4(8).
152
153options 	COMPAT_43	# 4.3BSD system interfaces
154options 	COMPAT_10	# NetBSD 1.0 binary compatibility
155options 	COMPAT_11	# NetBSD 1.1 binary compatibility
156options 	COMPAT_12	# NetBSD 1.2 binary compatibility
157options 	COMPAT_13	# NetBSD 1.3 binary compatibility
158options 	COMPAT_14	# NetBSD 1.4 binary compatibility
159options 	COMPAT_15	# NetBSD 1.5 binary compatibility
160options 	COMPAT_16	# NetBSD 1.6 binary compatibility
161options 	COMPAT_20	# NetBSD 2.0 binary compatibility
162options 	COMPAT_30	# NetBSD 3.0 binary compatibility
163options 	COMPAT_40	# NetBSD 4.0 binary compatibility
164options 	COMPAT_50	# NetBSD 5.0 binary compatibility
165options 	COMPAT_60	# NetBSD 6.0 compatibility.
166options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
167options 	COMPAT_SVR4	# SunOS 5.x binary compatibility
168options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
169
170## File systems.  You probably need at least one of FFS or NFS.
171file-system	FFS		# Berkeley Fast Filesystem
172file-system	NFS		# Sun NFS-compatible filesystem client
173file-system	KERNFS		# kernel data-structure filesystem
174file-system	NULLFS		# NULL layered filesystem
175file-system 	OVERLAY		# overlay file system
176file-system	MFS		# memory-based filesystem
177file-system	FDESC		# user file descriptor filesystem
178file-system	UMAPFS		# uid/gid remapping filesystem
179#file-system	LFS		# Log-based filesystem (still experimental)
180file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
181file-system	PROCFS		# /proc
182#file-system	CD9660		# ISO 9660 + Rock Ridge file system
183#file-system	UNION		# union file system
184#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
185#file-system	CODA		# Coda File System; also needs vcoda (below)
186file-system	PTYFS		# /dev/pts/N support
187#file-system	TMPFS		# Efficient memory file-system
188#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
189
190## File system options.
191#options 	NFSSERVER	# Sun NFS-compatible filesystem server
192#options 	QUOTA		# legacy UFS quotas
193#options 	QUOTA2		# new, in-filesystem UFS quotas
194#options 	FFS_EI		# FFS Endian Independent support
195#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
196options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
197
198## Network protocol support.  In most environments, INET is required.
199options 	INET		# IP (Internet Protocol) v4
200options 	INET6		# IPV6
201#options 	IPSEC		# IP security
202#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
203#options 	IPSEC_DEBUG	# debug for IP security
204#options 	GATEWAY		# packet forwarding ("router switch")
205#options 	MROUTING	# packet forwarding of multicast packets
206#options 	PIM		# Protocol Independent Multicast
207#options 	DIRECTED_BROADCAST	# allow broadcasts through routers
208#options 	NETATALK	# AppleTalk (over Ethernet) protocol
209options 	NTP		# Network Time Protocol in-kernel support
210#options 	PPS_SYNC	# Add serial line synchronization for NTP
211#options 	PFIL_HOOKS	# Add pfil(9) packet filter hooks
212#options 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
213#options 	IPFILTER_LOOKUP	# ippool(8) support
214#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
215#options 	PPP_BSDCOMP	# Add BSD compression to ppp device
216#options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
217#options 	PPP_FILTER	# Add active filters for ppp (via bpf)
218
219
220
221#### Main bus and CPU .. all systems.
222mainbus0 at root
223cpu0	at mainbus0
224
225#### Bus types found on SPARC systems.
226
227obio0	at mainbus0				# sun4 and sun4m
228
229iommu0	at mainbus0				# sun4m
230sbus0	at iommu0				# sun4m
231
232
233#### Standard system devices -- all required for a given architecture
234
235## Auxiliary system registers on sun4c and sun4m
236auxreg0	at obio0				# sun4m
237
238## Mostek clock found on 4/300, sun4c, sun4m and sun4d systems.
239clock0	at obio0				# sun4m
240
241## Timer chip found on 4/300, sun4c, and sun4m systems.
242timer0	at obio0				# sun4m
243
244
245#### Serial port configuration
246
247## NS16x50 serial chips and clones.  Present on the
248## Sun JavaStation-1 and Tadpole SPARCbook 3
249com0	at obio0                                        # sun4m
250
251
252#### Keyboard and mouse
253
254pckbc0	at obio0
255#kbd0	at pckbc0
256#ms0	at pckbc0
257#wskbd* 		at kbd? console ?
258#wsmouse*	at ms? mux 0
259pckbd*		at pckbc?		# PC keyboard
260pms*		at pckbc?		# PS/2 mouse for wsmouse
261wskbd* 		at pckbd? console ?
262wsmouse*	at pms? mux 0
263
264#### Disk controllers and disks
265
266## A disk-like interface to files.  Can be used to create floppy, CD,
267## miniroot images, etc.
268
269#pseudo-device	vnd	
270#options 	VND_COMPRESSION		# compressed vnd(4)
271
272#### Network interfaces
273
274## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
275ledma0		at sbus0 slot ? offset ?		# sun4m on-board
276le0		at ledma0				# sun4m on-board
277
278
279## Loopback network interface; required
280pseudo-device	loop
281
282## SLIP and CSLIP interfaces, for IP over a serial line.
283#pseudo-device	sl		
284
285## PPP, the successor to SLIP.  See pppd(8).
286#pseudo-device	ppp		
287
288## PPP over Ethernet (RFC 2516)
289#pseudo-device	pppoe
290
291## Network "tunnel" device, allowing protocol stacks to run in the userland.
292## This is used by the third-party user-mode "ppp" program, and others.
293#pseudo-device	tun		
294#pseudo-device	tap			# virtual Ethernet
295
296## Generic L3 over IP tunnel
297#pseudo-device	gre			# generic L3 over IP tunnel
298
299## Berkeley Packet Filter, required to run RARPD.  A generic C-language
300## interface that allows selective examining of incoming packets.
301pseudo-device	bpfilter
302
303#pseudo-device	carp			# Common Address Redundancy Protocol
304
305## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
306## one example of the use of the IP Filter.
307#pseudo-device	ipfilter
308
309## for IPv6
310#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
311#pseudo-device	faith			# IPv[46] tcp relay translation i/f
312#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
313
314## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
315#pseudo-device	vlan
316
317#### Audio and video devices
318
319## /dev/audio support (`audiocs' plus `audio')
320##
321audiocs0	at sbus0 slot ? offset ?		# SUNW,CS4231
322audio0		at audiocs0
323
324## Sun "tcx" accelerated color framebuffer.
325tcx0		at sbus? slot ? offset ?
326wsdisplay0	at tcx0
327
328#### Other device configuration
329
330## Pseudo ttys, required for network logins and programs like screen.
331
332pseudo-device	pty			# pseudo-terminals
333
334## Random device, used to implement /dev/random (a source of random noise),
335## and generate randomness for some kernel formulae.
336
337
338# a pseudo device needed for Coda	# also needs CODA (above)
339#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
340
341pseudo-device	clockctl		# user control of clock subsystem
342pseudo-device	ksyms			# /dev/ksyms
343pseudo-device	putter			# for puffs and pud
344
345pseudo-device	wsmux			# mouse and keyboard multiplexor
346pseudo-device	wsfont
347