KRUPS revision 1.9
11.9Slukem# $NetBSD: KRUPS,v 1.9 2002/05/14 14:27:33 lukem Exp $
21.8Suwe# From: NetBSD: GENERIC,v 1.133 2002/04/25 15:06:37 atatat Exp
31.1Suwe#
41.1Suwe# Krups (JavaStation 10, aka JavaStation NC) machine description file
51.1Suwe#
61.1Suwe# XXX: This config is experimental and will not work without some
71.1Suwe# additional patches not yet committed to the tree.
81.1Suwe
91.1Suweinclude 	"arch/sparc/conf/std.sparc"
101.1Suwe
111.7Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
121.7Satatat
131.9Slukem#ident 		"KRUPS-$Revision: 1.9 $"
141.1Suwe
151.1Suwemaxusers	32
161.1Suwe
171.1Suwe## System kernel configuration.  See options(4) for more detail.
181.1Suwe
191.1Suwe
201.1Suwe# Options for variants of the Sun SPARC architecure.
211.1Suwe# We currently support three architecture types; at least one is required.
221.1Suweoptions 	SUN4M		# sun4m - SS10, SS20, Classic, etc.
231.1Suwe
241.1Suwe# microSPARC-IIep is PCI based sun4m (JavaStation 10, CP1200, etc)
251.1Suwe# This option selects if SUN4M means "normal" 4m or IIep.  Kernels
261.1Suwe# with this option turned on will refuse to work on normal 4m.
271.1Suweoptions		MSIIEP		# microSPARC-IIep
281.1Suwe
291.1Suwe# XXX: uwe: PROM location conflicts with kernel VA space !!!
301.1Suwemakeoptions	TEXTADDR=E8004000
311.1Suwe
321.1Suwe
331.1Suwe## System options specific to the sparc machine type
341.1Suwe
351.1Suwe# XXX: uwe: to do
361.1Suwe# Blink the power LED on some machines to indicate the system load.
371.1Suwe#options 	BLINK
381.1Suwe
391.1Suwe
401.1Suwe#### System options that are the same for all ports
411.1Suwe
421.1Suwe## Root device configuration: change the ?'s if you are going to use a
431.1Suwe## nonstandard root partition (other than where the kernel is booted from)
441.1Suwe## and/or nonstandard root type (not ffs or nfs).  Normally this can be
451.1Suwe## automagically determined at boot time.
461.1Suwe
471.1Suweconfig		netbsd	root on ? type ?
481.1Suwe
491.1Suwe## System call tracing (see ktrace(1)).
501.1Suweoptions 	KTRACE
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.1Suwe#options 	SYSVMSG		# System V message queues
591.1Suwe#options 	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.1Suwe#options 	SYSVSHM		# System V shared memory
651.1Suwe#options 	SHMMAXPGS=1024	# 1024 pages is the default
661.1Suwe
671.1Suwe## Loadable kernel module support; still under development.
681.1Suwe#options 	LKM
691.1Suwe
701.6Sgmcgarry#options 	USERCONF	# userconf(4) support
711.1Suwe#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
721.1Suwe
731.9Slukem## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
741.1Suweoptions 	NFS_BOOT_BOOTPARAM
751.1Suwe#options 	NFS_BOOT_BOOTP
761.9Slukemoptions 	NFS_BOOT_DHCP
771.1Suwe
781.1Suwe#### Debugging options
791.1Suwe
801.1Suwe## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
811.1Suwe## serial console break or keyboard reset, where the PROM would normally
821.1Suwe## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
831.1Suweoptions 	DDB			# kernel dynamic debugger
841.1Suweoptions 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
851.1Suweoptions 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
861.1Suwe
871.1Suwe## You may also use gdb, on another computer connected to this machine over
881.1Suwe## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
891.1Suwe## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
901.1Suwe## the minor device number encodes the PROM enumeration of the serial ports,
911.1Suwe## i.e.:
921.1Suwe## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
931.1Suwe## (Note: ttyc and ttyd are available only on some sun4 models)
941.1Suwe#options 	KGDB			# support for kernel gdb
951.1Suwe#options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
961.1Suwe#options 	KGDB_DEVRATE=38400	# baud rate
971.1Suwe
981.1Suwe
991.1Suwe## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
1001.1Suwe## such that gdb(1) can be used on a kernel coredump.
1011.1Suwe
1021.1Suwe#makeoptions	DEBUG="-g"
1031.5Suwemakeoptions	COPTS="-pipe -mcpu=supersparc -O2"
1041.1Suwe
1051.1Suwe
1061.1Suwe## Adds code to the kernel that does internal consistency checks, and will
1071.1Suwe## cause the kernel to panic if corruption of internal data structures
1081.1Suwe## is detected.
1091.1Suweoptions 	DIAGNOSTIC	# extra kernel sanity checking
1101.1Suwe
1111.1Suwe## Enable (possibly expensive) debugging code that may also display messages
1121.1Suwe## on the system console
1131.1Suwe#options 	DEBUG
1141.1Suwe
1151.1Suweoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1161.1Suwe
1171.1Suwe## `INSECURE' turns off the kernel security level (securelevel = 0 always).
1181.1Suwe## This allows writing to /dev/mem, loading kernel modules while multi-user,
1191.1Suwe## and other insecurities good only for development work.  Do not use this
1201.1Suwe## option on a production machine.
1211.1Suwe#options 	INSECURE
1221.1Suwe
1231.1Suwe## Allow non-root users to grab /dev/console with programs such as xconsole.
1241.1Suwe## `xconsole' therefore does not need setuid root with this option enabled.
1251.1Suwe#options 	UCONSOLE
1261.1Suwe
1271.1Suwe## `FDSCRIPTS' allows non-readable but executable scripts by providing a
1281.1Suwe## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
1291.1Suwe## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
1301.1Suwe## opaque file mechanism.  Perl calls this "secure setuid scripts."
1311.1Suwe
1321.1Suwe#options 	FDSCRIPTS
1331.1Suwe#options 	SETUIDSCRIPTS
1341.1Suwe
1351.1Suwe## Options for compatibility with previous releases foreign system binaries.
1361.1Suwe## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
1371.1Suwe## additional user-level utilities or system configuration files. See
1381.1Suwe## compat_sunos(8) and compat_svr4(8).
1391.1Suwe
1401.1Suweoptions 	COMPAT_43	# 4.3BSD system interfaces
1411.1Suwe#options 	COMPAT_10	# NetBSD 1.0 binary compatibility
1421.1Suwe#options 	COMPAT_11	# NetBSD 1.1 binary compatibility
1431.1Suwe#options 	COMPAT_12	# NetBSD 1.2 binary compatibility
1441.1Suwe#options 	COMPAT_13	# NetBSD 1.3 binary compatibility
1451.1Suwe#options 	COMPAT_14	# NetBSD 1.4 binary compatibility
1461.1Suwe#options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
1471.1Suwe#options 	COMPAT_SVR4	# SunOS 5.x binary compatibility
1481.1Suwe
1491.1Suwe## File systems.  You probably need at least one of FFS or NFS.
1501.1Suwe#file-system	FFS		# Berkeley Fast Filesystem
1511.1Suwefile-system	NFS		# Sun NFS-compatible filesystem client
1521.1Suwefile-system	KERNFS		# kernel data-structure filesystem
1531.1Suwe#file-system	NULLFS		# NULL layered filesystem
1541.1Suwe#file-system 	OVERLAY		# overlay file system
1551.1Suwe#file-system	MFS		# memory-based filesystem
1561.1Suwe#file-system	FDESC		# user file descriptor filesystem
1571.1Suwe#file-system	UMAPFS		# uid/gid remapping filesystem
1581.1Suwe#file-system	LFS		# Log-based filesystem (still experimental)
1591.1Suwe#file-system	PORTAL		# portal filesystem (still experimental)
1601.1Suwefile-system	PROCFS		# /proc
1611.1Suwe#file-system	CD9660		# ISO 9660 + Rock Ridge file system
1621.1Suwe#file-system	UNION		# union file system
1631.1Suwe#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
1641.1Suwe#file-system	CODA		# Coda File System; also needs vcoda (below)
1651.1Suwe
1661.1Suwe## File system options.
1671.1Suwe#options 	NFSSERVER	# Sun NFS-compatible filesystem server
1681.1Suwe#options 	QUOTA		# FFS quotas
1691.1Suwe#options 	FFS_EI		# FFS Endian Independent support
1701.1Suwe#options 	SOFTDEP		# FFS soft updates support.
1711.1Suwe
1721.1Suwe## Network protocol support.  In most environments, INET is required.
1731.1Suweoptions 	INET		# IP (Internet Protocol) v4
1741.1Suwe#options 	INET6		# IPV6
1751.1Suwe#options 	IPSEC		# IP security
1761.1Suwe#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1771.1Suwe#options 	IPSEC_DEBUG	# debug for IP security
1781.1Suwe#options 	GATEWAY		# packet forwarding ("router switch")
1791.1Suwe#options 	MROUTING	# packet forwarding of multicast packets
1801.1Suwe#options 	DIRECTED_BROADCAST	# allow broadcasts through routers
1811.1Suwe#options 	NS		# Xerox NS networking
1821.1Suwe#options 	NSIP		# Xerox NS tunneling over IP
1831.1Suwe#options 	ISO,TPIP	# OSI networking
1841.1Suwe#options 	EON		# OSI tunneling over IP
1851.1Suwe#options 	CCITT,LLC,HDLC	# X.25 packet switched protocol
1861.1Suwe#options 	NETATALK	# AppleTalk (over Ethernet) protocol
1871.1Suwe#options 	NTP		# Network Time Protocol in-kernel support
1881.1Suwe#options 	PPS_SYNC	# Add serial line synchronization for NTP
1891.1Suwe#options 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
1901.1Suwe#options 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
1911.1Suwe#options 	PPP_BSDCOMP	# Add BSD compression to ppp device
1921.1Suwe#options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
1931.1Suwe#options 	PPP_FILTER	# Add active filters for ppp (via bpf)
1941.1Suwe
1951.1Suwe
1961.1Suwe
1971.1Suwe#### Main bus and CPU .. all systems.
1981.1Suwemainbus0 at root
1991.1Suwecpu0	at mainbus0
2001.1Suwe
2011.1Suwe#### Bus types found on SPARC systems.
2021.1Suwe
2031.1Suwemsiiep0	at mainbus0	# microSPARC-IIep PCIC, timer, ...
2041.1Suwe
2051.5Suwemspcic0	at msiiep0	# PCI tree
2061.5Suwepci0	at mspcic0
2071.1Suweoptions 	PCIVERBOSE
2081.2Suwe#options 	PCI_CONFIG_DUMP	# hangs reading IGA1682 config past offset 64
2091.1Suwe
2101.1Suweebus0	at pci0					# ebus devices
2111.1Suwe
2121.1Suwe
2131.1Suwe#### Standard system devices -- all required for a given architecture
2141.1Suwe
2151.1Suwe# timer is part of ms-IIep PCIC
2161.4Spktimer0	at msiiep0
2171.1Suwe
2181.1Suwe## ds1287 TOD clock at EBus
2191.1Suwertc0	at ebus0
2201.1Suwe
2211.1Suwe#### Serial port configuration
2221.1Suwe
2231.1Suwe# XXX: uwe: needs a work-around applied to comstart()
2241.1Suwe## NS16x50 serial chips and clones.
2251.1Suwecom*	at ebus0
2261.1Suwe
2271.1Suwe
2281.1Suwe#### Disk controllers and disks
2291.1Suwe
2301.1Suwe## A disk-like interface to files.  Can be used to create floppy, CD,
2311.1Suwe## miniroot images, etc.
2321.1Suwe
2331.1Suwe#pseudo-device	vnd	4
2341.1Suwe
2351.1Suwe## Memory disk device, used on boot floppies with compressed
2361.1Suwe## kernel-plus-root-disk images.
2371.1Suwe
2381.1Suwe#pseudo-device	md	1
2391.1Suwe
2401.1Suwe
2411.1Suwe#### Network interfaces
2421.1Suwe
2431.1Suwe## Happy Meal Ethernet
2441.1Suwehme*		at pci?	dev ? function ?	# network "hme" compatible
2451.1Suwe
2461.1Suwe# MII/PHY support
2471.1Suweqsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
2481.1Suwe
2491.1Suwe## Loopback network interface; required
2501.1Suwepseudo-device	loop
2511.1Suwe
2521.1Suwe## SLIP and CSLIP interfaces, for IP over a serial line.
2531.1Suwe#pseudo-device	sl		2
2541.1Suwe
2551.1Suwe## PPP, the successor to SLIP.  See pppd(8).
2561.1Suwe#pseudo-device	ppp		2
2571.1Suwe
2581.1Suwe## PPP over Ethernet (RFC 2516)
2591.1Suwe#pseudo-device	pppoe
2601.1Suwe
2611.1Suwe## Network "tunnel" device, allowing protocol stacks to run in the userland.
2621.1Suwe## This is used by the third-party user-mode "ppp" program, and others.
2631.1Suwe#pseudo-device	tun		4
2641.1Suwe
2651.1Suwe## Generic L3 over IP tunnel
2661.1Suwe#pseudo-device	gre		2	# generic L3 over IP tunnel
2671.1Suwe
2681.1Suwe## Berkeley Packet Filter, required to run RARPD.  A generic C-language
2691.1Suwe## interface that allows selective examining of incoming packets.
2701.1Suwepseudo-device	bpfilter	8
2711.1Suwe
2721.1Suwe## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
2731.1Suwe## one example of the use of the IP Filter.
2741.1Suwe#pseudo-device	ipfilter
2751.1Suwe
2761.1Suwe## for IPv6
2771.1Suwe#pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2781.1Suwe#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2791.1Suwe#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2801.1Suwe
2811.1Suwe## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
2821.1Suwe#pseudo-device	vlan
2831.1Suwe
2841.1Suwe#### Audio and video devices
2851.1Suwe
2861.1Suwe## /dev/audio support
2871.3Suweaudiocs0	at ebus?		# SUNW,CS4231
2881.3Suweaudio*		at audiocs0
2891.1Suwe
2901.1Suwe
2911.1Suwe#### Other device configuration
2921.1Suwe
2931.1Suwe## Pseudo ttys, required for network logins and programs like screen.
2941.1Suwe
2951.1Suwepseudo-device	pty			# pseudo-terminals
2961.1Suwe
2971.1Suwe## Random device, used to implement /dev/random (a source of random noise),
2981.1Suwe## and generate randomness for some kernel formulae.
2991.1Suwe
3001.1Suwepseudo-device	rnd
3011.1Suwe
3021.1Suwe# a pseudo device needed for Coda	# also needs CODA (above)
3031.1Suwe#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
304