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