MRCOFFEE revision 1.54
11.54Ssevan# $NetBSD: MRCOFFEE,v 1.54 2018/01/23 14:47:56 sevan Exp $ 21.20Suwe# From: NetBSD: GENERIC,v 1.197 2006/12/04 23:43:35 elad Exp 31.1Smartin# 41.1Smartin# Mr.Coffee (JavaStation 1) machine description file 51.1Smartin# 61.1Smartin# This configuration is for machines using Open Boot Prom only! 71.1Smartin# The OpenFirmware-variants of JavaStation 1 should use the MRCOFFEE_OFW 81.1Smartin# kernel. 91.1Smartin# 101.1Smartin 111.1Smartininclude "arch/sparc/conf/std.sparc" 121.1Smartin 131.1Smartinoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 141.1Smartin 151.54Ssevan#ident "MRCOFFEE-$Revision: 1.54 $" 161.1Smartin 171.1Smartinmaxusers 32 181.1Smartin 191.1Smartin## System kernel configuration. See options(4) for more detail. 201.1Smartin 211.1Smartin 221.1Smartin# Options for variants of the Sun SPARC architecure. 231.1Smartin# We currently support three architecture types; at least one is required. 241.1Smartinoptions SUN4M # sun4m - SS10, SS20, Classic, etc. 251.1Smartin 261.1Smartin 271.1Smartin## System options specific to the sparc machine type 281.1Smartin 291.1Smartin# Blink the power LED on some machines to indicate the system load. 301.1Smartin#options BLINK 311.1Smartin 321.29Smacallan# builtin terminal emulations 331.37Smacallan#options WSEMUL_SUN # sun terminal emulation 341.29Smacallanoptions WSEMUL_VT100 # VT100 / VT220 emulation 351.29Smacallanoptions WSEMUL_DEFAULT="\"vt100\"" 361.29Smacallan 371.29Smacallan# customization of console and kernel output - see dev/wscons/wsdisplayvar.h 381.38Sabsoptions WSDISPLAY_COMPAT_USL # wsconscfg VT handling 391.29Smacallanoptions WSDISPLAY_COMPAT_RAWKBD 401.29Smacallanoptions WSDISPLAY_CUSTOM_OUTPUT 411.29Smacallanoptions WS_DEFAULT_FG=WSCOL_BLACK 421.29Smacallanoptions WS_DEFAULT_BG=WSCOL_LIGHT_WHITE 431.29Smacallanoptions WS_KERNEL_FG=WSCOL_GREEN 441.29Smacallanoptions WS_KERNEL_BG=WSCOL_LIGHT_WHITE 451.29Smacallanoptions WSDISPLAY_SCROLLSUPPORT 461.29Smacallanoptions FONT_GALLANT12x22 # the console font 471.29Smacallan 481.1Smartin 491.1Smartin#### System options that are the same for all ports 501.1Smartin 511.1Smartin## Root device configuration: change the ?'s if you are going to use a 521.1Smartin## nonstandard root partition (other than where the kernel is booted from) 531.1Smartin## and/or nonstandard root type (not ffs or nfs). Normally this can be 541.1Smartin## automagically determined at boot time. 551.1Smartin 561.1Smartinconfig netbsd root on ? type ? 571.1Smartin 581.1Smartin## System call tracing (see ktrace(1)). 591.1Smartinoptions KTRACE 601.1Smartin 611.1Smartin## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2)) 621.1Smartinoptions SYSVMSG # System V message queues 631.1Smartinoptions SYSVSEM # System V semaphores 641.1Smartin#options SEMMNI=10 # number of semaphore identifiers 651.1Smartin#options SEMMNS=60 # number of semaphores in system 661.1Smartin#options SEMUME=10 # max number of undo entries per process 671.1Smartin#options SEMMNU=30 # number of undo structures in system 681.1Smartinoptions SYSVSHM # System V shared memory 691.1Smartin 701.1Smartinoptions USERCONF # userconf(4) support 711.1Smartin#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 721.3Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 731.1Smartin 741.54Ssevan# Alternate buffer queue strategies for better responsiveness under high 751.54Ssevan# disk I/O load. 761.8Stsutsui#options BUFQ_READPRIO 771.8Stsutsui#options BUFQ_PRIOCSCAN 781.1Smartin 791.1Smartin## NFS boot options; tries DHCP/BOOTP then BOOTPARAM 801.1Smartinoptions NFS_BOOT_BOOTPARAM 811.1Smartin#options NFS_BOOT_BOOTP 821.1Smartinoptions NFS_BOOT_DHCP 831.1Smartin 841.1Smartin#### Debugging options 851.1Smartin 861.1Smartin## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at 871.1Smartin## serial console break or keyboard reset, where the PROM would normally 881.1Smartin## intercept. DDB_HISTORY_SIZE adds up/down arrow command history. 891.28Stsutsuioptions DDB # kernel dynamic debugger 901.28Stsutsuioptions DDB_HISTORY_SIZE=100 # enable history editing in DDB 911.45Sszptvlfn#options DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic' 921.1Smartin 931.1Smartin## You may also use gdb, on another computer connected to this machine over 941.1Smartin## a serial port. Both KGDB_DEV and KGDB_DEVRATE should be specified; 951.1Smartin## KGDB_DEV is a dev_t encoded device number of the serial port to use, where 961.1Smartin## the minor device number encodes the PROM enumeration of the serial ports, 971.1Smartin## i.e.: 981.1Smartin## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd. 991.1Smartin## (Note: ttyc and ttyd are available only on some sun4 models) 1001.1Smartin#options KGDB # support for kernel gdb 1011.1Smartin#options KGDB_DEV=0xc01 # kgdb device number (this is `ttyb') 1021.1Smartin#options KGDB_DEVRATE=38400 # baud rate 1031.1Smartin 1041.1Smartin 1051.1Smartin## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file), 1061.1Smartin## such that gdb(1) can be used on a kernel coredump. 1071.1Smartin 1081.1Smartin#makeoptions DEBUG="-g" 1091.1Smartinmakeoptions COPTS="-pipe -mcpu=supersparc -O2" 1101.1Smartin 1111.1Smartin 1121.1Smartin 1131.1Smartin## Adds code to the kernel that does internal consistency checks, and will 1141.1Smartin## cause the kernel to panic if corruption of internal data structures 1151.1Smartin## is detected. 1161.1Smartin#options DIAGNOSTIC # extra kernel sanity checking 1171.1Smartin 1181.1Smartin## Enable (possibly expensive) debugging code that may also display messages 1191.1Smartin## on the system console 1201.1Smartin#options DEBUG 1211.32Sjdc#options LOCKDEBUG 1221.32Sjdc#options SYSCALL_DEBUG 1231.1Smartin 1241.1Smartin## Make SCSI error messages more verbose when explaining their meanings. 1251.1Smartinoptions SCSIVERBOSE 1261.1Smartin 1271.1Smartinoptions MIIVERBOSE # verbose PHY autoconfig messages 1281.1Smartin 1291.1Smartin## `INSECURE' turns off the kernel security level (securelevel = 0 always). 1301.1Smartin## This allows writing to /dev/mem, loading kernel modules while multi-user, 1311.1Smartin## and other insecurities good only for development work. Do not use this 1321.1Smartin## option on a production machine. 1331.1Smartin#options INSECURE 1341.1Smartin 1351.1Smartin## `FDSCRIPTS' allows non-readable but executable scripts by providing a 1361.1Smartin## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS', 1371.1Smartin## which implies FDSCRIPTS, allows scripts to be set-user-id using the same 1381.1Smartin## opaque file mechanism. Perl calls this "secure setuid scripts." 1391.1Smartin 1401.1Smartin#options FDSCRIPTS 1411.1Smartin#options SETUIDSCRIPTS 1421.1Smartin 1431.1Smartin## Options for compatibility with previous releases foreign system binaries. 1441.1Smartin## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up 1451.1Smartin## additional user-level utilities or system configuration files. See 1461.1Smartin## compat_sunos(8) and compat_svr4(8). 1471.1Smartin 1481.53Smrginclude "conf/compat_netbsd10.config" 1491.1Smartinoptions COMPAT_SUNOS # SunOS 4.x binary compatibility 1501.52Smaxv#options COMPAT_SVR4 # SunOS 5.x binary compatibility 1511.1Smartin 1521.1Smartin## File systems. You probably need at least one of FFS or NFS. 1531.2Suwefile-system FFS # Berkeley Fast Filesystem 1541.1Smartinfile-system NFS # Sun NFS-compatible filesystem client 1551.1Smartinfile-system KERNFS # kernel data-structure filesystem 1561.1Smartinfile-system NULLFS # NULL layered filesystem 1571.1Smartinfile-system OVERLAY # overlay file system 1581.1Smartinfile-system MFS # memory-based filesystem 1591.1Smartinfile-system FDESC # user file descriptor filesystem 1601.1Smartinfile-system UMAPFS # uid/gid remapping filesystem 1611.1Smartin#file-system LFS # Log-based filesystem (still experimental) 1621.31Spookafile-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 1631.1Smartinfile-system PROCFS # /proc 1641.1Smartin#file-system CD9660 # ISO 9660 + Rock Ridge file system 1651.1Smartin#file-system UNION # union file system 1661.1Smartin#file-system MSDOSFS # MS-DOS FAT filesystem(s). 1671.1Smartin#file-system CODA # Coda File System; also needs vcoda (below) 1681.13Schristosfile-system PTYFS # /dev/pts/N support 1691.20Suwe#file-system TMPFS # Efficient memory file-system 1701.20Suwe#file-system UDF # experimental - OSTA UDF CD/DVD file-system 1711.1Smartin 1721.1Smartin## File system options. 1731.1Smartin#options NFSSERVER # Sun NFS-compatible filesystem server 1741.33Sbouyer#options QUOTA # legacy UFS quotas 1751.33Sbouyer#options QUOTA2 # new, in-filesystem UFS quotas 1761.1Smartin#options FFS_EI # FFS Endian Independent support 1771.26Sjdc#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 1781.14Stsutsuioptions FFS_NO_SNAPSHOT # No FFS snapshot support 1791.1Smartin 1801.1Smartin## Network protocol support. In most environments, INET is required. 1811.1Smartinoptions INET # IP (Internet Protocol) v4 1821.1Smartinoptions INET6 # IPV6 1831.1Smartin#options IPSEC # IP security 1841.1Smartin#options IPSEC_DEBUG # debug for IP security 1851.1Smartin#options GATEWAY # packet forwarding ("router switch") 1861.1Smartin#options MROUTING # packet forwarding of multicast packets 1871.4Smanu#options PIM # Protocol Independent Multicast 1881.1Smartin#options DIRECTED_BROADCAST # allow broadcasts through routers 1891.1Smartin#options NETATALK # AppleTalk (over Ethernet) protocol 1901.1Smartinoptions NTP # Network Time Protocol in-kernel support 1911.1Smartin#options PPS_SYNC # Add serial line synchronization for NTP 1921.1Smartin#options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device 1931.18Schristos#options IPFILTER_LOOKUP # ippool(8) support 1941.1Smartin#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1951.1Smartin#options PPP_BSDCOMP # Add BSD compression to ppp device 1961.1Smartin#options PPP_DEFLATE # Add deflate (libz) compression to ppp device 1971.1Smartin#options PPP_FILTER # Add active filters for ppp (via bpf) 1981.1Smartin 1991.1Smartin 2001.1Smartin 2011.1Smartin#### Main bus and CPU .. all systems. 2021.1Smartinmainbus0 at root 2031.1Smartincpu0 at mainbus0 2041.1Smartin 2051.1Smartin#### Bus types found on SPARC systems. 2061.1Smartin 2071.1Smartinobio0 at mainbus0 # sun4 and sun4m 2081.1Smartin 2091.1Smartiniommu0 at mainbus0 # sun4m 2101.1Smartinsbus0 at iommu0 # sun4m 2111.1Smartin 2121.1Smartin 2131.1Smartin#### Standard system devices -- all required for a given architecture 2141.1Smartin 2151.1Smartin## Auxiliary system registers on sun4c and sun4m 2161.1Smartinauxreg0 at obio0 # sun4m 2171.1Smartin 2181.2Suwe## Mostek clock found on 4/300, sun4c, sun4m and sun4d systems. 2191.1Smartinclock0 at obio0 # sun4m 2201.1Smartin 2211.1Smartin## Timer chip found on 4/300, sun4c, and sun4m systems. 2221.1Smartintimer0 at obio0 # sun4m 2231.1Smartin 2241.1Smartin 2251.1Smartin#### Serial port configuration 2261.1Smartin 2271.1Smartin## NS16x50 serial chips and clones. Present on the 2281.1Smartin## Sun JavaStation-1 and Tadpole SPARCbook 3 2291.1Smartincom0 at obio0 # sun4m 2301.1Smartin 2311.1Smartin 2321.1Smartin#### Keyboard and mouse 2331.1Smartin 2341.1Smartinpckbc0 at obio0 2351.29Smacallan#kbd0 at pckbc0 2361.29Smacallan#ms0 at pckbc0 2371.29Smacallan#wskbd* at kbd? console ? 2381.29Smacallan#wsmouse* at ms? mux 0 2391.29Smacallanpckbd* at pckbc? # PC keyboard 2401.29Smacallanpms* at pckbc? # PS/2 mouse for wsmouse 2411.29Smacallanwskbd* at pckbd? console ? 2421.29Smacallanwsmouse* at pms? mux 0 2431.1Smartin 2441.1Smartin#### Disk controllers and disks 2451.1Smartin 2461.1Smartin## A disk-like interface to files. Can be used to create floppy, CD, 2471.1Smartin## miniroot images, etc. 2481.1Smartin 2491.16Scube#pseudo-device vnd 2501.20Suwe#options VND_COMPRESSION # compressed vnd(4) 2511.1Smartin 2521.1Smartin#### Network interfaces 2531.1Smartin 2541.1Smartin## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue 2551.1Smartinledma0 at sbus0 slot ? offset ? # sun4m on-board 2561.1Smartinle0 at ledma0 # sun4m on-board 2571.1Smartin 2581.1Smartin 2591.1Smartin## Loopback network interface; required 2601.1Smartinpseudo-device loop 2611.1Smartin 2621.1Smartin## SLIP and CSLIP interfaces, for IP over a serial line. 2631.16Scube#pseudo-device sl 2641.1Smartin 2651.1Smartin## PPP, the successor to SLIP. See pppd(8). 2661.16Scube#pseudo-device ppp 2671.1Smartin 2681.1Smartin## PPP over Ethernet (RFC 2516) 2691.1Smartin#pseudo-device pppoe 2701.1Smartin 2711.1Smartin## Network "tunnel" device, allowing protocol stacks to run in the userland. 2721.1Smartin## This is used by the third-party user-mode "ppp" program, and others. 2731.16Scube#pseudo-device tun 2741.20Suwe#pseudo-device tap # virtual Ethernet 2751.1Smartin 2761.1Smartin## Generic L3 over IP tunnel 2771.16Scube#pseudo-device gre # generic L3 over IP tunnel 2781.1Smartin 2791.1Smartin## Berkeley Packet Filter, required to run RARPD. A generic C-language 2801.1Smartin## interface that allows selective examining of incoming packets. 2811.15Srpaulopseudo-device bpfilter 2821.1Smartin 2831.20Suwe#pseudo-device carp # Common Address Redundancy Protocol 2841.20Suwe 2851.1Smartin## IP Filter, used in firewall and NAT applications. See ipnat(8) for 2861.1Smartin## one example of the use of the IP Filter. 2871.1Smartin#pseudo-device ipfilter 2881.1Smartin 2891.1Smartin## for IPv6 2901.16Scube#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 2911.16Scube#pseudo-device faith # IPv[46] tcp relay translation i/f 2921.16Scube#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2931.1Smartin 2941.1Smartin## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4). 2951.1Smartin#pseudo-device vlan 2961.1Smartin 2971.1Smartin#### Audio and video devices 2981.1Smartin 2991.1Smartin## /dev/audio support (`audiocs' plus `audio') 3001.1Smartin## 3011.1Smartinaudiocs0 at sbus0 slot ? offset ? # SUNW,CS4231 3021.1Smartinaudio0 at audiocs0 3031.1Smartin 3041.51Schristosspkr* at audio? # PC speaker (synthesized) 3051.49Snat 3061.1Smartin## Sun "tcx" accelerated color framebuffer. 3071.1Smartintcx0 at sbus? slot ? offset ? 3081.29Smacallanwsdisplay0 at tcx0 3091.1Smartin 3101.1Smartin#### Other device configuration 3111.1Smartin 3121.1Smartin## Pseudo ttys, required for network logins and programs like screen. 3131.1Smartin 3141.1Smartinpseudo-device pty # pseudo-terminals 3151.1Smartin 3161.1Smartin## Random device, used to implement /dev/random (a source of random noise), 3171.1Smartin## and generate randomness for some kernel formulae. 3181.1Smartin 3191.1Smartin 3201.1Smartin# a pseudo device needed for Coda # also needs CODA (above) 3211.42Schristos#pseudo-device vcoda # coda minicache <-> venus comm. 3221.1Smartin 3231.1Smartinpseudo-device clockctl # user control of clock subsystem 3241.1Smartinpseudo-device ksyms # /dev/ksyms 3251.31Spookapseudo-device putter # for puffs and pud 3261.29Smacallan 3271.29Smacallanpseudo-device wsmux # mouse and keyboard multiplexor 3281.29Smacallanpseudo-device wsfont 329