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