xref: /netbsd-src/sys/arch/sparc/conf/KRUPS (revision 7d99390d3742a26dc31e1743e03a3cec926a0d39)
1*7d99390dSuwe# $NetBSD: KRUPS,v 1.82 2024/09/15 19:19:58 uwe Exp $
2*7d99390dSuwe# From  NetBSD: GENERIC,v 1.273 2023/02/12 14:50:41 abs Exp
333861606Suwe#
4fbcf88f1Suwe# Krups (JavaStation-NC) machine description file
533861606Suwe#
633861606Suwe
733861606Suweinclude 	"arch/sparc/conf/std.sparc"
833861606Suwe
9129cf625Suweoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
10d1b38523Satatat
11*7d99390dSuwe#ident 		"KRUPS-$Revision: 1.82 $"
1233861606Suwe
1333861606Suwemaxusers	32
1433861606Suwe
1533861606Suwe## System kernel configuration.  See options(4) for more detail.
1633861606Suwe
1733861606Suwe
1833861606Suwe# Options for variants of the Sun SPARC architecure.
1933861606Suwe# We currently support three architecture types; at least one is required.
2033861606Suweoptions 	SUN4M		# sun4m - SS10, SS20, Classic, etc.
2133861606Suwe
22b9588a2cSuwe# microSPARC-IIep is PCI based sun4m (JavaStation-NC, CP1200, etc)
2333861606Suwe# This option selects if SUN4M means "normal" 4m or IIep.  Kernels
2433861606Suwe# with this option turned on will refuse to work on normal 4m.
2533861606Suweoptions 	MSIIEP		# microSPARC-IIep
2633861606Suwe
2733861606Suwe# XXX: uwe: PROM location conflicts with kernel VA space !!!
28129cf625Suweoptions 	PROM_AT_F0
2933861606Suwemakeoptions	TEXTADDR=E8004000
3033861606Suwe
3133861606Suwe
3233861606Suwe## System options specific to the sparc machine type
3333861606Suwe
3433861606Suwe# Blink the power LED on some machines to indicate the system load.
356862f638Smacallanoptions 	BLINK
3633861606Suwe
3733861606Suwe
3833861606Suwe#### System options that are the same for all ports
3933861606Suwe
4033861606Suwe## Root device configuration: change the ?'s if you are going to use a
4133861606Suwe## nonstandard root partition (other than where the kernel is booted from)
4233861606Suwe## and/or nonstandard root type (not ffs or nfs).  Normally this can be
4333861606Suwe## automagically determined at boot time.
4433861606Suwe
4533861606Suweconfig		netbsd	root on ? type ?
4633861606Suwe
4733861606Suwe## System call tracing (see ktrace(1)).
4833861606Suweoptions 	KTRACE
4933861606Suwe
5033861606Suwe## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
51129cf625Suweoptions 	SYSVMSG		# System V message queues
52129cf625Suweoptions 	SYSVSEM		# System V semaphores
5333861606Suwe#options 	SEMMNI=10	# number of semaphore identifiers
5433861606Suwe#options 	SEMMNS=60	# number of semaphores in system
5533861606Suwe#options 	SEMUME=10	# max number of undo entries per process
5633861606Suwe#options 	SEMMNU=30	# number of undo structures in system
57129cf625Suweoptions 	SYSVSHM		# System V shared memory
58*7d99390dSuwe#options 	SHMMAXPGS=1024	# default is max(%25 physmem, 1024 pages)
5933861606Suwe
60*7d99390dSuweoptions 	MODULAR		# new style module(7) framework
61*7d99390dSuweoptions 	MODULAR_DEFAULT_AUTOLOAD
62129cf625Suwe#options 	USERCONF	# userconf(4) support
6333861606Suwe#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
64f68a9f1fSatatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
6533861606Suwe
66aaa7dba0Slukem## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
6733861606Suweoptions 	NFS_BOOT_BOOTPARAM
6833861606Suwe#options 	NFS_BOOT_BOOTP
69aaa7dba0Slukemoptions 	NFS_BOOT_DHCP
7033861606Suwe
71fbcf88f1Suwe
72fbcf88f1Suwe#### wscons options
73fbcf88f1Suwe
74fbcf88f1Suwe# builtin terminal emulations
756c4d0ceaSmacallan#options 	WSEMUL_SUN		# sun terminal emulation
76fbcf88f1Suweoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
77fbcf88f1Suweoptions 	WSEMUL_DEFAULT="\"vt100\""
78525a1eafSuwe
79525a1eafSuwe# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
80525a1eafSuweoptions 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
81525a1eafSuwe#options 	WS_DEFAULT_FG=WSCOL_WHITE
82525a1eafSuwe#options 	WS_DEFAULT_BG=WSCOL_BLACK
83525a1eafSuwe#options 	WS_DEFAULT_COLATTR="(0)"
84fbcf88f1Suweoptions 	WS_KERNEL_FG=WSCOL_GREEN
85fbcf88f1Suwe#options 	WS_KERNEL_BG=WSCOL_BLACK
86fbcf88f1Suweoptions 	WS_KERNEL_COLATTR=WSATTR_HILIT
87525a1eafSuwe
88525a1eafSuwe# customization of console border color
89525a1eafSuweoptions 	WSDISPLAY_CUSTOM_BORDER	# custom border colors via wsconsctl(8)
90525a1eafSuwe#options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
91525a1eafSuwe
92fbcf88f1Suwe# compatibility to other console drivers
93fbcf88f1Suweoptions 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
94fbcf88f1Suweoptions 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
958f45a592Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
96fbcf88f1Suweoptions 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
97fbcf88f1Suwe
98fbcf88f1Suweoptions 	FONT_GALLANT12x22		# PROM font look-alike
99fbcf88f1Suwe
100525a1eafSuwe#options 	WSKBD_EVENT_AUTOREPEAT		# auto repeat in event mode
101525a1eafSuwe#options 	WSKBD_USONLY			# strip off non-US keymaps
102525a1eafSuwe
1031168954cSdrochner# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
104fbcf88f1Suwe#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
105525a1eafSuwe
106fbcf88f1Suwe# allocate a number of virtual screens at autoconfiguration time
107fbcf88f1Suwe#options 	WSDISPLAY_DEFAULTSCREENS=4
108fbcf88f1Suwe
109fbcf88f1Suwe
11033861606Suwe#### Debugging options
11133861606Suwe
11233861606Suwe## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
11333861606Suwe## serial console break or keyboard reset, where the PROM would normally
11433861606Suwe## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
1157b14dcf7Stsutsuioptions 	DDB			# kernel dynamic debugger
1167b14dcf7Stsutsuioptions 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
117a66bf666Sszptvlfn#options 	DDB_ONPANIC=1		# see also sysctl(7): `ddb.onpanic'
11833861606Suwe
11933861606Suwe## You may also use gdb, on another computer connected to this machine over
12033861606Suwe## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
12133861606Suwe## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
12233861606Suwe## the minor device number encodes the PROM enumeration of the serial ports,
12333861606Suwe## i.e.:
12433861606Suwe## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
12533861606Suwe## (Note: ttyc and ttyd are available only on some sun4 models)
12633861606Suwe#options 	KGDB			# support for kernel gdb
12733861606Suwe#options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
12833861606Suwe#options 	KGDB_DEVRATE=38400	# baud rate
12933861606Suwe
13033861606Suwe
13133861606Suwe## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
13233861606Suwe## such that gdb(1) can be used on a kernel coredump.
13333861606Suwe
13433861606Suwe#makeoptions	DEBUG="-g"
135129cf625Suwemakeoptions	CPUFLAGS="-mcpu=supersparc"
13633861606Suwe
13733861606Suwe
13833861606Suwe## Adds code to the kernel that does internal consistency checks, and will
13933861606Suwe## cause the kernel to panic if corruption of internal data structures
14033861606Suwe## is detected.
1419eead029Smartin#options 	DIAGNOSTIC	# extra kernel sanity checking
14233861606Suwe
14333861606Suwe## Enable (possibly expensive) debugging code that may also display messages
14433861606Suwe## on the system console
14533861606Suwe#options 	DEBUG
14635725a69Sjdc#options 	LOCKDEBUG
14735725a69Sjdc#options 	SYSCALL_DEBUG
14833861606Suwe
149*7d99390dSuwe#options 	MIIVERBOSE	# verbose PHY autoconfig messages
15033861606Suwe
15133861606Suwe## `INSECURE' turns off the kernel security level (securelevel = 0 always).
15233861606Suwe## This allows writing to /dev/mem, loading kernel modules while multi-user,
15333861606Suwe## and other insecurities good only for development work.  Do not use this
15433861606Suwe## option on a production machine.
15533861606Suwe#options 	INSECURE
15633861606Suwe
15733861606Suwe## `FDSCRIPTS' allows non-readable but executable scripts by providing a
15833861606Suwe## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
15933861606Suwe## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
16033861606Suwe## opaque file mechanism.  Perl calls this "secure setuid scripts."
16133861606Suwe
16233861606Suwe#options 	FDSCRIPTS
16333861606Suwe#options 	SETUIDSCRIPTS
16433861606Suwe
16533861606Suwe## Options for compatibility with previous releases foreign system binaries.
16643c93207Smaxv## In the cases of COMPAT_SUNOS, you may need to set up additional user-level
16743c93207Smaxv## utilities or system configuration files. See compat_sunos(8).
16833861606Suwe
16995772a88Smrginclude 	"conf/compat_netbsd10.config"
1709eead029Smartinoptions 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
17133861606Suwe
17233861606Suwe## File systems.  You probably need at least one of FFS or NFS.
173*7d99390dSuwe#file-system	FFS		# Berkeley Fast Filesystem
17433861606Suwefile-system	NFS		# Sun NFS-compatible filesystem client
17533861606Suwefile-system	KERNFS		# kernel data-structure filesystem
176*7d99390dSuwe#file-system	NULLFS		# NULL layered filesystem
177*7d99390dSuwe#file-system 	OVERLAY		# overlay file system
178*7d99390dSuwe#file-system	MFS		# memory-based filesystem
179*7d99390dSuwe#file-system	FDESC		# user file descriptor filesystem
180*7d99390dSuwe#file-system	UMAPFS		# uid/gid remapping filesystem
18133861606Suwe#file-system	LFS		# Log-based filesystem (still experimental)
18270d4493cSpookafile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
18333861606Suwefile-system	PROCFS		# /proc
18433861606Suwe#file-system	CD9660		# ISO 9660 + Rock Ridge file system
185*7d99390dSuwe#file-system	UNION		# union file system
18633861606Suwe#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
18733861606Suwe#file-system	CODA		# Coda File System; also needs vcoda (below)
18893c362d7Schristosfile-system	PTYFS		# /dev/pts/N support
1897a13fe4aSjmmv#file-system	TMPFS		# Efficient memory file-system
190525a1eafSuwe#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
19133861606Suwe
19233861606Suwe## File system options.
19333861606Suwe#options 	NFSSERVER	# Sun NFS-compatible filesystem server
194063f96f3Sbouyer#options 	QUOTA		# legacy UFS quotas
195063f96f3Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
19633861606Suwe#options 	FFS_EI		# FFS Endian Independent support
197ff9b47d6Stsutsuioptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
19833861606Suwe
19933861606Suwe## Network protocol support.  In most environments, INET is required.
20033861606Suweoptions 	INET		# IP (Internet Protocol) v4
2019eead029Smartinoptions 	INET6		# IPV6
20233861606Suwe#options 	IPSEC		# IP security
20333861606Suwe#options 	IPSEC_DEBUG	# debug for IP security
20433861606Suwe#options 	GATEWAY		# packet forwarding ("router switch")
20533861606Suwe#options 	MROUTING	# packet forwarding of multicast packets
2066e3c6399Smanu#options 	PIM		# Protocol Independent Multicast
20733861606Suwe#options 	NETATALK	# AppleTalk (over Ethernet) protocol
2089eead029Smartinoptions 	NTP		# Network Time Protocol in-kernel support
20933861606Suwe#options 	PPS_SYNC	# Add serial line synchronization for NTP
2109eead029Smartinoptions 	PPP_BSDCOMP	# Add BSD compression to ppp device
2119eead029Smartinoptions 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
2129eead029Smartinoptions 	PPP_FILTER	# Add active filters for ppp (via bpf)
21333861606Suwe
21433861606Suwe
215afd4d28bSuwe
21633861606Suwe#### Main bus and CPU .. all systems.
21733861606Suwemainbus0 at root
21833861606Suwecpu0	at mainbus0
21933861606Suwe
22033861606Suwe#### Bus types found on SPARC systems.
22133861606Suwe
22233861606Suwemsiiep0	at mainbus0	# microSPARC-IIep PCIC, timer, ...
22333861606Suwe
224788d7bddSuwemspcic0	at msiiep0	# PCI tree
225788d7bddSuwepci0	at mspcic0
226*7d99390dSuwe#options 	PCIVERBOSE
227a147f776Suwe#options 	PCI_CONFIG_DUMP	# hangs reading IGA1682 config past offset 64
22833861606Suwe
229fbcf88f1Suweebus*	at pci?	dev ? function ?		# ebus devices
23033861606Suwe
23133861606Suwe
23233861606Suwe#### Standard system devices -- all required for a given architecture
23333861606Suwe
23433861606Suwe# timer is part of ms-IIep PCIC
235ed494d4eSpktimer0	at msiiep0
23633861606Suwe
23733861606Suwe## ds1287 TOD clock at EBus
238fbcf88f1Suwertc*	at ebus?
23933861606Suwe
24033861606Suwe#### Serial port configuration
24133861606Suwe
24233861606Suwe## NS16x50 serial chips and clones.
243fbcf88f1Suwecom*	at ebus?
24433861606Suwe
24533861606Suwe
24633861606Suwe#### Disk controllers and disks
24733861606Suwe
24833861606Suwe## A disk-like interface to files.  Can be used to create floppy, CD,
24933861606Suwe## miniroot images, etc.
25033861606Suwe
2516ff13154Scube#pseudo-device	vnd
252a8930f81Suwe#options 	VND_COMPRESSION		# compressed vnd(4)
25333861606Suwe
25433861606Suwe## Memory disk device, used on boot floppies with compressed
25533861606Suwe## kernel-plus-root-disk images.
25633861606Suwe
257afdfce8eShannken#pseudo-device	md
25833861606Suwe
25933861606Suwe
26033861606Suwe#### Network interfaces
26133861606Suwe
26233861606Suwe## Happy Meal Ethernet
26333861606Suwehme*		at pci?	dev ? function ?	# network "hme" compatible
26433861606Suwe
26533861606Suwe# MII/PHY support
26633861606Suweqsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
26733861606Suwe
26833861606Suwe## Loopback network interface; required
26933861606Suwepseudo-device	loop
27033861606Suwe
27133861606Suwe## SLIP and CSLIP interfaces, for IP over a serial line.
2726ff13154Scube#pseudo-device	sl
27333861606Suwe
27433861606Suwe## PPP, the successor to SLIP.  See pppd(8).
2756ff13154Scube#pseudo-device	ppp
27633861606Suwe
27733861606Suwe## PPP over Ethernet (RFC 2516)
27833861606Suwe#pseudo-device	pppoe
27933861606Suwe
28033861606Suwe## Network "tunnel" device, allowing protocol stacks to run in the userland.
28133861606Suwe## This is used by the third-party user-mode "ppp" program, and others.
2826ff13154Scube#pseudo-device	tun
283a8930f81Suwe#pseudo-device	tap			# virtual Ethernet
28433861606Suwe
28533861606Suwe## Generic L3 over IP tunnel
2866ff13154Scube#pseudo-device	gre			# generic L3 over IP tunnel
28733861606Suwe
28833861606Suwe## Berkeley Packet Filter, required to run RARPD.  A generic C-language
28933861606Suwe## interface that allows selective examining of incoming packets.
29023b8c231Srpaulopseudo-device	bpfilter
29133861606Suwe
292525a1eafSuwe#pseudo-device	carp			# Common Address Redundancy Protocol
293525a1eafSuwe
294f71d13bdSmaxv#pseudo-device	npf			# NPF packet filter
29533861606Suwe
29633861606Suwe## for IPv6
2976ff13154Scube#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2986ff13154Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2996ff13154Scube#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
30033861606Suwe
30133861606Suwe## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
30233861606Suwe#pseudo-device	vlan
30333861606Suwe
30433861606Suwe#### Audio and video devices
30533861606Suwe
30633861606Suwe## /dev/audio support
307fbcf88f1Suweaudiocs*	at ebus?		# SUNW,CS4231
308fbcf88f1Suweaudio*		at audiocs?
309fbcf88f1Suwe
310ef2deb33Schristosspkr*		at audio?		# PC speaker (synthesized)
31103783bb5Snat
312fbcf88f1Suwe# wscons
313fbcf88f1Suwepckbc*		at ebus?		# PC keyboard controller
314fbcf88f1Suwepckbd*		at pckbc?		# PC keyboard
315fbcf88f1Suwepms*		at pckbc?		# PS/2 mouse for wsmouse
316fbcf88f1Suweigsfb*		at pci? dev ? function ?
317fbcf88f1Suwewsdisplay*	at igsfb? console ?
318fbcf88f1Suwewskbd* 		at pckbd? console ?
319fbcf88f1Suwewsmouse*	at pms? mux 0
32033861606Suwe
32133861606Suwe
32233861606Suwe#### Other device configuration
32333861606Suwe
32433861606Suwe## Pseudo ttys, required for network logins and programs like screen.
32533861606Suwe
32633861606Suwepseudo-device	pty			# pseudo-terminals
32733861606Suwe
32833861606Suwe## Random device, used to implement /dev/random (a source of random noise),
32933861606Suwe## and generate randomness for some kernel formulae.
33033861606Suwe
33133861606Suwe
33233861606Suwe# a pseudo device needed for Coda	# also needs CODA (above)
3331cc8b68dSchristos#pseudo-device	vcoda			# coda minicache <-> venus comm.
334fde6ae6fSlukem
335fbcf88f1Suwe# wscons pseudo-devices
336fbcf88f1Suwepseudo-device	wsmux			# mouse & keyboard multiplexor
337fbcf88f1Suwepseudo-device	wsfont
338fbcf88f1Suwe
339fde6ae6fSlukempseudo-device	clockctl		# user control of clock subsystem
34047655f2dSisakipseudo-device	drvctl			# user control of drive subsystem
341129cf625Suwepseudo-device	ksyms			# /dev/ksyms
34270d4493cSpookapseudo-device	putter			# for puffs and pud
343525a1eafSuwe
344835e533bSpooka#pseudo-device	fss			# file system snapshot device
345525a1eafSuwe
346525a1eafSuwe# Veriexec
347702a353fSsevan# include "dev/veriexec.config"
348525a1eafSuwe
349525a1eafSuwe#options PAX_MPROTECT=0			# PaX mprotect(2) restrictions
350525a1eafSuwe					# (for static binaries only for now)
351