MRCOFFEE revision 1.34
1# $NetBSD: MRCOFFEE,v 1.34 2011/11/22 21:25:37 tls Exp $ 2# From: NetBSD: GENERIC,v 1.197 2006/12/04 23:43:35 elad Exp 3# 4# Mr.Coffee (JavaStation 1) machine description file 5# 6# This configuration is for machines using Open Boot Prom only! 7# The OpenFirmware-variants of JavaStation 1 should use the MRCOFFEE_OFW 8# kernel. 9# 10 11include "arch/sparc/conf/std.sparc" 12 13options INCLUDE_CONFIG_FILE # embed config file in kernel binary 14 15#ident "MRCOFFEE-$Revision: 1.34 $" 16 17maxusers 32 18 19## System kernel configuration. See options(4) for more detail. 20 21 22# Options for variants of the Sun SPARC architecure. 23# We currently support three architecture types; at least one is required. 24options SUN4M # sun4m - SS10, SS20, Classic, etc. 25 26 27## System options specific to the sparc machine type 28 29# Blink the power LED on some machines to indicate the system load. 30#options BLINK 31 32# builtin terminal emulations 33options WSEMUL_SUN # sun terminal emulation 34options WSEMUL_VT100 # VT100 / VT220 emulation 35options WSEMUL_DEFAULT="\"vt100\"" 36 37# customization of console and kernel output - see dev/wscons/wsdisplayvar.h 38options WSDISPLAY_COMPAT_RAWKBD 39options WSDISPLAY_CUSTOM_OUTPUT 40options WS_DEFAULT_FG=WSCOL_BLACK 41options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE 42options WS_KERNEL_FG=WSCOL_GREEN 43options WS_KERNEL_BG=WSCOL_LIGHT_WHITE 44options WSDISPLAY_SCROLLSUPPORT 45options FONT_GALLANT12x22 # the console font 46 47 48#### System options that are the same for all ports 49 50## Root device configuration: change the ?'s if you are going to use a 51## nonstandard root partition (other than where the kernel is booted from) 52## and/or nonstandard root type (not ffs or nfs). Normally this can be 53## automagically determined at boot time. 54 55config netbsd root on ? type ? 56 57## System call tracing (see ktrace(1)). 58options KTRACE 59 60## Collect statistics on kernel malloc's and free's. This does have a 61## significant performance hit on slower machines, so it is intended for 62## diagnostic use only. 63#options KMEMSTATS 64 65## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2)) 66options SYSVMSG # System V message queues 67options SYSVSEM # System V semaphores 68#options SEMMNI=10 # number of semaphore identifiers 69#options SEMMNS=60 # number of semaphores in system 70#options SEMUME=10 # max number of undo entries per process 71#options SEMMNU=30 # number of undo structures in system 72options SYSVSHM # System V shared memory 73options P1003_1B_SEMAPHORE # p1003.1b semaphore support 74 75## Loadable kernel module support; still under development. 76 77options USERCONF # userconf(4) support 78#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 79options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 80 81# Enable experimental buffer queue strategy for better responsiveness under 82# high disk I/O load. Use it with caution - it's not proven to be stable yet. 83#options BUFQ_READPRIO 84#options BUFQ_PRIOCSCAN 85 86## NFS boot options; tries DHCP/BOOTP then BOOTPARAM 87options NFS_BOOT_BOOTPARAM 88#options NFS_BOOT_BOOTP 89options NFS_BOOT_DHCP 90 91#### Debugging options 92 93## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at 94## serial console break or keyboard reset, where the PROM would normally 95## intercept. DDB_HISTORY_SIZE adds up/down arrow command history. 96options DDB # kernel dynamic debugger 97options DDB_HISTORY_SIZE=100 # enable history editing in DDB 98#options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic' 99 100## You may also use gdb, on another computer connected to this machine over 101## a serial port. Both KGDB_DEV and KGDB_DEVRATE should be specified; 102## KGDB_DEV is a dev_t encoded device number of the serial port to use, where 103## the minor device number encodes the PROM enumeration of the serial ports, 104## i.e.: 105## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd. 106## (Note: ttyc and ttyd are available only on some sun4 models) 107#options KGDB # support for kernel gdb 108#options KGDB_DEV=0xc01 # kgdb device number (this is `ttyb') 109#options KGDB_DEVRATE=38400 # baud rate 110 111 112## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file), 113## such that gdb(1) can be used on a kernel coredump. 114 115#makeoptions DEBUG="-g" 116makeoptions COPTS="-pipe -mcpu=supersparc -O2" 117 118 119 120## Adds code to the kernel that does internal consistency checks, and will 121## cause the kernel to panic if corruption of internal data structures 122## is detected. 123#options DIAGNOSTIC # extra kernel sanity checking 124 125## Enable (possibly expensive) debugging code that may also display messages 126## on the system console 127#options DEBUG 128#options LOCKDEBUG 129#options SYSCALL_DEBUG 130 131## Make SCSI error messages more verbose when explaining their meanings. 132options SCSIVERBOSE 133 134options MIIVERBOSE # verbose PHY autoconfig messages 135 136## `INSECURE' turns off the kernel security level (securelevel = 0 always). 137## This allows writing to /dev/mem, loading kernel modules while multi-user, 138## and other insecurities good only for development work. Do not use this 139## option on a production machine. 140#options INSECURE 141 142## `FDSCRIPTS' allows non-readable but executable scripts by providing a 143## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS', 144## which implies FDSCRIPTS, allows scripts to be set-user-id using the same 145## opaque file mechanism. Perl calls this "secure setuid scripts." 146 147#options FDSCRIPTS 148#options SETUIDSCRIPTS 149 150## Options for compatibility with previous releases foreign system binaries. 151## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up 152## additional user-level utilities or system configuration files. See 153## compat_sunos(8) and compat_svr4(8). 154 155options COMPAT_43 # 4.3BSD system interfaces 156options COMPAT_10 # NetBSD 1.0 binary compatibility 157options COMPAT_11 # NetBSD 1.1 binary compatibility 158options COMPAT_12 # NetBSD 1.2 binary compatibility 159options COMPAT_13 # NetBSD 1.3 binary compatibility 160options COMPAT_14 # NetBSD 1.4 binary compatibility 161options COMPAT_15 # NetBSD 1.5 binary compatibility 162options COMPAT_16 # NetBSD 1.6 binary compatibility 163options COMPAT_20 # NetBSD 2.0 binary compatibility 164options COMPAT_30 # NetBSD 3.0 binary compatibility 165options COMPAT_40 # NetBSD 4.0 binary compatibility 166options COMPAT_50 # NetBSD 5.0 binary compatibility 167options COMPAT_SUNOS # SunOS 4.x binary compatibility 168options COMPAT_SVR4 # SunOS 5.x binary compatibility 169options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 170 171## File systems. You probably need at least one of FFS or NFS. 172file-system FFS # Berkeley Fast Filesystem 173file-system NFS # Sun NFS-compatible filesystem client 174file-system KERNFS # kernel data-structure filesystem 175file-system NULLFS # NULL layered filesystem 176file-system OVERLAY # overlay file system 177file-system MFS # memory-based filesystem 178file-system FDESC # user file descriptor filesystem 179file-system UMAPFS # uid/gid remapping filesystem 180#file-system LFS # Log-based filesystem (still experimental) 181file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 182file-system PROCFS # /proc 183#file-system CD9660 # ISO 9660 + Rock Ridge file system 184#file-system UNION # union file system 185#file-system MSDOSFS # MS-DOS FAT filesystem(s). 186#file-system CODA # Coda File System; also needs vcoda (below) 187file-system PTYFS # /dev/pts/N support 188#file-system TMPFS # Efficient memory file-system 189#file-system UDF # experimental - OSTA UDF CD/DVD file-system 190 191## File system options. 192#options NFSSERVER # Sun NFS-compatible filesystem server 193#options QUOTA # legacy UFS quotas 194#options QUOTA2 # new, in-filesystem UFS quotas 195#options FFS_EI # FFS Endian Independent support 196#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 197options FFS_NO_SNAPSHOT # No FFS snapshot support 198 199## Network protocol support. In most environments, INET is required. 200options INET # IP (Internet Protocol) v4 201options INET6 # IPV6 202#options IPSEC # IP security 203#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 204#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 205#options IPSEC_DEBUG # debug for IP security 206#options GATEWAY # packet forwarding ("router switch") 207#options MROUTING # packet forwarding of multicast packets 208#options PIM # Protocol Independent Multicast 209#options DIRECTED_BROADCAST # allow broadcasts through routers 210options ISO,TPIP # OSI networking 211#options EON # OSI tunneling over IP 212#options NETATALK # AppleTalk (over Ethernet) protocol 213options NTP # Network Time Protocol in-kernel support 214#options PPS_SYNC # Add serial line synchronization for NTP 215#options PFIL_HOOKS # Add pfil(9) hooks, intended for custom LKMs. 216#options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device 217#options IPFILTER_LOOKUP # ippool(8) support 218#options IPFILTER_DEFAULT_BLOCK # block all packets by default 219#options PPP_BSDCOMP # Add BSD compression to ppp device 220#options PPP_DEFLATE # Add deflate (libz) compression to ppp device 221#options PPP_FILTER # Add active filters for ppp (via bpf) 222 223 224 225#### Main bus and CPU .. all systems. 226mainbus0 at root 227cpu0 at mainbus0 228 229#### Bus types found on SPARC systems. 230 231obio0 at mainbus0 # sun4 and sun4m 232 233iommu0 at mainbus0 # sun4m 234sbus0 at iommu0 # sun4m 235 236 237#### Standard system devices -- all required for a given architecture 238 239## Auxiliary system registers on sun4c and sun4m 240auxreg0 at obio0 # sun4m 241 242## Mostek clock found on 4/300, sun4c, sun4m and sun4d systems. 243clock0 at obio0 # sun4m 244 245## Timer chip found on 4/300, sun4c, and sun4m systems. 246timer0 at obio0 # sun4m 247 248 249#### Serial port configuration 250 251## NS16x50 serial chips and clones. Present on the 252## Sun JavaStation-1 and Tadpole SPARCbook 3 253com0 at obio0 # sun4m 254 255 256#### Keyboard and mouse 257 258pckbc0 at obio0 259#kbd0 at pckbc0 260#ms0 at pckbc0 261#wskbd* at kbd? console ? 262#wsmouse* at ms? mux 0 263pckbd* at pckbc? # PC keyboard 264pms* at pckbc? # PS/2 mouse for wsmouse 265wskbd* at pckbd? console ? 266wsmouse* at pms? mux 0 267 268#### Disk controllers and disks 269 270## A disk-like interface to files. Can be used to create floppy, CD, 271## miniroot images, etc. 272 273#pseudo-device vnd 274#options VND_COMPRESSION # compressed vnd(4) 275 276#### Network interfaces 277 278## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue 279ledma0 at sbus0 slot ? offset ? # sun4m on-board 280le0 at ledma0 # sun4m on-board 281 282 283## Loopback network interface; required 284pseudo-device loop 285 286## SLIP and CSLIP interfaces, for IP over a serial line. 287#pseudo-device sl 288 289## PPP, the successor to SLIP. See pppd(8). 290#pseudo-device ppp 291 292## PPP over Ethernet (RFC 2516) 293#pseudo-device pppoe 294 295## Network "tunnel" device, allowing protocol stacks to run in the userland. 296## This is used by the third-party user-mode "ppp" program, and others. 297#pseudo-device tun 298#pseudo-device tap # virtual Ethernet 299 300## Generic L3 over IP tunnel 301#pseudo-device gre # generic L3 over IP tunnel 302 303## Berkeley Packet Filter, required to run RARPD. A generic C-language 304## interface that allows selective examining of incoming packets. 305pseudo-device bpfilter 306 307#pseudo-device carp # Common Address Redundancy Protocol 308 309## IP Filter, used in firewall and NAT applications. See ipnat(8) for 310## one example of the use of the IP Filter. 311#pseudo-device ipfilter 312 313## for IPv6 314#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 315#pseudo-device faith # IPv[46] tcp relay translation i/f 316#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 317 318## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4). 319#pseudo-device vlan 320 321#### Audio and video devices 322 323## /dev/audio support (`audiocs' plus `audio') 324## 325audiocs0 at sbus0 slot ? offset ? # SUNW,CS4231 326audio0 at audiocs0 327 328## Sun "tcx" accelerated color framebuffer. 329tcx0 at sbus? slot ? offset ? 330wsdisplay0 at tcx0 331 332#### Other device configuration 333 334## Pseudo ttys, required for network logins and programs like screen. 335 336pseudo-device pty # pseudo-terminals 337 338## Random device, used to implement /dev/random (a source of random noise), 339## and generate randomness for some kernel formulae. 340 341 342# a pseudo device needed for Coda # also needs CODA (above) 343#pseudo-device vcoda 4 # coda minicache <-> venus comm. 344 345pseudo-device clockctl # user control of clock subsystem 346pseudo-device ksyms # /dev/ksyms 347pseudo-device putter # for puffs and pud 348 349pseudo-device wsmux # mouse and keyboard multiplexor 350pseudo-device wsfont 351