MRCOFFEE revision 1.19
11.19Smanu# $NetBSD: MRCOFFEE,v 1.19 2006/09/27 21:42:06 manu Exp $ 21.2Suwe# From: NetBSD: GENERIC,v 1.160 2004/07/10 12:05:35 uwe 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.19Smanu#ident "MRCOFFEE-$Revision: 1.19 $" 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.1Smartin# XXX: uwe: TCX driver doesn't support RASTERCONSOLE, so don't bother 331.1Smartin## Use a faster console than the PROM's slow drawing routines. Not needed 341.1Smartin## for headless (no framebuffer) machines. 351.1Smartin#options RASTERCONSOLE # fast rasterop console 361.1Smartin#options FONT_GALLANT12x22 # the console font 371.1Smartin#options FONT_BOLD8x16 # a somewhat smaller font 381.1Smartin## default console colors: black-on-white; this can be changed 391.1Smartin## using the following two options. 401.1Smartin#options RASTERCONSOLE_FGCOL=WSCOL_BLACK 411.1Smartin#options RASTERCONSOLE_BGCOL=WSCOL_WHITE 421.1Smartin 431.1Smartin#### System options that are the same for all ports 441.1Smartin 451.1Smartin## Root device configuration: change the ?'s if you are going to use a 461.1Smartin## nonstandard root partition (other than where the kernel is booted from) 471.1Smartin## and/or nonstandard root type (not ffs or nfs). Normally this can be 481.1Smartin## automagically determined at boot time. 491.1Smartin 501.1Smartinconfig netbsd root on ? type ? 511.1Smartin 521.1Smartin## System call tracing (see ktrace(1)). 531.1Smartinoptions KTRACE 541.17Schristos#options SYSTRACE # system call vetting via systrace(1) 551.1Smartin 561.1Smartin## Collect statistics on kernel malloc's and free's. This does have a 571.1Smartin## significant performance hit on slower machines, so it is intended for 581.1Smartin## diagnostic use only. 591.1Smartin#options KMEMSTATS 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#options SHMMAXPGS=1024 # 1024 pages is the default 701.2Suweoptions P1003_1B_SEMAPHORE # p1003.1b semaphore support 711.1Smartin 721.1Smartin## Loadable kernel module support; still under development. 731.1Smartinoptions LKM 741.1Smartin 751.1Smartinoptions USERCONF # userconf(4) support 761.1Smartin#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 771.3Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 781.1Smartin 791.1Smartin# Enable experimental buffer queue strategy for better responsiveness under 801.1Smartin# high disk I/O load. Use it with caution - it's not proven to be stable yet. 811.8Stsutsui#options BUFQ_READPRIO 821.8Stsutsui#options BUFQ_PRIOCSCAN 831.1Smartin 841.1Smartin## NFS boot options; tries DHCP/BOOTP then BOOTPARAM 851.1Smartinoptions NFS_BOOT_BOOTPARAM 861.1Smartin#options NFS_BOOT_BOOTP 871.1Smartinoptions NFS_BOOT_DHCP 881.1Smartin 891.1Smartin#### Debugging options 901.1Smartin 911.1Smartin## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at 921.1Smartin## serial console break or keyboard reset, where the PROM would normally 931.1Smartin## intercept. DDB_HISTORY_SIZE adds up/down arrow command history. 941.1Smartin#options DDB # kernel dynamic debugger 951.1Smartin#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 961.1Smartin#options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic' 971.1Smartin 981.1Smartin## You may also use gdb, on another computer connected to this machine over 991.1Smartin## a serial port. Both KGDB_DEV and KGDB_DEVRATE should be specified; 1001.1Smartin## KGDB_DEV is a dev_t encoded device number of the serial port to use, where 1011.1Smartin## the minor device number encodes the PROM enumeration of the serial ports, 1021.1Smartin## i.e.: 1031.1Smartin## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd. 1041.1Smartin## (Note: ttyc and ttyd are available only on some sun4 models) 1051.1Smartin#options KGDB # support for kernel gdb 1061.1Smartin#options KGDB_DEV=0xc01 # kgdb device number (this is `ttyb') 1071.1Smartin#options KGDB_DEVRATE=38400 # baud rate 1081.1Smartin 1091.1Smartin 1101.1Smartin## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file), 1111.1Smartin## such that gdb(1) can be used on a kernel coredump. 1121.1Smartin 1131.1Smartin#makeoptions DEBUG="-g" 1141.1Smartinmakeoptions COPTS="-pipe -mcpu=supersparc -O2" 1151.1Smartin 1161.1Smartin 1171.1Smartin 1181.1Smartin## Adds code to the kernel that does internal consistency checks, and will 1191.1Smartin## cause the kernel to panic if corruption of internal data structures 1201.1Smartin## is detected. 1211.1Smartin#options DIAGNOSTIC # extra kernel sanity checking 1221.1Smartin 1231.1Smartin## Enable (possibly expensive) debugging code that may also display messages 1241.1Smartin## on the system console 1251.1Smartin#options DEBUG 1261.1Smartin 1271.1Smartin## Make SCSI error messages more verbose when explaining their meanings. 1281.1Smartinoptions SCSIVERBOSE 1291.1Smartin 1301.1Smartinoptions MIIVERBOSE # verbose PHY autoconfig messages 1311.1Smartin 1321.1Smartin## `INSECURE' turns off the kernel security level (securelevel = 0 always). 1331.1Smartin## This allows writing to /dev/mem, loading kernel modules while multi-user, 1341.1Smartin## and other insecurities good only for development work. Do not use this 1351.1Smartin## option on a production machine. 1361.1Smartin#options INSECURE 1371.1Smartin 1381.1Smartin## `FDSCRIPTS' allows non-readable but executable scripts by providing a 1391.1Smartin## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS', 1401.1Smartin## which implies FDSCRIPTS, allows scripts to be set-user-id using the same 1411.1Smartin## opaque file mechanism. Perl calls this "secure setuid scripts." 1421.1Smartin 1431.1Smartin#options FDSCRIPTS 1441.1Smartin#options SETUIDSCRIPTS 1451.1Smartin 1461.1Smartin## Options for compatibility with previous releases foreign system binaries. 1471.1Smartin## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up 1481.1Smartin## additional user-level utilities or system configuration files. See 1491.1Smartin## compat_sunos(8) and compat_svr4(8). 1501.1Smartin 1511.1Smartinoptions COMPAT_43 # 4.3BSD system interfaces 1521.1Smartinoptions COMPAT_10 # NetBSD 1.0 binary compatibility 1531.1Smartinoptions COMPAT_11 # NetBSD 1.1 binary compatibility 1541.1Smartinoptions COMPAT_12 # NetBSD 1.2 binary compatibility 1551.1Smartinoptions COMPAT_13 # NetBSD 1.3 binary compatibility 1561.1Smartinoptions COMPAT_14 # NetBSD 1.4 binary compatibility 1571.19Smanuoptions COMPAT_15 # NetBSD 1.5 binary compatibility 1581.1Smartinoptions COMPAT_16 # NetBSD 1.6 binary compatibility 1591.2Suweoptions COMPAT_20 # NetBSD 2.0 binary compatibility 1601.12Schristosoptions COMPAT_30 # NetBSD 3.0 compatibility. 1611.1Smartinoptions COMPAT_SUNOS # SunOS 4.x binary compatibility 1621.1Smartinoptions COMPAT_SVR4 # SunOS 5.x binary compatibility 1631.5Schristosoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 1641.1Smartin 1651.1Smartin## File systems. You probably need at least one of FFS or NFS. 1661.2Suwefile-system FFS # Berkeley Fast Filesystem 1671.1Smartinfile-system NFS # Sun NFS-compatible filesystem client 1681.1Smartinfile-system KERNFS # kernel data-structure filesystem 1691.1Smartinfile-system NULLFS # NULL layered filesystem 1701.1Smartinfile-system OVERLAY # overlay file system 1711.1Smartinfile-system MFS # memory-based filesystem 1721.1Smartinfile-system FDESC # user file descriptor filesystem 1731.1Smartinfile-system UMAPFS # uid/gid remapping filesystem 1741.1Smartin#file-system LFS # Log-based filesystem (still experimental) 1751.1Smartinfile-system PORTAL # portal filesystem (still experimental) 1761.1Smartinfile-system PROCFS # /proc 1771.1Smartin#file-system CD9660 # ISO 9660 + Rock Ridge file system 1781.1Smartin#file-system UNION # union file system 1791.1Smartin#file-system MSDOSFS # MS-DOS FAT filesystem(s). 1801.1Smartin#file-system CODA # Coda File System; also needs vcoda (below) 1811.13Schristosfile-system PTYFS # /dev/pts/N support 1821.1Smartin 1831.1Smartin## File system options. 1841.1Smartin#options NFSSERVER # Sun NFS-compatible filesystem server 1851.1Smartin#options QUOTA # FFS quotas 1861.1Smartin#options FFS_EI # FFS Endian Independent support 1871.1Smartin#options SOFTDEP # FFS soft updates support. 1881.14Stsutsuioptions FFS_NO_SNAPSHOT # No FFS snapshot support 1891.1Smartin 1901.1Smartin## Network protocol support. In most environments, INET is required. 1911.1Smartinoptions INET # IP (Internet Protocol) v4 1921.1Smartinoptions INET6 # IPV6 1931.1Smartin#options IPSEC # IP security 1941.1Smartin#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1951.9Stron#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 1961.1Smartin#options IPSEC_DEBUG # debug for IP security 1971.1Smartin#options GATEWAY # packet forwarding ("router switch") 1981.1Smartin#options MROUTING # packet forwarding of multicast packets 1991.4Smanu#options PIM # Protocol Independent Multicast 2001.1Smartin#options DIRECTED_BROADCAST # allow broadcasts through routers 2011.1Smartinoptions ISO,TPIP # OSI networking 2021.1Smartin#options EON # OSI tunneling over IP 2031.1Smartin#options NETATALK # AppleTalk (over Ethernet) protocol 2041.1Smartinoptions NTP # Network Time Protocol in-kernel support 2051.1Smartin#options PPS_SYNC # Add serial line synchronization for NTP 2061.1Smartin#options PFIL_HOOKS # Add pfil(9) hooks, intended for custom LKMs. 2071.1Smartin#options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device 2081.18Schristos#options IPFILTER_LOOKUP # ippool(8) support 2091.1Smartin#options IPFILTER_DEFAULT_BLOCK # block all packets by default 2101.1Smartin#options PPP_BSDCOMP # Add BSD compression to ppp device 2111.1Smartin#options PPP_DEFLATE # Add deflate (libz) compression to ppp device 2121.1Smartin#options PPP_FILTER # Add active filters for ppp (via bpf) 2131.1Smartin 2141.1Smartin 2151.1Smartin 2161.1Smartin#### Main bus and CPU .. all systems. 2171.1Smartinmainbus0 at root 2181.1Smartincpu0 at mainbus0 2191.1Smartin 2201.1Smartin#### Bus types found on SPARC systems. 2211.1Smartin 2221.1Smartinobio0 at mainbus0 # sun4 and sun4m 2231.1Smartin 2241.1Smartiniommu0 at mainbus0 # sun4m 2251.1Smartinsbus0 at iommu0 # sun4m 2261.1Smartin 2271.1Smartin 2281.1Smartin#### Standard system devices -- all required for a given architecture 2291.1Smartin 2301.1Smartin## Auxiliary system registers on sun4c and sun4m 2311.1Smartinauxreg0 at obio0 # sun4m 2321.1Smartin 2331.2Suwe## Mostek clock found on 4/300, sun4c, sun4m and sun4d systems. 2341.1Smartinclock0 at obio0 # sun4m 2351.1Smartin 2361.1Smartin## Timer chip found on 4/300, sun4c, and sun4m systems. 2371.1Smartintimer0 at obio0 # sun4m 2381.1Smartin 2391.1Smartin 2401.1Smartin#### Serial port configuration 2411.1Smartin 2421.1Smartin## NS16x50 serial chips and clones. Present on the 2431.1Smartin## Sun JavaStation-1 and Tadpole SPARCbook 3 2441.1Smartincom0 at obio0 # sun4m 2451.1Smartin 2461.1Smartin 2471.1Smartin#### Keyboard and mouse 2481.1Smartin 2491.1Smartinpckbc0 at obio0 2501.1Smartinkbd0 at pckbc0 2511.1Smartinms0 at pckbc0 2521.1Smartin 2531.1Smartin 2541.1Smartin#### Disk controllers and disks 2551.1Smartin 2561.1Smartin## A disk-like interface to files. Can be used to create floppy, CD, 2571.1Smartin## miniroot images, etc. 2581.1Smartin 2591.16Scube#pseudo-device vnd 2601.1Smartin 2611.1Smartin 2621.1Smartin#### Network interfaces 2631.1Smartin 2641.1Smartin## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue 2651.1Smartinledma0 at sbus0 slot ? offset ? # sun4m on-board 2661.1Smartinle0 at ledma0 # sun4m on-board 2671.1Smartin 2681.1Smartin 2691.1Smartin## Loopback network interface; required 2701.1Smartinpseudo-device loop 2711.1Smartin 2721.1Smartin## SLIP and CSLIP interfaces, for IP over a serial line. 2731.16Scube#pseudo-device sl 2741.1Smartin 2751.1Smartin## PPP, the successor to SLIP. See pppd(8). 2761.16Scube#pseudo-device ppp 2771.1Smartin 2781.1Smartin## PPP over Ethernet (RFC 2516) 2791.1Smartin#pseudo-device pppoe 2801.1Smartin 2811.1Smartin## Network "tunnel" device, allowing protocol stacks to run in the userland. 2821.1Smartin## This is used by the third-party user-mode "ppp" program, and others. 2831.16Scube#pseudo-device tun 2841.1Smartin 2851.1Smartin## Generic L3 over IP tunnel 2861.16Scube#pseudo-device gre # generic L3 over IP tunnel 2871.1Smartin 2881.1Smartin## Berkeley Packet Filter, required to run RARPD. A generic C-language 2891.1Smartin## interface that allows selective examining of incoming packets. 2901.15Srpaulopseudo-device bpfilter 2911.1Smartin 2921.1Smartin## IP Filter, used in firewall and NAT applications. See ipnat(8) for 2931.1Smartin## one example of the use of the IP Filter. 2941.1Smartin#pseudo-device ipfilter 2951.1Smartin 2961.1Smartin## for IPv6 2971.16Scube#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 2981.16Scube#pseudo-device faith # IPv[46] tcp relay translation i/f 2991.16Scube#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 3001.1Smartin 3011.1Smartin## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4). 3021.1Smartin#pseudo-device vlan 3031.1Smartin 3041.1Smartin#### Audio and video devices 3051.1Smartin 3061.1Smartin## /dev/audio support (`audiocs' plus `audio') 3071.1Smartin## 3081.1Smartinaudiocs0 at sbus0 slot ? offset ? # SUNW,CS4231 3091.1Smartinaudio0 at audiocs0 3101.1Smartin 3111.1Smartin## Sun "tcx" accelerated color framebuffer. 3121.1Smartintcx0 at sbus? slot ? offset ? 3131.1Smartin 3141.1Smartin 3151.1Smartin#### Other device configuration 3161.1Smartin 3171.1Smartin## Pseudo ttys, required for network logins and programs like screen. 3181.1Smartin 3191.1Smartinpseudo-device pty # pseudo-terminals 3201.1Smartin 3211.1Smartin## Random device, used to implement /dev/random (a source of random noise), 3221.1Smartin## and generate randomness for some kernel formulae. 3231.1Smartin 3241.1Smartinpseudo-device rnd 3251.1Smartin 3261.1Smartin# a pseudo device needed for Coda # also needs CODA (above) 3271.1Smartin#pseudo-device vcoda 4 # coda minicache <-> venus comm. 3281.1Smartin 3291.1Smartinpseudo-device clockctl # user control of clock subsystem 3301.1Smartinpseudo-device ksyms # /dev/ksyms 331