xref: /netbsd-src/sys/arch/sparc/conf/MRCOFFEE (revision c7ae7f02a8ff1280ee8106b5640d183dfb1be24d)
1*c7ae7f02Ssimonb# $NetBSD: MRCOFFEE,v 1.59 2022/08/07 02:52:29 simonb Exp $
2374def6cSuwe# From: NetBSD: GENERIC,v 1.197 2006/12/04 23:43:35 elad Exp
3b7019538Smartin#
4b7019538Smartin# Mr.Coffee (JavaStation 1) machine description file
5b7019538Smartin#
6b7019538Smartin# This configuration is for machines using Open Boot Prom only!
7b7019538Smartin# The OpenFirmware-variants of JavaStation 1 should use the MRCOFFEE_OFW
8b7019538Smartin# kernel.
9b7019538Smartin#
10b7019538Smartin
11b7019538Smartininclude 	"arch/sparc/conf/std.sparc"
12b7019538Smartin
13b7019538Smartinoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
14b7019538Smartin
15*c7ae7f02Ssimonb#ident 		"MRCOFFEE-$Revision: 1.59 $"
16b7019538Smartin
17b7019538Smartinmaxusers	32
18b7019538Smartin
19b7019538Smartin## System kernel configuration.  See options(4) for more detail.
20b7019538Smartin
21b7019538Smartin
22b7019538Smartin# Options for variants of the Sun SPARC architecure.
23b7019538Smartin# We currently support three architecture types; at least one is required.
24b7019538Smartinoptions 	SUN4M		# sun4m - SS10, SS20, Classic, etc.
25b7019538Smartin
26b7019538Smartin
27b7019538Smartin## System options specific to the sparc machine type
28b7019538Smartin
29b7019538Smartin# Blink the power LED on some machines to indicate the system load.
30b7019538Smartin#options 	BLINK
31b7019538Smartin
32f2c548efSmacallan# builtin terminal emulations
336c4d0ceaSmacallan#options 	WSEMUL_SUN		# sun terminal emulation
34f2c548efSmacallanoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
35f2c548efSmacallanoptions 	WSEMUL_DEFAULT="\"vt100\""
36f2c548efSmacallan
37f2c548efSmacallan# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
383267a6b9Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
39f2c548efSmacallanoptions 	WSDISPLAY_COMPAT_RAWKBD
40f2c548efSmacallanoptions 	WSDISPLAY_CUSTOM_OUTPUT
41f2c548efSmacallanoptions 	WS_DEFAULT_FG=WSCOL_BLACK
42f2c548efSmacallanoptions 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
43f2c548efSmacallanoptions 	WS_KERNEL_FG=WSCOL_GREEN
44f2c548efSmacallanoptions 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
45f2c548efSmacallanoptions 	WSDISPLAY_SCROLLSUPPORT
46f2c548efSmacallanoptions 	FONT_GALLANT12x22	# the console font
47f2c548efSmacallan
48b7019538Smartin
49b7019538Smartin#### System options that are the same for all ports
50b7019538Smartin
51b7019538Smartin## Root device configuration: change the ?'s if you are going to use a
52b7019538Smartin## nonstandard root partition (other than where the kernel is booted from)
53b7019538Smartin## and/or nonstandard root type (not ffs or nfs).  Normally this can be
54b7019538Smartin## automagically determined at boot time.
55b7019538Smartin
56b7019538Smartinconfig		netbsd	root on ? type ?
57b7019538Smartin
58b7019538Smartin## System call tracing (see ktrace(1)).
59b7019538Smartinoptions 	KTRACE
60b7019538Smartin
61b7019538Smartin## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
62b7019538Smartinoptions 	SYSVMSG		# System V message queues
63b7019538Smartinoptions 	SYSVSEM		# System V semaphores
64b7019538Smartin#options 	SEMMNI=10	# number of semaphore identifiers
65b7019538Smartin#options 	SEMMNS=60	# number of semaphores in system
66b7019538Smartin#options 	SEMUME=10	# max number of undo entries per process
67b7019538Smartin#options 	SEMMNU=30	# number of undo structures in system
68b7019538Smartinoptions 	SYSVSHM		# System V shared memory
69b7019538Smartin
70b7019538Smartinoptions 	USERCONF	# userconf(4) support
71b7019538Smartin#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
72f68a9f1fSatatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
73b7019538Smartin
74b376ef7fSsevan# Alternate buffer queue strategies for better responsiveness under high
75b376ef7fSsevan# disk I/O load.
764e54a2ccStsutsui#options 	BUFQ_READPRIO
774e54a2ccStsutsui#options 	BUFQ_PRIOCSCAN
78b7019538Smartin
79b7019538Smartin## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
80b7019538Smartinoptions 	NFS_BOOT_BOOTPARAM
81b7019538Smartin#options 	NFS_BOOT_BOOTP
82b7019538Smartinoptions 	NFS_BOOT_DHCP
83b7019538Smartin
84b7019538Smartin#### Debugging options
85b7019538Smartin
86b7019538Smartin## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
87b7019538Smartin## serial console break or keyboard reset, where the PROM would normally
88b7019538Smartin## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
897b14dcf7Stsutsuioptions 	DDB			# kernel dynamic debugger
907b14dcf7Stsutsuioptions 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
91a66bf666Sszptvlfn#options 	DDB_ONPANIC=1		# see also sysctl(7): `ddb.onpanic'
92b7019538Smartin
93b7019538Smartin## You may also use gdb, on another computer connected to this machine over
94b7019538Smartin## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
95b7019538Smartin## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
96b7019538Smartin## the minor device number encodes the PROM enumeration of the serial ports,
97b7019538Smartin## i.e.:
98b7019538Smartin## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
99b7019538Smartin## (Note: ttyc and ttyd are available only on some sun4 models)
100b7019538Smartin#options 	KGDB			# support for kernel gdb
101b7019538Smartin#options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
102b7019538Smartin#options 	KGDB_DEVRATE=38400	# baud rate
103b7019538Smartin
104b7019538Smartin
105b7019538Smartin## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
106b7019538Smartin## such that gdb(1) can be used on a kernel coredump.
107b7019538Smartin
108b7019538Smartin#makeoptions	DEBUG="-g"
109b7019538Smartinmakeoptions	COPTS="-pipe -mcpu=supersparc -O2"
110b7019538Smartin
111b7019538Smartin
112b7019538Smartin
113b7019538Smartin## Adds code to the kernel that does internal consistency checks, and will
114b7019538Smartin## cause the kernel to panic if corruption of internal data structures
115b7019538Smartin## is detected.
116b7019538Smartin#options 	DIAGNOSTIC	# extra kernel sanity checking
117b7019538Smartin
118b7019538Smartin## Enable (possibly expensive) debugging code that may also display messages
119b7019538Smartin## on the system console
120b7019538Smartin#options 	DEBUG
12135725a69Sjdc#options 	LOCKDEBUG
12235725a69Sjdc#options 	SYSCALL_DEBUG
123b7019538Smartin
124b7019538Smartin## Make SCSI error messages more verbose when explaining their meanings.
125b7019538Smartinoptions 	SCSIVERBOSE
126b7019538Smartin
127b7019538Smartinoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
128b7019538Smartin
129b7019538Smartin## `INSECURE' turns off the kernel security level (securelevel = 0 always).
130b7019538Smartin## This allows writing to /dev/mem, loading kernel modules while multi-user,
131b7019538Smartin## and other insecurities good only for development work.  Do not use this
132b7019538Smartin## option on a production machine.
133b7019538Smartin#options 	INSECURE
134b7019538Smartin
135b7019538Smartin## `FDSCRIPTS' allows non-readable but executable scripts by providing a
136b7019538Smartin## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
137b7019538Smartin## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
138b7019538Smartin## opaque file mechanism.  Perl calls this "secure setuid scripts."
139b7019538Smartin
140b7019538Smartin#options 	FDSCRIPTS
141b7019538Smartin#options 	SETUIDSCRIPTS
142b7019538Smartin
143b7019538Smartin## Options for compatibility with previous releases foreign system binaries.
14443c93207Smaxv## In the cases of COMPAT_SUNOS, you may need to set up additional user-level
14543c93207Smaxv## utilities or system configuration files. See compat_sunos(8).
146b7019538Smartin
14795772a88Smrginclude 	"conf/compat_netbsd10.config"
148b7019538Smartinoptions 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
149b7019538Smartin
150b7019538Smartin## File systems.  You probably need at least one of FFS or NFS.
151b65388fdSuwefile-system	FFS		# Berkeley Fast Filesystem
152b7019538Smartinfile-system	NFS		# Sun NFS-compatible filesystem client
153b7019538Smartinfile-system	KERNFS		# kernel data-structure filesystem
154b7019538Smartinfile-system	NULLFS		# NULL layered filesystem
155b7019538Smartinfile-system 	OVERLAY		# overlay file system
156b7019538Smartinfile-system	MFS		# memory-based filesystem
157b7019538Smartinfile-system	FDESC		# user file descriptor filesystem
158b7019538Smartinfile-system	UMAPFS		# uid/gid remapping filesystem
159b7019538Smartin#file-system	LFS		# Log-based filesystem (still experimental)
16070d4493cSpookafile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
161b7019538Smartinfile-system	PROCFS		# /proc
162b7019538Smartin#file-system	CD9660		# ISO 9660 + Rock Ridge file system
163b7019538Smartin#file-system	UNION		# union file system
164b7019538Smartin#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
165b7019538Smartin#file-system	CODA		# Coda File System; also needs vcoda (below)
16693c362d7Schristosfile-system	PTYFS		# /dev/pts/N support
167374def6cSuwe#file-system	TMPFS		# Efficient memory file-system
168374def6cSuwe#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
169b7019538Smartin
170b7019538Smartin## File system options.
171*c7ae7f02Ssimonb#options 	FFS_EI		# FFS Endian Independent support
172*c7ae7f02Ssimonboptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
173063f96f3Sbouyer#options 	QUOTA		# legacy UFS quotas
174063f96f3Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
175*c7ae7f02Ssimonboptions 	UFS_DIRHASH	# UFS Large Directory Hashing
176*c7ae7f02Ssimonb#options 	UFS_EXTATTR	# Extended attribute support for UFS1
177*c7ae7f02Ssimonb#options 	NFSSERVER	# Network File System server
178b7019538Smartin
179b7019538Smartin## Network protocol support.  In most environments, INET is required.
180b7019538Smartinoptions 	INET		# IP (Internet Protocol) v4
181b7019538Smartinoptions 	INET6		# IPV6
182b7019538Smartin#options 	IPSEC		# IP security
183b7019538Smartin#options 	IPSEC_DEBUG	# debug for IP security
184b7019538Smartin#options 	GATEWAY		# packet forwarding ("router switch")
185b7019538Smartin#options 	MROUTING	# packet forwarding of multicast packets
1866e3c6399Smanu#options 	PIM		# Protocol Independent Multicast
187b7019538Smartin#options 	NETATALK	# AppleTalk (over Ethernet) protocol
188b7019538Smartinoptions 	NTP		# Network Time Protocol in-kernel support
189b7019538Smartin#options 	PPS_SYNC	# Add serial line synchronization for NTP
190b7019538Smartin#options 	PPP_BSDCOMP	# Add BSD compression to ppp device
191b7019538Smartin#options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
192b7019538Smartin#options 	PPP_FILTER	# Add active filters for ppp (via bpf)
193b7019538Smartin
194b7019538Smartin
195b7019538Smartin
196b7019538Smartin#### Main bus and CPU .. all systems.
197b7019538Smartinmainbus0 at root
198b7019538Smartincpu0	at mainbus0
199b7019538Smartin
200b7019538Smartin#### Bus types found on SPARC systems.
201b7019538Smartin
202b7019538Smartinobio0	at mainbus0				# sun4 and sun4m
203b7019538Smartin
204b7019538Smartiniommu0	at mainbus0				# sun4m
205b7019538Smartinsbus0	at iommu0				# sun4m
206b7019538Smartin
207b7019538Smartin
208b7019538Smartin#### Standard system devices -- all required for a given architecture
209b7019538Smartin
210b7019538Smartin## Auxiliary system registers on sun4c and sun4m
211b7019538Smartinauxreg0	at obio0				# sun4m
212b7019538Smartin
213b65388fdSuwe## Mostek clock found on 4/300, sun4c, sun4m and sun4d systems.
214b7019538Smartinclock0	at obio0				# sun4m
215b7019538Smartin
216b7019538Smartin## Timer chip found on 4/300, sun4c, and sun4m systems.
217b7019538Smartintimer0	at obio0				# sun4m
218b7019538Smartin
219b7019538Smartin
220b7019538Smartin#### Serial port configuration
221b7019538Smartin
222b7019538Smartin## NS16x50 serial chips and clones.  Present on the
223b7019538Smartin## Sun JavaStation-1 and Tadpole SPARCbook 3
224b7019538Smartincom0	at obio0                                        # sun4m
225b7019538Smartin
226b7019538Smartin
227b7019538Smartin#### Keyboard and mouse
228b7019538Smartin
229b7019538Smartinpckbc0	at obio0
230f2c548efSmacallan#kbd0	at pckbc0
231f2c548efSmacallan#ms0	at pckbc0
232f2c548efSmacallan#wskbd* 		at kbd? console ?
233f2c548efSmacallan#wsmouse*	at ms? mux 0
234f2c548efSmacallanpckbd*		at pckbc?		# PC keyboard
235f2c548efSmacallanpms*		at pckbc?		# PS/2 mouse for wsmouse
236f2c548efSmacallanwskbd* 		at pckbd? console ?
237f2c548efSmacallanwsmouse*	at pms? mux 0
238b7019538Smartin
239b7019538Smartin#### Disk controllers and disks
240b7019538Smartin
241b7019538Smartin## A disk-like interface to files.  Can be used to create floppy, CD,
242b7019538Smartin## miniroot images, etc.
243b7019538Smartin
2446ff13154Scube#pseudo-device	vnd
245374def6cSuwe#options 	VND_COMPRESSION		# compressed vnd(4)
246b7019538Smartin
247b7019538Smartin#### Network interfaces
248b7019538Smartin
249b7019538Smartin## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
250b7019538Smartinledma0		at sbus0 slot ? offset ?		# sun4m on-board
251b7019538Smartinle0		at ledma0				# sun4m on-board
252b7019538Smartin
253b7019538Smartin
254b7019538Smartin## Loopback network interface; required
255b7019538Smartinpseudo-device	loop
256b7019538Smartin
257b7019538Smartin## SLIP and CSLIP interfaces, for IP over a serial line.
2586ff13154Scube#pseudo-device	sl
259b7019538Smartin
260b7019538Smartin## PPP, the successor to SLIP.  See pppd(8).
2616ff13154Scube#pseudo-device	ppp
262b7019538Smartin
263b7019538Smartin## PPP over Ethernet (RFC 2516)
264b7019538Smartin#pseudo-device	pppoe
265b7019538Smartin
266b7019538Smartin## Network "tunnel" device, allowing protocol stacks to run in the userland.
267b7019538Smartin## This is used by the third-party user-mode "ppp" program, and others.
2686ff13154Scube#pseudo-device	tun
269374def6cSuwe#pseudo-device	tap			# virtual Ethernet
270b7019538Smartin
271b7019538Smartin## Generic L3 over IP tunnel
2726ff13154Scube#pseudo-device	gre			# generic L3 over IP tunnel
273b7019538Smartin
274b7019538Smartin## Berkeley Packet Filter, required to run RARPD.  A generic C-language
275b7019538Smartin## interface that allows selective examining of incoming packets.
27623b8c231Srpaulopseudo-device	bpfilter
277b7019538Smartin
278374def6cSuwe#pseudo-device	carp			# Common Address Redundancy Protocol
279374def6cSuwe
280f71d13bdSmaxv#pseudo-device	npf			# NPF packet filter
281b7019538Smartin
282b7019538Smartin## for IPv6
2836ff13154Scube#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2846ff13154Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2856ff13154Scube#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
286b7019538Smartin
287b7019538Smartin## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
288b7019538Smartin#pseudo-device	vlan
289b7019538Smartin
290b7019538Smartin#### Audio and video devices
291b7019538Smartin
292b7019538Smartin## /dev/audio support (`audiocs' plus `audio')
293b7019538Smartin##
294b7019538Smartinaudiocs0	at sbus0 slot ? offset ?		# SUNW,CS4231
295b7019538Smartinaudio0		at audiocs0
296b7019538Smartin
297ef2deb33Schristosspkr*		at audio?		# PC speaker (synthesized)
29803783bb5Snat
299b7019538Smartin## Sun "tcx" accelerated color framebuffer.
300b7019538Smartintcx0		at sbus? slot ? offset ?
301f2c548efSmacallanwsdisplay0	at tcx0
302b7019538Smartin
303b7019538Smartin#### Other device configuration
304b7019538Smartin
305b7019538Smartin## Pseudo ttys, required for network logins and programs like screen.
306b7019538Smartin
307b7019538Smartinpseudo-device	pty			# pseudo-terminals
308b7019538Smartin
309b7019538Smartin## Random device, used to implement /dev/random (a source of random noise),
310b7019538Smartin## and generate randomness for some kernel formulae.
311b7019538Smartin
312b7019538Smartin
313b7019538Smartin# a pseudo device needed for Coda	# also needs CODA (above)
3141cc8b68dSchristos#pseudo-device	vcoda			# coda minicache <-> venus comm.
315b7019538Smartin
316b7019538Smartinpseudo-device	clockctl		# user control of clock subsystem
31747655f2dSisakipseudo-device	drvctl			# user control of drive subsystem
318b7019538Smartinpseudo-device	ksyms			# /dev/ksyms
31970d4493cSpookapseudo-device	putter			# for puffs and pud
320f2c548efSmacallan
321f2c548efSmacallanpseudo-device	wsmux			# mouse and keyboard multiplexor
322f2c548efSmacallanpseudo-device	wsfont
323