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