KRUPS revision 1.42
11.42Suwe# $NetBSD: KRUPS,v 1.42 2007/02/25 04:18:51 uwe Exp $
21.42Suwe# From: NetBSD: GENERIC,v 1.197 2006/12/04 23:43:35 elad 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.42Suwe#ident 		"KRUPS-$Revision: 1.42 $"
121.1Suwe
131.1Suwemaxusers	32
141.1Suwe
151.1Suwe## System kernel configuration.  See options(4) for more detail.
161.1Suwe
171.1Suwe
181.1Suwe# Options for variants of the Sun SPARC architecure.
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.38Schristos#options 	SYSTRACE	# system call vetting via systrace(1)
501.1Suwe
511.1Suwe## Collect statistics on kernel malloc's and free's.  This does have a
521.1Suwe## significant performance hit on slower machines, so it is intended for
531.1Suwe## diagnostic use only.
541.1Suwe#options 	KMEMSTATS
551.1Suwe
561.1Suwe## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
571.17Suweoptions 	SYSVMSG		# System V message queues
581.17Suweoptions 	SYSVSEM		# System V semaphores
591.1Suwe#options 	SEMMNI=10	# number of semaphore identifiers
601.1Suwe#options 	SEMMNS=60	# number of semaphores in system
611.1Suwe#options 	SEMUME=10	# max number of undo entries per process
621.1Suwe#options 	SEMMNU=30	# number of undo structures in system
631.17Suweoptions 	SYSVSHM		# System V shared memory
641.1Suwe#options 	SHMMAXPGS=1024	# 1024 pages is the default
651.21Suweoptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
661.1Suwe
671.1Suwe## Loadable kernel module support; still under development.
681.1Suwe#options 	LKM
691.1Suwe
701.17Suwe#options 	USERCONF	# userconf(4) support
711.1Suwe#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
721.22Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
731.1Suwe
741.9Slukem## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
751.1Suweoptions 	NFS_BOOT_BOOTPARAM
761.1Suwe#options 	NFS_BOOT_BOOTP
771.9Slukemoptions 	NFS_BOOT_DHCP
781.1Suwe
791.12Suwe
801.12Suwe#### wscons options
811.12Suwe
821.12Suwe# builtin terminal emulations
831.12Suweoptions 	WSEMUL_SUN		# sun terminal emulation
841.12Suweoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
851.12Suweoptions 	WSEMUL_DEFAULT="\"vt100\""
861.42Suwe
871.42Suwe# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
881.42Suweoptions 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
891.42Suwe#options 	WS_DEFAULT_FG=WSCOL_WHITE
901.42Suwe#options 	WS_DEFAULT_BG=WSCOL_BLACK
911.42Suwe#options 	WS_DEFAULT_COLATTR="(0)"
921.12Suweoptions 	WS_KERNEL_FG=WSCOL_GREEN
931.12Suwe#options 	WS_KERNEL_BG=WSCOL_BLACK
941.12Suweoptions 	WS_KERNEL_COLATTR=WSATTR_HILIT
951.42Suwe
961.42Suwe# customization of console border color
971.42Suweoptions 	WSDISPLAY_CUSTOM_BORDER	# custom border colors via wsconsctl(8)
981.42Suwe#options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
991.42Suwe
1001.12Suwe# compatibility to other console drivers
1011.12Suweoptions 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
1021.12Suweoptions 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
1031.12Suweoptions 	WSDISPLAY_COMPAT_USL		# VT handling
1041.12Suweoptions 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
1051.12Suwe
1061.14Suweoptions 	FONT_GALLANT12x22		# PROM font look-alike
1071.12Suwe
1081.42Suwe#options 	WSKBD_EVENT_AUTOREPEAT		# auto repeat in event mode
1091.42Suwe#options 	WSKBD_USONLY			# strip off non-US keymaps
1101.42Suwe
1111.37Sdrochner# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
1121.12Suwe#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
1131.42Suwe
1141.12Suwe# allocate a number of virtual screens at autoconfiguration time
1151.12Suwe#options 	WSDISPLAY_DEFAULTSCREENS=4
1161.12Suwe
1171.12Suwe
1181.1Suwe#### Debugging options
1191.1Suwe
1201.1Suwe## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
1211.1Suwe## serial console break or keyboard reset, where the PROM would normally
1221.1Suwe## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
1231.20Smartin#options 	DDB			# kernel dynamic debugger
1241.20Smartin#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
1251.20Smartin#options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
1261.1Suwe
1271.1Suwe## You may also use gdb, on another computer connected to this machine over
1281.1Suwe## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
1291.1Suwe## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
1301.1Suwe## the minor device number encodes the PROM enumeration of the serial ports,
1311.1Suwe## i.e.:
1321.1Suwe## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
1331.1Suwe## (Note: ttyc and ttyd are available only on some sun4 models)
1341.1Suwe#options 	KGDB			# support for kernel gdb
1351.1Suwe#options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
1361.1Suwe#options 	KGDB_DEVRATE=38400	# baud rate
1371.1Suwe
1381.1Suwe
1391.1Suwe## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
1401.1Suwe## such that gdb(1) can be used on a kernel coredump.
1411.1Suwe
1421.1Suwe#makeoptions	DEBUG="-g"
1431.17Suwemakeoptions	CPUFLAGS="-mcpu=supersparc"
1441.1Suwe
1451.1Suwe
1461.1Suwe## Adds code to the kernel that does internal consistency checks, and will
1471.1Suwe## cause the kernel to panic if corruption of internal data structures
1481.1Suwe## is detected.
1491.20Smartin#options 	DIAGNOSTIC	# extra kernel sanity checking
1501.1Suwe
1511.1Suwe## Enable (possibly expensive) debugging code that may also display messages
1521.1Suwe## on the system console
1531.1Suwe#options 	DEBUG
1541.1Suwe
1551.1Suweoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1561.1Suwe
1571.1Suwe## `INSECURE' turns off the kernel security level (securelevel = 0 always).
1581.1Suwe## This allows writing to /dev/mem, loading kernel modules while multi-user,
1591.1Suwe## and other insecurities good only for development work.  Do not use this
1601.1Suwe## option on a production machine.
1611.1Suwe#options 	INSECURE
1621.1Suwe
1631.1Suwe## `FDSCRIPTS' allows non-readable but executable scripts by providing a
1641.1Suwe## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
1651.1Suwe## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
1661.1Suwe## opaque file mechanism.  Perl calls this "secure setuid scripts."
1671.1Suwe
1681.1Suwe#options 	FDSCRIPTS
1691.1Suwe#options 	SETUIDSCRIPTS
1701.1Suwe
1711.1Suwe## Options for compatibility with previous releases foreign system binaries.
1721.1Suwe## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
1731.1Suwe## additional user-level utilities or system configuration files. See
1741.1Suwe## compat_sunos(8) and compat_svr4(8).
1751.1Suwe
1761.20Smartinoptions 	COMPAT_43	# 4.3BSD system interfaces
1771.20Smartinoptions 	COMPAT_10	# NetBSD 1.0 binary compatibility
1781.20Smartinoptions 	COMPAT_11	# NetBSD 1.1 binary compatibility
1791.20Smartinoptions 	COMPAT_12	# NetBSD 1.2 binary compatibility
1801.20Smartinoptions 	COMPAT_13	# NetBSD 1.3 binary compatibility
1811.20Smartinoptions 	COMPAT_14	# NetBSD 1.4 binary compatibility
1821.40Smanuoptions 	COMPAT_15	# NetBSD 1.5 binary compatibility
1831.17Suweoptions 	COMPAT_16	# NetBSD 1.6 binary compatibility
1841.21Suweoptions 	COMPAT_20	# NetBSD 2.0 binary compatibility
1851.30Schristosoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
1861.20Smartinoptions 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
1871.20Smartinoptions 	COMPAT_SVR4	# SunOS 5.x binary compatibility
1881.24Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1891.1Suwe
1901.1Suwe## File systems.  You probably need at least one of FFS or NFS.
1911.21Suwefile-system	FFS		# Berkeley Fast Filesystem
1921.1Suwefile-system	NFS		# Sun NFS-compatible filesystem client
1931.1Suwefile-system	KERNFS		# kernel data-structure filesystem
1941.20Smartinfile-system	NULLFS		# NULL layered filesystem
1951.20Smartinfile-system 	OVERLAY		# overlay file system
1961.20Smartinfile-system	MFS		# memory-based filesystem
1971.20Smartinfile-system	FDESC		# user file descriptor filesystem
1981.20Smartinfile-system	UMAPFS		# uid/gid remapping filesystem
1991.1Suwe#file-system	LFS		# Log-based filesystem (still experimental)
2001.20Smartinfile-system	PORTAL		# portal filesystem (still experimental)
2011.1Suwefile-system	PROCFS		# /proc
2021.1Suwe#file-system	CD9660		# ISO 9660 + Rock Ridge file system
2031.20Smartinfile-system	UNION		# union file system
2041.1Suwe#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
2051.1Suwe#file-system	CODA		# Coda File System; also needs vcoda (below)
2061.31Schristosfile-system	PTYFS		# /dev/pts/N support
2071.41Sjmmv#file-system	TMPFS		# Efficient memory file-system
2081.42Suwe#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
2091.1Suwe
2101.1Suwe## File system options.
2111.1Suwe#options 	NFSSERVER	# Sun NFS-compatible filesystem server
2121.1Suwe#options 	QUOTA		# FFS quotas
2131.1Suwe#options 	FFS_EI		# FFS Endian Independent support
2141.1Suwe#options 	SOFTDEP		# FFS soft updates support.
2151.34Stsutsuioptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
2161.1Suwe
2171.1Suwe## Network protocol support.  In most environments, INET is required.
2181.1Suweoptions 	INET		# IP (Internet Protocol) v4
2191.20Smartinoptions 	INET6		# IPV6
2201.1Suwe#options 	IPSEC		# IP security
2211.1Suwe#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
2221.27Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
2231.1Suwe#options 	IPSEC_DEBUG	# debug for IP security
2241.1Suwe#options 	GATEWAY		# packet forwarding ("router switch")
2251.1Suwe#options 	MROUTING	# packet forwarding of multicast packets
2261.23Smanu#options 	PIM		# Protocol Independent Multicast
2271.1Suwe#options 	DIRECTED_BROADCAST	# allow broadcasts through routers
2281.20Smartinoptions 	ISO,TPIP	# OSI networking
2291.1Suwe#options 	EON		# OSI tunneling over IP
2301.1Suwe#options 	NETATALK	# AppleTalk (over Ethernet) protocol
2311.20Smartinoptions 	NTP		# Network Time Protocol in-kernel support
2321.1Suwe#options 	PPS_SYNC	# Add serial line synchronization for NTP
2331.20Smartinoptions 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
2341.20Smartinoptions 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
2351.39Schristosoptions 	IPFILTER_LOOKUP	# ippool(8) support
2361.12Suwe#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
2371.20Smartinoptions 	PPP_BSDCOMP	# Add BSD compression to ppp device
2381.20Smartinoptions 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
2391.20Smartinoptions 	PPP_FILTER	# Add active filters for ppp (via bpf)
2401.1Suwe
2411.1Suwe
2421.21Suwe
2431.1Suwe#### Main bus and CPU .. all systems.
2441.1Suwemainbus0 at root
2451.1Suwecpu0	at mainbus0
2461.1Suwe
2471.1Suwe#### Bus types found on SPARC systems.
2481.1Suwe
2491.1Suwemsiiep0	at mainbus0	# microSPARC-IIep PCIC, timer, ...
2501.1Suwe
2511.5Suwemspcic0	at msiiep0	# PCI tree
2521.5Suwepci0	at mspcic0
2531.1Suweoptions 	PCIVERBOSE
2541.2Suwe#options 	PCI_CONFIG_DUMP	# hangs reading IGA1682 config past offset 64
2551.1Suwe
2561.12Suweebus*	at pci?	dev ? function ?		# ebus devices
2571.1Suwe
2581.1Suwe
2591.1Suwe#### Standard system devices -- all required for a given architecture
2601.1Suwe
2611.1Suwe# timer is part of ms-IIep PCIC
2621.4Spktimer0	at msiiep0
2631.1Suwe
2641.1Suwe## ds1287 TOD clock at EBus
2651.12Suwertc*	at ebus?
2661.1Suwe
2671.1Suwe#### Serial port configuration
2681.1Suwe
2691.1Suwe## NS16x50 serial chips and clones.
2701.12Suwecom*	at ebus?
2711.1Suwe
2721.1Suwe
2731.1Suwe#### Disk controllers and disks
2741.1Suwe
2751.1Suwe## A disk-like interface to files.  Can be used to create floppy, CD,
2761.1Suwe## miniroot images, etc.
2771.1Suwe
2781.36Scube#pseudo-device	vnd	
2791.32Suwe#options 	VND_COMPRESSION		# compressed vnd(4)
2801.1Suwe
2811.1Suwe## Memory disk device, used on boot floppies with compressed
2821.1Suwe## kernel-plus-root-disk images.
2831.1Suwe
2841.1Suwe#pseudo-device	md	1
2851.1Suwe
2861.1Suwe
2871.1Suwe#### Network interfaces
2881.1Suwe
2891.1Suwe## Happy Meal Ethernet
2901.1Suwehme*		at pci?	dev ? function ?	# network "hme" compatible
2911.1Suwe
2921.1Suwe# MII/PHY support
2931.1Suweqsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
2941.1Suwe
2951.1Suwe## Loopback network interface; required
2961.1Suwepseudo-device	loop
2971.1Suwe
2981.1Suwe## SLIP and CSLIP interfaces, for IP over a serial line.
2991.36Scube#pseudo-device	sl		
3001.1Suwe
3011.1Suwe## PPP, the successor to SLIP.  See pppd(8).
3021.36Scube#pseudo-device	ppp		
3031.1Suwe
3041.1Suwe## PPP over Ethernet (RFC 2516)
3051.1Suwe#pseudo-device	pppoe
3061.1Suwe
3071.1Suwe## Network "tunnel" device, allowing protocol stacks to run in the userland.
3081.1Suwe## This is used by the third-party user-mode "ppp" program, and others.
3091.36Scube#pseudo-device	tun		
3101.32Suwe#pseudo-device	tap			# virtual Ethernet
3111.1Suwe
3121.1Suwe## Generic L3 over IP tunnel
3131.36Scube#pseudo-device	gre			# generic L3 over IP tunnel
3141.1Suwe
3151.1Suwe## Berkeley Packet Filter, required to run RARPD.  A generic C-language
3161.1Suwe## interface that allows selective examining of incoming packets.
3171.35Srpaulopseudo-device	bpfilter
3181.1Suwe
3191.42Suwe#pseudo-device	carp			# Common Address Redundancy Protocol
3201.42Suwe
3211.1Suwe## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
3221.1Suwe## one example of the use of the IP Filter.
3231.1Suwe#pseudo-device	ipfilter
3241.1Suwe
3251.1Suwe## for IPv6
3261.36Scube#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
3271.36Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
3281.36Scube#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3291.1Suwe
3301.1Suwe## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
3311.1Suwe#pseudo-device	vlan
3321.1Suwe
3331.1Suwe#### Audio and video devices
3341.1Suwe
3351.1Suwe## /dev/audio support
3361.12Suweaudiocs*	at ebus?		# SUNW,CS4231
3371.12Suweaudio*		at audiocs?
3381.12Suwe
3391.12Suwe# wscons
3401.12Suwepckbc*		at ebus?		# PC keyboard controller
3411.12Suwepckbd*		at pckbc?		# PC keyboard
3421.12Suwepms*		at pckbc?		# PS/2 mouse for wsmouse
3431.12Suweigsfb*		at pci? dev ? function ?
3441.12Suwewsdisplay*	at igsfb? console ?
3451.12Suwewskbd* 		at pckbd? console ?
3461.12Suwewsmouse*	at pms? mux 0
3471.1Suwe
3481.1Suwe
3491.1Suwe#### Other device configuration
3501.1Suwe
3511.1Suwe## Pseudo ttys, required for network logins and programs like screen.
3521.1Suwe
3531.1Suwepseudo-device	pty			# pseudo-terminals
3541.1Suwe
3551.1Suwe## Random device, used to implement /dev/random (a source of random noise),
3561.1Suwe## and generate randomness for some kernel formulae.
3571.1Suwe
3581.1Suwepseudo-device	rnd
3591.1Suwe
3601.1Suwe# a pseudo device needed for Coda	# also needs CODA (above)
3611.1Suwe#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
3621.12Suwe
3631.12Suwe# wscons pseudo-devices
3641.12Suwepseudo-device	wsmux			# mouse & keyboard multiplexor
3651.12Suwepseudo-device	wsfont
3661.10Slukem
3671.10Slukempseudo-device	clockctl		# user control of clock subsystem
3681.17Suwepseudo-device	ksyms			# /dev/ksyms
3691.42Suwe
3701.42Suwe#pseudo-device	pf			# PF packet filter
3711.42Suwe#pseudo-device	pflog			# PF log if
3721.42Suwe#pseudo-device	fss		4	# file system snapshot device
3731.42Suwe
3741.42Suwe#options	FILEASSOC		# fileassoc(9)
3751.42Suwe
3761.42Suwe# Veriexec
3771.42Suwe#
3781.42Suwe# a pseudo device needed for veriexec
3791.42Suwe#pseudo-device	veriexec		1
3801.42Suwe#
3811.42Suwe# Uncomment the fingerprint methods below that are desired. Note that
3821.42Suwe# removing fingerprint methods will have almost no impact on the kernel
3831.42Suwe# code size.
3841.42Suwe#
3851.42Suwe#options VERIFIED_EXEC_FP_RMD160
3861.42Suwe#options VERIFIED_EXEC_FP_SHA256
3871.42Suwe#options VERIFIED_EXEC_FP_SHA384
3881.42Suwe#options VERIFIED_EXEC_FP_SHA512
3891.42Suwe#options VERIFIED_EXEC_FP_SHA1
3901.42Suwe#options VERIFIED_EXEC_FP_MD5
3911.42Suwe
3921.42Suwe#options PAX_MPROTECT=0			# PaX mprotect(2) restrictions
3931.42Suwe					# (for static binaries only for now)
394