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