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