11.83Sandvar# $NetBSD: KRUPS,v 1.83 2025/02/24 21:32:26 andvar Exp $
21.82Suwe# From  NetBSD: GENERIC,v 1.273 2023/02/12 14:50:41 abs Exp
31.1Suwe#
41.12Suwe# Krups (JavaStation-NC) machine description file
51.1Suwe#
61.1Suwe
71.1Suweinclude 	"arch/sparc/conf/std.sparc"
81.1Suwe
91.17Suweoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
101.7Satatat
111.83Sandvar#ident 		"KRUPS-$Revision: 1.83 $"
121.1Suwe
131.1Suwemaxusers	32
141.1Suwe
151.1Suwe## System kernel configuration.  See options(4) for more detail.
161.1Suwe
171.1Suwe
181.83Sandvar# Options for variants of the Sun SPARC architecture.
191.1Suwe# We currently support three architecture types; at least one is required.
201.1Suweoptions 	SUN4M		# sun4m - SS10, SS20, Classic, etc.
211.1Suwe
221.19Suwe# microSPARC-IIep is PCI based sun4m (JavaStation-NC, CP1200, etc)
231.1Suwe# This option selects if SUN4M means "normal" 4m or IIep.  Kernels
241.1Suwe# with this option turned on will refuse to work on normal 4m.
251.21Suweoptions 	MSIIEP		# microSPARC-IIep
261.1Suwe
271.1Suwe# XXX: uwe: PROM location conflicts with kernel VA space !!!
281.17Suweoptions 	PROM_AT_F0
291.1Suwemakeoptions	TEXTADDR=E8004000
301.1Suwe
311.1Suwe
321.1Suwe## System options specific to the sparc machine type
331.1Suwe
341.1Suwe# Blink the power LED on some machines to indicate the system load.
351.33Smacallanoptions 	BLINK
361.1Suwe
371.1Suwe
381.1Suwe#### System options that are the same for all ports
391.1Suwe
401.1Suwe## Root device configuration: change the ?'s if you are going to use a
411.1Suwe## nonstandard root partition (other than where the kernel is booted from)
421.1Suwe## and/or nonstandard root type (not ffs or nfs).  Normally this can be
431.1Suwe## automagically determined at boot time.
441.1Suwe
451.1Suweconfig		netbsd	root on ? type ?
461.1Suwe
471.1Suwe## System call tracing (see ktrace(1)).
481.1Suweoptions 	KTRACE
491.1Suwe
501.1Suwe## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
511.17Suweoptions 	SYSVMSG		# System V message queues
521.17Suweoptions 	SYSVSEM		# System V semaphores
531.1Suwe#options 	SEMMNI=10	# number of semaphore identifiers
541.1Suwe#options 	SEMMNS=60	# number of semaphores in system
551.1Suwe#options 	SEMUME=10	# max number of undo entries per process
561.1Suwe#options 	SEMMNU=30	# number of undo structures in system
571.17Suweoptions 	SYSVSHM		# System V shared memory
581.82Suwe#options 	SHMMAXPGS=1024	# default is max(%25 physmem, 1024 pages)
591.1Suwe
601.82Suweoptions 	MODULAR		# new style module(7) framework
611.82Suweoptions 	MODULAR_DEFAULT_AUTOLOAD
621.17Suwe#options 	USERCONF	# userconf(4) support
631.1Suwe#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
641.22Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
651.1Suwe
661.9Slukem## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
671.1Suweoptions 	NFS_BOOT_BOOTPARAM
681.1Suwe#options 	NFS_BOOT_BOOTP
691.9Slukemoptions 	NFS_BOOT_DHCP
701.1Suwe
711.12Suwe
721.12Suwe#### wscons options
731.12Suwe
741.12Suwe# builtin terminal emulations
751.60Smacallan#options 	WSEMUL_SUN		# sun terminal emulation
761.12Suweoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
771.12Suweoptions 	WSEMUL_DEFAULT="\"vt100\""
781.42Suwe
791.42Suwe# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
801.42Suweoptions 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
811.42Suwe#options 	WS_DEFAULT_FG=WSCOL_WHITE
821.42Suwe#options 	WS_DEFAULT_BG=WSCOL_BLACK
831.42Suwe#options 	WS_DEFAULT_COLATTR="(0)"
841.12Suweoptions 	WS_KERNEL_FG=WSCOL_GREEN
851.12Suwe#options 	WS_KERNEL_BG=WSCOL_BLACK
861.12Suweoptions 	WS_KERNEL_COLATTR=WSATTR_HILIT
871.42Suwe
881.42Suwe# customization of console border color
891.42Suweoptions 	WSDISPLAY_CUSTOM_BORDER	# custom border colors via wsconsctl(8)
901.42Suwe#options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
911.42Suwe
921.12Suwe# compatibility to other console drivers
931.12Suweoptions 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
941.12Suweoptions 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
951.59Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
961.12Suweoptions 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
971.12Suwe
981.14Suweoptions 	FONT_GALLANT12x22		# PROM font look-alike
991.12Suwe
1001.42Suwe#options 	WSKBD_EVENT_AUTOREPEAT		# auto repeat in event mode
1011.42Suwe#options 	WSKBD_USONLY			# strip off non-US keymaps
1021.42Suwe
1031.37Sdrochner# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
1041.12Suwe#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
1051.42Suwe
1061.12Suwe# allocate a number of virtual screens at autoconfiguration time
1071.12Suwe#options 	WSDISPLAY_DEFAULTSCREENS=4
1081.12Suwe
1091.12Suwe
1101.1Suwe#### Debugging options
1111.1Suwe
1121.1Suwe## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
1131.1Suwe## serial console break or keyboard reset, where the PROM would normally
1141.1Suwe## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
1151.50Stsutsuioptions 	DDB			# kernel dynamic debugger
1161.50Stsutsuioptions 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
1171.66Sszptvlfn#options 	DDB_ONPANIC=1		# see also sysctl(7): `ddb.onpanic'
1181.1Suwe
1191.1Suwe## You may also use gdb, on another computer connected to this machine over
1201.1Suwe## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
1211.1Suwe## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
1221.1Suwe## the minor device number encodes the PROM enumeration of the serial ports,
1231.1Suwe## i.e.:
1241.1Suwe## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
1251.1Suwe## (Note: ttyc and ttyd are available only on some sun4 models)
1261.1Suwe#options 	KGDB			# support for kernel gdb
1271.1Suwe#options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
1281.1Suwe#options 	KGDB_DEVRATE=38400	# baud rate
1291.1Suwe
1301.1Suwe
1311.1Suwe## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
1321.1Suwe## such that gdb(1) can be used on a kernel coredump.
1331.1Suwe
1341.1Suwe#makeoptions	DEBUG="-g"
1351.17Suwemakeoptions	CPUFLAGS="-mcpu=supersparc"
1361.1Suwe
1371.1Suwe
1381.1Suwe## Adds code to the kernel that does internal consistency checks, and will
1391.1Suwe## cause the kernel to panic if corruption of internal data structures
1401.1Suwe## is detected.
1411.20Smartin#options 	DIAGNOSTIC	# extra kernel sanity checking
1421.1Suwe
1431.1Suwe## Enable (possibly expensive) debugging code that may also display messages
1441.1Suwe## on the system console
1451.1Suwe#options 	DEBUG
1461.54Sjdc#options 	LOCKDEBUG
1471.54Sjdc#options 	SYSCALL_DEBUG
1481.1Suwe
1491.82Suwe#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1501.1Suwe
1511.1Suwe## `INSECURE' turns off the kernel security level (securelevel = 0 always).
1521.1Suwe## This allows writing to /dev/mem, loading kernel modules while multi-user,
1531.1Suwe## and other insecurities good only for development work.  Do not use this
1541.1Suwe## option on a production machine.
1551.1Suwe#options 	INSECURE
1561.1Suwe
1571.1Suwe## `FDSCRIPTS' allows non-readable but executable scripts by providing a
1581.1Suwe## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
1591.1Suwe## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
1601.1Suwe## opaque file mechanism.  Perl calls this "secure setuid scripts."
1611.1Suwe
1621.1Suwe#options 	FDSCRIPTS
1631.1Suwe#options 	SETUIDSCRIPTS
1641.1Suwe
1651.1Suwe## Options for compatibility with previous releases foreign system binaries.
1661.78Smaxv## In the cases of COMPAT_SUNOS, you may need to set up additional user-level
1671.78Smaxv## utilities or system configuration files. See compat_sunos(8).
1681.1Suwe
1691.75Smrginclude 	"conf/compat_netbsd10.config"
1701.20Smartinoptions 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
1711.1Suwe
1721.1Suwe## File systems.  You probably need at least one of FFS or NFS.
1731.82Suwe#file-system	FFS		# Berkeley Fast Filesystem
1741.1Suwefile-system	NFS		# Sun NFS-compatible filesystem client
1751.1Suwefile-system	KERNFS		# kernel data-structure filesystem
1761.82Suwe#file-system	NULLFS		# NULL layered filesystem
1771.82Suwe#file-system 	OVERLAY		# overlay file system
1781.82Suwe#file-system	MFS		# memory-based filesystem
1791.82Suwe#file-system	FDESC		# user file descriptor filesystem
1801.82Suwe#file-system	UMAPFS		# uid/gid remapping filesystem
1811.1Suwe#file-system	LFS		# Log-based filesystem (still experimental)
1821.51Spookafile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
1831.1Suwefile-system	PROCFS		# /proc
1841.1Suwe#file-system	CD9660		# ISO 9660 + Rock Ridge file system
1851.82Suwe#file-system	UNION		# union file system
1861.1Suwe#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
1871.1Suwe#file-system	CODA		# Coda File System; also needs vcoda (below)
1881.31Schristosfile-system	PTYFS		# /dev/pts/N support
1891.41Sjmmv#file-system	TMPFS		# Efficient memory file-system
1901.42Suwe#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
1911.1Suwe
1921.1Suwe## File system options.
1931.1Suwe#options 	NFSSERVER	# Sun NFS-compatible filesystem server
1941.55Sbouyer#options 	QUOTA		# legacy UFS quotas
1951.55Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
1961.1Suwe#options 	FFS_EI		# FFS Endian Independent support
1971.34Stsutsuioptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1981.1Suwe
1991.1Suwe## Network protocol support.  In most environments, INET is required.
2001.1Suweoptions 	INET		# IP (Internet Protocol) v4
2011.20Smartinoptions 	INET6		# IPV6
2021.1Suwe#options 	IPSEC		# IP security
2031.1Suwe#options 	IPSEC_DEBUG	# debug for IP security
2041.1Suwe#options 	GATEWAY		# packet forwarding ("router switch")
2051.1Suwe#options 	MROUTING	# packet forwarding of multicast packets
2061.23Smanu#options 	PIM		# Protocol Independent Multicast
2071.1Suwe#options 	NETATALK	# AppleTalk (over Ethernet) protocol
2081.20Smartinoptions 	NTP		# Network Time Protocol in-kernel support
2091.1Suwe#options 	PPS_SYNC	# Add serial line synchronization for NTP
2101.20Smartinoptions 	PPP_BSDCOMP	# Add BSD compression to ppp device
2111.20Smartinoptions 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
2121.20Smartinoptions 	PPP_FILTER	# Add active filters for ppp (via bpf)
2131.1Suwe
2141.1Suwe
2151.21Suwe
2161.1Suwe#### Main bus and CPU .. all systems.
2171.1Suwemainbus0 at root
2181.1Suwecpu0	at mainbus0
2191.1Suwe
2201.1Suwe#### Bus types found on SPARC systems.
2211.1Suwe
2221.1Suwemsiiep0	at mainbus0	# microSPARC-IIep PCIC, timer, ...
2231.1Suwe
2241.5Suwemspcic0	at msiiep0	# PCI tree
2251.5Suwepci0	at mspcic0
2261.82Suwe#options 	PCIVERBOSE
2271.2Suwe#options 	PCI_CONFIG_DUMP	# hangs reading IGA1682 config past offset 64
2281.1Suwe
2291.12Suweebus*	at pci?	dev ? function ?		# ebus devices
2301.1Suwe
2311.1Suwe
2321.1Suwe#### Standard system devices -- all required for a given architecture
2331.1Suwe
2341.1Suwe# timer is part of ms-IIep PCIC
2351.4Spktimer0	at msiiep0
2361.1Suwe
2371.1Suwe## ds1287 TOD clock at EBus
2381.12Suwertc*	at ebus?
2391.1Suwe
2401.1Suwe#### Serial port configuration
2411.1Suwe
2421.1Suwe## NS16x50 serial chips and clones.
2431.12Suwecom*	at ebus?
2441.1Suwe
2451.1Suwe
2461.1Suwe#### Disk controllers and disks
2471.1Suwe
2481.1Suwe## A disk-like interface to files.  Can be used to create floppy, CD,
2491.1Suwe## miniroot images, etc.
2501.1Suwe
2511.82Suwe#pseudo-device	vnd
2521.32Suwe#options 	VND_COMPRESSION		# compressed vnd(4)
2531.1Suwe
2541.1Suwe## Memory disk device, used on boot floppies with compressed
2551.1Suwe## kernel-plus-root-disk images.
2561.1Suwe
2571.82Suwe#pseudo-device	md
2581.1Suwe
2591.1Suwe
2601.1Suwe#### Network interfaces
2611.1Suwe
2621.1Suwe## Happy Meal Ethernet
2631.1Suwehme*		at pci?	dev ? function ?	# network "hme" compatible
2641.1Suwe
2651.1Suwe# MII/PHY support
2661.1Suweqsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
2671.1Suwe
2681.1Suwe## Loopback network interface; required
2691.1Suwepseudo-device	loop
2701.1Suwe
2711.1Suwe## SLIP and CSLIP interfaces, for IP over a serial line.
2721.82Suwe#pseudo-device	sl
2731.1Suwe
2741.1Suwe## PPP, the successor to SLIP.  See pppd(8).
2751.82Suwe#pseudo-device	ppp
2761.1Suwe
2771.1Suwe## PPP over Ethernet (RFC 2516)
2781.1Suwe#pseudo-device	pppoe
2791.1Suwe
2801.1Suwe## Network "tunnel" device, allowing protocol stacks to run in the userland.
2811.1Suwe## This is used by the third-party user-mode "ppp" program, and others.
2821.82Suwe#pseudo-device	tun
2831.32Suwe#pseudo-device	tap			# virtual Ethernet
2841.1Suwe
2851.1Suwe## Generic L3 over IP tunnel
2861.36Scube#pseudo-device	gre			# generic L3 over IP tunnel
2871.1Suwe
2881.1Suwe## Berkeley Packet Filter, required to run RARPD.  A generic C-language
2891.1Suwe## interface that allows selective examining of incoming packets.
2901.35Srpaulopseudo-device	bpfilter
2911.1Suwe
2921.42Suwe#pseudo-device	carp			# Common Address Redundancy Protocol
2931.42Suwe
2941.77Smaxv#pseudo-device	npf			# NPF packet filter
2951.1Suwe
2961.1Suwe## for IPv6
2971.36Scube#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2981.36Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2991.36Scube#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3001.1Suwe
3011.1Suwe## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
3021.1Suwe#pseudo-device	vlan
3031.1Suwe
3041.1Suwe#### Audio and video devices
3051.1Suwe
3061.1Suwe## /dev/audio support
3071.12Suweaudiocs*	at ebus?		# SUNW,CS4231
3081.12Suweaudio*		at audiocs?
3091.12Suwe
3101.72Schristosspkr*		at audio?		# PC speaker (synthesized)
3111.70Snat
3121.12Suwe# wscons
3131.12Suwepckbc*		at ebus?		# PC keyboard controller
3141.12Suwepckbd*		at pckbc?		# PC keyboard
3151.12Suwepms*		at pckbc?		# PS/2 mouse for wsmouse
3161.12Suweigsfb*		at pci? dev ? function ?
3171.12Suwewsdisplay*	at igsfb? console ?
3181.12Suwewskbd* 		at pckbd? console ?
3191.12Suwewsmouse*	at pms? mux 0
3201.1Suwe
3211.1Suwe
3221.1Suwe#### Other device configuration
3231.1Suwe
3241.1Suwe## Pseudo ttys, required for network logins and programs like screen.
3251.1Suwe
3261.1Suwepseudo-device	pty			# pseudo-terminals
3271.1Suwe
3281.1Suwe## Random device, used to implement /dev/random (a source of random noise),
3291.1Suwe## and generate randomness for some kernel formulae.
3301.1Suwe
3311.1Suwe
3321.1Suwe# a pseudo device needed for Coda	# also needs CODA (above)
3331.63Schristos#pseudo-device	vcoda			# coda minicache <-> venus comm.
3341.12Suwe
3351.12Suwe# wscons pseudo-devices
3361.12Suwepseudo-device	wsmux			# mouse & keyboard multiplexor
3371.12Suwepseudo-device	wsfont
3381.10Slukem
3391.10Slukempseudo-device	clockctl		# user control of clock subsystem
3401.80Sisakipseudo-device	drvctl			# user control of drive subsystem
3411.17Suwepseudo-device	ksyms			# /dev/ksyms
3421.51Spookapseudo-device	putter			# for puffs and pud
3431.42Suwe
3441.52Spooka#pseudo-device	fss			# file system snapshot device
3451.42Suwe
3461.42Suwe# Veriexec
3471.81Ssevan# include "dev/veriexec.config"
3481.42Suwe
3491.42Suwe#options PAX_MPROTECT=0			# PaX mprotect(2) restrictions
3501.42Suwe					# (for static binaries only for now)
351