KRUPS revision 1.23
11.23Smanu# $NetBSD: KRUPS,v 1.23 2004/09/04 23:29:57 manu Exp $
21.21Suwe# From: NetBSD: GENERIC,v 1.160 2004/07/10 12:05:35 uwe 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.23Smanu#ident 		"KRUPS-$Revision: 1.23 $"
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# XXX: uwe: to do
351.1Suwe# Blink the power LED on some machines to indicate the system load.
361.1Suwe#options 	BLINK
371.1Suwe
381.1Suwe
391.1Suwe#### System options that are the same for all ports
401.1Suwe
411.1Suwe## Root device configuration: change the ?'s if you are going to use a
421.1Suwe## nonstandard root partition (other than where the kernel is booted from)
431.1Suwe## and/or nonstandard root type (not ffs or nfs).  Normally this can be
441.1Suwe## automagically determined at boot time.
451.1Suwe
461.1Suweconfig		netbsd	root on ? type ?
471.1Suwe
481.1Suwe## System call tracing (see ktrace(1)).
491.1Suweoptions 	KTRACE
501.17Suweoptions 	SYSTRACE	# system call vetting via systrace(1)
511.1Suwe
521.1Suwe## Collect statistics on kernel malloc's and free's.  This does have a
531.1Suwe## significant performance hit on slower machines, so it is intended for
541.1Suwe## diagnostic use only.
551.1Suwe#options 	KMEMSTATS
561.1Suwe
571.1Suwe## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
581.17Suweoptions 	SYSVMSG		# System V message queues
591.17Suweoptions 	SYSVSEM		# System V semaphores
601.1Suwe#options 	SEMMNI=10	# number of semaphore identifiers
611.1Suwe#options 	SEMMNS=60	# number of semaphores in system
621.1Suwe#options 	SEMUME=10	# max number of undo entries per process
631.1Suwe#options 	SEMMNU=30	# number of undo structures in system
641.17Suweoptions 	SYSVSHM		# System V shared memory
651.1Suwe#options 	SHMMAXPGS=1024	# 1024 pages is the default
661.21Suweoptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
671.1Suwe
681.1Suwe## Loadable kernel module support; still under development.
691.1Suwe#options 	LKM
701.1Suwe
711.17Suwe#options 	USERCONF	# userconf(4) support
721.1Suwe#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
731.22Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
741.1Suwe
751.9Slukem## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
761.1Suweoptions 	NFS_BOOT_BOOTPARAM
771.1Suwe#options 	NFS_BOOT_BOOTP
781.9Slukemoptions 	NFS_BOOT_DHCP
791.1Suwe
801.12Suwe
811.12Suwe#### wscons options
821.12Suwe
831.12Suwe# builtin terminal emulations
841.12Suweoptions 	WSEMUL_SUN		# sun terminal emulation
851.12Suweoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
861.12Suweoptions 	WSEMUL_DEFAULT="\"vt100\""
871.12Suwe# different kernel output - see dev/wscons/wsdisplayvar.h
881.12Suweoptions 	WS_KERNEL_FG=WSCOL_GREEN
891.12Suwe#options 	WS_KERNEL_BG=WSCOL_BLACK
901.12Suweoptions 	WS_KERNEL_COLATTR=WSATTR_HILIT
911.12Suwe# compatibility to other console drivers
921.12Suweoptions 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
931.12Suweoptions 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
941.12Suweoptions 	WSDISPLAY_COMPAT_USL		# VT handling
951.12Suweoptions 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
961.12Suwe
971.14Suweoptions 	FONT_GALLANT12x22		# PROM font look-alike
981.12Suwe
991.12Suwe# see dev/pckbc/wskbdmap_mfii.c for implemented layouts
1001.12Suwe#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
1011.12Suwe# allocate a number of virtual screens at autoconfiguration time
1021.12Suwe#options 	WSDISPLAY_DEFAULTSCREENS=4
1031.12Suwe
1041.12Suwe
1051.1Suwe#### Debugging options
1061.1Suwe
1071.1Suwe## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
1081.1Suwe## serial console break or keyboard reset, where the PROM would normally
1091.1Suwe## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
1101.20Smartin#options 	DDB			# kernel dynamic debugger
1111.20Smartin#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
1121.20Smartin#options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
1131.1Suwe
1141.1Suwe## You may also use gdb, on another computer connected to this machine over
1151.1Suwe## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
1161.1Suwe## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
1171.1Suwe## the minor device number encodes the PROM enumeration of the serial ports,
1181.1Suwe## i.e.:
1191.1Suwe## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
1201.1Suwe## (Note: ttyc and ttyd are available only on some sun4 models)
1211.1Suwe#options 	KGDB			# support for kernel gdb
1221.1Suwe#options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
1231.1Suwe#options 	KGDB_DEVRATE=38400	# baud rate
1241.1Suwe
1251.1Suwe
1261.1Suwe## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
1271.1Suwe## such that gdb(1) can be used on a kernel coredump.
1281.1Suwe
1291.1Suwe#makeoptions	DEBUG="-g"
1301.17Suwemakeoptions	CPUFLAGS="-mcpu=supersparc"
1311.1Suwe
1321.1Suwe
1331.1Suwe## Adds code to the kernel that does internal consistency checks, and will
1341.1Suwe## cause the kernel to panic if corruption of internal data structures
1351.1Suwe## is detected.
1361.20Smartin#options 	DIAGNOSTIC	# extra kernel sanity checking
1371.1Suwe
1381.1Suwe## Enable (possibly expensive) debugging code that may also display messages
1391.1Suwe## on the system console
1401.1Suwe#options 	DEBUG
1411.1Suwe
1421.1Suweoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1431.1Suwe
1441.1Suwe## `INSECURE' turns off the kernel security level (securelevel = 0 always).
1451.1Suwe## This allows writing to /dev/mem, loading kernel modules while multi-user,
1461.1Suwe## and other insecurities good only for development work.  Do not use this
1471.1Suwe## option on a production machine.
1481.1Suwe#options 	INSECURE
1491.1Suwe
1501.1Suwe## `FDSCRIPTS' allows non-readable but executable scripts by providing a
1511.1Suwe## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
1521.1Suwe## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
1531.1Suwe## opaque file mechanism.  Perl calls this "secure setuid scripts."
1541.1Suwe
1551.1Suwe#options 	FDSCRIPTS
1561.1Suwe#options 	SETUIDSCRIPTS
1571.1Suwe
1581.1Suwe## Options for compatibility with previous releases foreign system binaries.
1591.1Suwe## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
1601.1Suwe## additional user-level utilities or system configuration files. See
1611.1Suwe## compat_sunos(8) and compat_svr4(8).
1621.1Suwe
1631.20Smartinoptions 	COMPAT_43	# 4.3BSD system interfaces
1641.20Smartinoptions 	COMPAT_10	# NetBSD 1.0 binary compatibility
1651.20Smartinoptions 	COMPAT_11	# NetBSD 1.1 binary compatibility
1661.20Smartinoptions 	COMPAT_12	# NetBSD 1.2 binary compatibility
1671.20Smartinoptions 	COMPAT_13	# NetBSD 1.3 binary compatibility
1681.20Smartinoptions 	COMPAT_14	# NetBSD 1.4 binary compatibility
1691.17Suweoptions 	COMPAT_16	# NetBSD 1.6 binary compatibility
1701.21Suweoptions 	COMPAT_20	# NetBSD 2.0 binary compatibility
1711.20Smartinoptions 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
1721.20Smartinoptions 	COMPAT_SVR4	# SunOS 5.x binary compatibility
1731.1Suwe
1741.1Suwe## File systems.  You probably need at least one of FFS or NFS.
1751.21Suwefile-system	FFS		# Berkeley Fast Filesystem
1761.1Suwefile-system	NFS		# Sun NFS-compatible filesystem client
1771.1Suwefile-system	KERNFS		# kernel data-structure filesystem
1781.20Smartinfile-system	NULLFS		# NULL layered filesystem
1791.20Smartinfile-system 	OVERLAY		# overlay file system
1801.20Smartinfile-system	MFS		# memory-based filesystem
1811.20Smartinfile-system	FDESC		# user file descriptor filesystem
1821.20Smartinfile-system	UMAPFS		# uid/gid remapping filesystem
1831.1Suwe#file-system	LFS		# Log-based filesystem (still experimental)
1841.20Smartinfile-system	PORTAL		# portal filesystem (still experimental)
1851.1Suwefile-system	PROCFS		# /proc
1861.1Suwe#file-system	CD9660		# ISO 9660 + Rock Ridge file system
1871.20Smartinfile-system	UNION		# union file system
1881.1Suwe#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
1891.1Suwe#file-system	CODA		# Coda File System; also needs vcoda (below)
1901.1Suwe
1911.1Suwe## File system options.
1921.1Suwe#options 	NFSSERVER	# Sun NFS-compatible filesystem server
1931.1Suwe#options 	QUOTA		# FFS quotas
1941.1Suwe#options 	FFS_EI		# FFS Endian Independent support
1951.1Suwe#options 	SOFTDEP		# FFS soft updates support.
1961.1Suwe
1971.1Suwe## Network protocol support.  In most environments, INET is required.
1981.1Suweoptions 	INET		# IP (Internet Protocol) v4
1991.20Smartinoptions 	INET6		# IPV6
2001.1Suwe#options 	IPSEC		# IP security
2011.1Suwe#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
2021.1Suwe#options 	IPSEC_DEBUG	# debug for IP security
2031.1Suwe#options 	GATEWAY		# packet forwarding ("router switch")
2041.1Suwe#options 	MROUTING	# packet forwarding of multicast packets
2051.23Smanu#options 	PIM		# Protocol Independent Multicast
2061.1Suwe#options 	DIRECTED_BROADCAST	# allow broadcasts through routers
2071.20Smartinoptions 	NS		# Xerox NS networking
2081.1Suwe#options 	NSIP		# Xerox NS tunneling over IP
2091.20Smartinoptions 	ISO,TPIP	# OSI networking
2101.1Suwe#options 	EON		# OSI tunneling over IP
2111.1Suwe#options 	CCITT,LLC,HDLC	# X.25 packet switched protocol
2121.1Suwe#options 	NETATALK	# AppleTalk (over Ethernet) protocol
2131.20Smartinoptions 	NTP		# Network Time Protocol in-kernel support
2141.1Suwe#options 	PPS_SYNC	# Add serial line synchronization for NTP
2151.20Smartinoptions 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
2161.20Smartinoptions 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
2171.12Suwe#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
2181.20Smartinoptions 	PPP_BSDCOMP	# Add BSD compression to ppp device
2191.20Smartinoptions 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
2201.20Smartinoptions 	PPP_FILTER	# Add active filters for ppp (via bpf)
2211.1Suwe
2221.1Suwe
2231.21Suwe
2241.1Suwe#### Main bus and CPU .. all systems.
2251.1Suwemainbus0 at root
2261.1Suwecpu0	at mainbus0
2271.1Suwe
2281.1Suwe#### Bus types found on SPARC systems.
2291.1Suwe
2301.1Suwemsiiep0	at mainbus0	# microSPARC-IIep PCIC, timer, ...
2311.1Suwe
2321.5Suwemspcic0	at msiiep0	# PCI tree
2331.5Suwepci0	at mspcic0
2341.1Suweoptions 	PCIVERBOSE
2351.2Suwe#options 	PCI_CONFIG_DUMP	# hangs reading IGA1682 config past offset 64
2361.1Suwe
2371.12Suweebus*	at pci?	dev ? function ?		# ebus devices
2381.1Suwe
2391.1Suwe
2401.1Suwe#### Standard system devices -- all required for a given architecture
2411.1Suwe
2421.1Suwe# timer is part of ms-IIep PCIC
2431.4Spktimer0	at msiiep0
2441.1Suwe
2451.1Suwe## ds1287 TOD clock at EBus
2461.12Suwertc*	at ebus?
2471.1Suwe
2481.1Suwe#### Serial port configuration
2491.1Suwe
2501.1Suwe## NS16x50 serial chips and clones.
2511.12Suwecom*	at ebus?
2521.1Suwe
2531.1Suwe
2541.1Suwe#### Disk controllers and disks
2551.1Suwe
2561.1Suwe## A disk-like interface to files.  Can be used to create floppy, CD,
2571.1Suwe## miniroot images, etc.
2581.1Suwe
2591.1Suwe#pseudo-device	vnd	4
2601.1Suwe
2611.1Suwe## Memory disk device, used on boot floppies with compressed
2621.1Suwe## kernel-plus-root-disk images.
2631.1Suwe
2641.1Suwe#pseudo-device	md	1
2651.1Suwe
2661.1Suwe
2671.1Suwe#### Network interfaces
2681.1Suwe
2691.1Suwe## Happy Meal Ethernet
2701.1Suwehme*		at pci?	dev ? function ?	# network "hme" compatible
2711.1Suwe
2721.1Suwe# MII/PHY support
2731.1Suweqsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
2741.1Suwe
2751.1Suwe## Loopback network interface; required
2761.1Suwepseudo-device	loop
2771.1Suwe
2781.1Suwe## SLIP and CSLIP interfaces, for IP over a serial line.
2791.1Suwe#pseudo-device	sl		2
2801.1Suwe
2811.1Suwe## PPP, the successor to SLIP.  See pppd(8).
2821.1Suwe#pseudo-device	ppp		2
2831.1Suwe
2841.1Suwe## PPP over Ethernet (RFC 2516)
2851.1Suwe#pseudo-device	pppoe
2861.1Suwe
2871.1Suwe## Network "tunnel" device, allowing protocol stacks to run in the userland.
2881.1Suwe## This is used by the third-party user-mode "ppp" program, and others.
2891.1Suwe#pseudo-device	tun		4
2901.1Suwe
2911.1Suwe## Generic L3 over IP tunnel
2921.1Suwe#pseudo-device	gre		2	# generic L3 over IP tunnel
2931.1Suwe
2941.1Suwe## Berkeley Packet Filter, required to run RARPD.  A generic C-language
2951.1Suwe## interface that allows selective examining of incoming packets.
2961.1Suwepseudo-device	bpfilter	8
2971.1Suwe
2981.1Suwe## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
2991.1Suwe## one example of the use of the IP Filter.
3001.1Suwe#pseudo-device	ipfilter
3011.1Suwe
3021.1Suwe## for IPv6
3031.1Suwe#pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
3041.1Suwe#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
3051.1Suwe#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
3061.1Suwe
3071.1Suwe## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
3081.1Suwe#pseudo-device	vlan
3091.1Suwe
3101.1Suwe#### Audio and video devices
3111.1Suwe
3121.1Suwe## /dev/audio support
3131.12Suweaudiocs*	at ebus?		# SUNW,CS4231
3141.12Suweaudio*		at audiocs?
3151.12Suwe
3161.12Suwe# wscons
3171.12Suwepckbc*		at ebus?		# PC keyboard controller
3181.12Suwepckbd*		at pckbc?		# PC keyboard
3191.12Suwepms*		at pckbc?		# PS/2 mouse for wsmouse
3201.12Suweigsfb*		at pci? dev ? function ?
3211.12Suwewsdisplay*	at igsfb? console ?
3221.12Suwewskbd* 		at pckbd? console ?
3231.12Suwewsmouse*	at pms? mux 0
3241.1Suwe
3251.1Suwe
3261.1Suwe#### Other device configuration
3271.1Suwe
3281.1Suwe## Pseudo ttys, required for network logins and programs like screen.
3291.1Suwe
3301.1Suwepseudo-device	pty			# pseudo-terminals
3311.1Suwe
3321.1Suwe## Random device, used to implement /dev/random (a source of random noise),
3331.1Suwe## and generate randomness for some kernel formulae.
3341.1Suwe
3351.1Suwepseudo-device	rnd
3361.1Suwe
3371.1Suwe# a pseudo device needed for Coda	# also needs CODA (above)
3381.1Suwe#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
3391.12Suwe
3401.12Suwe# wscons pseudo-devices
3411.12Suwepseudo-device	wsmux			# mouse & keyboard multiplexor
3421.12Suwepseudo-device	wsfont
3431.10Slukem
3441.10Slukempseudo-device	clockctl		# user control of clock subsystem
3451.17Suwepseudo-device	ksyms			# /dev/ksyms
346