KRUPS revision 1.2
1# $NetBSD: KRUPS,v 1.2 2002/01/29 06:59:26 uwe Exp $ 2# From: NetBSD: GENERIC,v 1.130 2002/01/27 13:23:26 jdolecek Exp 3# 4# Krups (JavaStation 10, aka JavaStation NC) machine description file 5# 6# XXX: This config is experimental and will not work without some 7# additional patches not yet committed to the tree. 8 9include "arch/sparc/conf/std.sparc" 10 11#ident "KRUPS-$Revision: 1.2 $" 12 13maxusers 32 14 15## System kernel configuration. See options(4) for more detail. 16 17 18# Options for variants of the Sun SPARC architecure. 19# We currently support three architecture types; at least one is required. 20options SUN4M # sun4m - SS10, SS20, Classic, etc. 21 22# microSPARC-IIep is PCI based sun4m (JavaStation 10, CP1200, etc) 23# This option selects if SUN4M means "normal" 4m or IIep. Kernels 24# with this option turned on will refuse to work on normal 4m. 25options MSIIEP # microSPARC-IIep 26 27# XXX: uwe: PROM location conflicts with kernel VA space !!! 28makeoptions TEXTADDR=E8004000 29 30 31## System options specific to the sparc machine type 32 33# XXX: uwe: to do 34# Blink the power LED on some machines to indicate the system load. 35#options BLINK 36 37 38#### System options that are the same for all ports 39 40## Root device configuration: change the ?'s if you are going to use a 41## nonstandard root partition (other than where the kernel is booted from) 42## and/or nonstandard root type (not ffs or nfs). Normally this can be 43## automagically determined at boot time. 44 45config netbsd root on ? type ? 46 47## System call tracing (see ktrace(1)). 48options KTRACE 49 50## Collect statistics on kernel malloc's and free's. This does have a 51## significant performance hit on slower machines, so it is intended for 52## diagnostic use only. 53#options KMEMSTATS 54 55## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2)) 56#options SYSVMSG # System V message queues 57#options SYSVSEM # System V semaphores 58#options SEMMNI=10 # number of semaphore identifiers 59#options SEMMNS=60 # number of semaphores in system 60#options SEMUME=10 # max number of undo entries per process 61#options SEMMNU=30 # number of undo structures in system 62#options SYSVSHM # System V shared memory 63#options SHMMAXPGS=1024 # 1024 pages is the default 64 65## Loadable kernel module support; still under development. 66#options LKM 67 68#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 69 70## NFS boot options; default on sparc is the bootparam protocol 71options NFS_BOOT_BOOTPARAM 72#options NFS_BOOT_BOOTP 73#options NFS_BOOT_DHCP 74 75#### Debugging options 76 77## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at 78## serial console break or keyboard reset, where the PROM would normally 79## intercept. DDB_HISTORY_SIZE adds up/down arrow command history. 80options DDB # kernel dynamic debugger 81options DDB_HISTORY_SIZE=100 # enable history editing in DDB 82options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic' 83 84## You may also use gdb, on another computer connected to this machine over 85## a serial port. Both KGDB_DEV and KGDB_DEVRATE should be specified; 86## KGDB_DEV is a dev_t encoded device number of the serial port to use, where 87## the minor device number encodes the PROM enumeration of the serial ports, 88## i.e.: 89## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd. 90## (Note: ttyc and ttyd are available only on some sun4 models) 91#options KGDB # support for kernel gdb 92#options KGDB_DEV=0xc01 # kgdb device number (this is `ttyb') 93#options KGDB_DEVRATE=38400 # baud rate 94 95 96## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file), 97## such that gdb(1) can be used on a kernel coredump. 98 99#makeoptions DEBUG="-g" 100makeoptions COPTS="-pipe -mv8 -O2" 101 102 103## Adds code to the kernel that does internal consistency checks, and will 104## cause the kernel to panic if corruption of internal data structures 105## is detected. 106options DIAGNOSTIC # extra kernel sanity checking 107 108## Enable (possibly expensive) debugging code that may also display messages 109## on the system console 110#options DEBUG 111 112options MIIVERBOSE # verbose PHY autoconfig messages 113 114## `INSECURE' turns off the kernel security level (securelevel = 0 always). 115## This allows writing to /dev/mem, loading kernel modules while multi-user, 116## and other insecurities good only for development work. Do not use this 117## option on a production machine. 118#options INSECURE 119 120## Allow non-root users to grab /dev/console with programs such as xconsole. 121## `xconsole' therefore does not need setuid root with this option enabled. 122#options UCONSOLE 123 124## `FDSCRIPTS' allows non-readable but executable scripts by providing a 125## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS', 126## which implies FDSCRIPTS, allows scripts to be set-user-id using the same 127## opaque file mechanism. Perl calls this "secure setuid scripts." 128 129#options FDSCRIPTS 130#options SETUIDSCRIPTS 131 132## Options for compatibility with previous releases foreign system binaries. 133## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up 134## additional user-level utilities or system configuration files. See 135## compat_sunos(8) and compat_svr4(8). 136 137options COMPAT_43 # 4.3BSD system interfaces 138#options COMPAT_10 # NetBSD 1.0 binary compatibility 139#options COMPAT_11 # NetBSD 1.1 binary compatibility 140#options COMPAT_12 # NetBSD 1.2 binary compatibility 141#options COMPAT_13 # NetBSD 1.3 binary compatibility 142#options COMPAT_14 # NetBSD 1.4 binary compatibility 143#options COMPAT_SUNOS # SunOS 4.x binary compatibility 144#options COMPAT_SVR4 # SunOS 5.x binary compatibility 145 146## File systems. You probably need at least one of FFS or NFS. 147#file-system FFS # Berkeley Fast Filesystem 148file-system NFS # Sun NFS-compatible filesystem client 149file-system KERNFS # kernel data-structure filesystem 150#file-system NULLFS # NULL layered filesystem 151#file-system OVERLAY # overlay file system 152#file-system MFS # memory-based filesystem 153#file-system FDESC # user file descriptor filesystem 154#file-system UMAPFS # uid/gid remapping filesystem 155#file-system LFS # Log-based filesystem (still experimental) 156#file-system PORTAL # portal filesystem (still experimental) 157file-system PROCFS # /proc 158#file-system CD9660 # ISO 9660 + Rock Ridge file system 159#file-system UNION # union file system 160#file-system MSDOSFS # MS-DOS FAT filesystem(s). 161#file-system CODA # Coda File System; also needs vcoda (below) 162 163## File system options. 164#options NFSSERVER # Sun NFS-compatible filesystem server 165#options QUOTA # FFS quotas 166#options FFS_EI # FFS Endian Independent support 167#options SOFTDEP # FFS soft updates support. 168 169## Network protocol support. In most environments, INET is required. 170options INET # IP (Internet Protocol) v4 171#options INET6 # IPV6 172#options IPSEC # IP security 173#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 174#options IPSEC_DEBUG # debug for IP security 175#options GATEWAY # packet forwarding ("router switch") 176#options MROUTING # packet forwarding of multicast packets 177#options DIRECTED_BROADCAST # allow broadcasts through routers 178#options NS # Xerox NS networking 179#options NSIP # Xerox NS tunneling over IP 180#options ISO,TPIP # OSI networking 181#options EON # OSI tunneling over IP 182#options CCITT,LLC,HDLC # X.25 packet switched protocol 183#options NETATALK # AppleTalk (over Ethernet) protocol 184#options NTP # Network Time Protocol in-kernel support 185#options PPS_SYNC # Add serial line synchronization for NTP 186#options PFIL_HOOKS # Add pfil(9) hooks, intended for custom LKMs. 187#options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device 188#options PPP_BSDCOMP # Add BSD compression to ppp device 189#options PPP_DEFLATE # Add deflate (libz) compression to ppp device 190#options PPP_FILTER # Add active filters for ppp (via bpf) 191 192 193 194#### Main bus and CPU .. all systems. 195mainbus0 at root 196cpu0 at mainbus0 197 198#### Bus types found on SPARC systems. 199 200msiiep0 at mainbus0 # microSPARC-IIep PCIC, timer, ... 201 202pci0 at msiiep0 203options PCIVERBOSE 204#options PCI_CONFIG_DUMP # hangs reading IGA1682 config past offset 64 205 206ebus0 at pci0 # ebus devices 207 208 209#### Standard system devices -- all required for a given architecture 210 211# timer is part of ms-IIep PCIC 212 213## ds1287 TOD clock at EBus 214rtc0 at ebus0 215 216#### Serial port configuration 217 218# XXX: uwe: needs a work-around applied to comstart() 219## NS16x50 serial chips and clones. 220com* at ebus0 221 222 223#### Disk controllers and disks 224 225## A disk-like interface to files. Can be used to create floppy, CD, 226## miniroot images, etc. 227 228#pseudo-device vnd 4 229 230## Memory disk device, used on boot floppies with compressed 231## kernel-plus-root-disk images. 232 233#pseudo-device md 1 234 235 236#### Network interfaces 237 238## Happy Meal Ethernet 239hme* at pci? dev ? function ? # network "hme" compatible 240 241# MII/PHY support 242qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 243 244## Loopback network interface; required 245pseudo-device loop 246 247## SLIP and CSLIP interfaces, for IP over a serial line. 248#pseudo-device sl 2 249 250## PPP, the successor to SLIP. See pppd(8). 251#pseudo-device ppp 2 252 253## PPP over Ethernet (RFC 2516) 254#pseudo-device pppoe 255 256## Network "tunnel" device, allowing protocol stacks to run in the userland. 257## This is used by the third-party user-mode "ppp" program, and others. 258#pseudo-device tun 4 259 260## Generic L3 over IP tunnel 261#pseudo-device gre 2 # generic L3 over IP tunnel 262 263## Berkeley Packet Filter, required to run RARPD. A generic C-language 264## interface that allows selective examining of incoming packets. 265pseudo-device bpfilter 8 266 267## IP Filter, used in firewall and NAT applications. See ipnat(8) for 268## one example of the use of the IP Filter. 269#pseudo-device ipfilter 270 271## for IPv6 272#pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 273#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 274#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 275 276## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4). 277#pseudo-device vlan 278 279#### Audio and video devices 280 281# XXX: uwe: not committed yet 282## /dev/audio support 283#audiocs0 at ebus? # SUNW,CS4231 284#audio* at audiocs0 285 286 287#### Other device configuration 288 289## Pseudo ttys, required for network logins and programs like screen. 290 291pseudo-device pty # pseudo-terminals 292 293## Random device, used to implement /dev/random (a source of random noise), 294## and generate randomness for some kernel formulae. 295 296pseudo-device rnd 297 298# a pseudo device needed for Coda # also needs CODA (above) 299#pseudo-device vcoda 4 # coda minicache <-> venus comm. 300