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