1# $NetBSD: DISKLESS,v 1.59 2008/11/12 12:36:08 ad Exp $ 2 3# DISKLESS - Root and swap on NFS 4# Desktop machines only (3/50, 3/60, 3/110) 5# 6# Includes devices needed to run as an X-terminal 7 8include "arch/sun3/conf/std.sun3" 9 10#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 11 12makeoptions COPTS="-Os" # bootloader has size limit (~2MB) 13 14# Machines to be supported by this kernel 15options FPU_EMULATE 16options HAVECACHE # Sun3/260 VAC 17 18# Needs to be set per system. i.e change these as you see fit 19maxusers 2 20 21# Standard system options 22#options KTRACE # system call tracing 23#options SYSVMSG # System V message queues 24#options SYSVSEM # System V semaphores 25#options SYSVSHM # System V shared memory 26#options SHMMAXPGS=1024 # 1024 pages is the default 27#options INSECURE # disable kernel security level 28options USERCONF # userconf(4) support 29#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 30#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 31 32# Which kernel debugger? Uncomment either this: 33#options DDB 34# ... or these for KGDB (gdb remote target) 35#makeoptions DEBUG="-g" # debugging symbols for gdb 36#options KGDB 37#options KGDB_DEV=0x0C01 # ttya=0C00 ttyb=0C01 38 39# Other debugging options 40#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 41#options DEBUG # kernel debugging code 42#options DIAGNOSTIC # extra kernel sanity checking 43#options KMEMSTATS # kernel memory statistics (vmstat -m) 44#options PMAP_DEBUG 45 46# Compatibility options 47#options COMPAT_SUNOS # can run SunOS 4.1.1 executables 48#options COMPAT_43 # and 4.3BSD and ... 49#options COMPAT_10 # NetBSD 1.0 50#options COMPAT_11 # NetBSD 1.1 51#options COMPAT_12 # NetBSD 1.2 52options COMPAT_13 # NetBSD 1.3 53options COMPAT_14 # NetBSD 1.4 54options COMPAT_15 # NetBSD 1.5 55options COMPAT_16 # NetBSD 1.6 56options COMPAT_20 # NetBSD 2.0 57options COMPAT_30 # NetBSD 3.0 58options COMPAT_40 # NetBSD 4.0 compatibility. 59#options COMPAT_LINUX # can run Linux/m68k executables 60#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 61options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 62 63# Filesystem options 64#file-system FFS # Berkeley Fast Filesystem 65file-system NFS # Sun NFS client support 66#file-system CD9660 # ISO 9660 + Rock Ridge file system 67#file-system FDESC # /dev/fd/* 68#file-system KERNFS # /kern 69#file-system NULLFS # loopback file system 70#file-system PROCFS # /proc 71#file-system UNION # union file system 72#file-system MFS # memory-based filesystem 73#file-system PTYFS # /dev/pts/N support 74 75#options NFSSERVER # nfs server support 76#options QUOTA # FFS quotas 77#options FFS_EI # FFS Endian Independant support 78 79# Networking options 80options INET # IP protocol stack support 81#options GATEWAY # IP packet forwarding 82#options ISO,TPIP # OSI networking 83#options EON # OSI tunneling over IP 84#options PFIL_HOOKS # pfil(9) packet filter hooks. 85#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 86 87# Work-around for root on slow servers (insurance...) 88options NFS_BOOT_RWSIZE=1024 89options NFS_BOOT_BOOTPARAM 90 91config netbsd root on ? type nfs 92 93# On-board I/O space (required) 94include "arch/sun3/conf/obio.sun3" 95 96# On-board memory (optional) 97# See frame-buffers 98obmem0 at mainbus? 99 100# VME bus support (optional) 101# (none on desktop machines) 102 103# 104# Serial ports 105# 106zstty0 at zsc1 channel 0 # ttya 107zstty1 at zsc1 channel 1 # ttyb 108 109kbd0 at zsc0 channel 0 # keyboard 110ms0 at zsc0 channel 1 # mouse 111 112# 113# Network devices 114# 115 116# Intel Ethernet (onboard, or VME) 117#ie0 at obio0 addr 0x0C0000 ipl 3 118#ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 119 120# Lance Ethernet (only onboard) 121le0 at obio0 addr 0x120000 ipl 3 122 123# All Sun3 machines with an "le" (3/50, 3/60) should be 124# presumed to have the old, buggy LANCE chip. (Rev. C) 125options LANCE_REVC_BUG 126 127# 128# Frame buffer devices 129# 130 131include "arch/sun3/conf/bw2.sun3" 132include "arch/sun3/conf/cg4.sun3" 133 134# 3/60 P4 accelerated 8-bit color frame buffer 135# cgsix0 at obmem0 addr 0xff000000 136 137# 3/60 P4 24-bit color frame buffer 138# cgeight0 at obmem0 addr 0xff300000 139 140# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 141# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 142 143# Support for the CG9 24-bit frame buffer (VME A32/D32). 144# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 145 146# Misc. 147pseudo-device loop 1 # network loopback 148pseudo-device bpfilter # packet filter 149pseudo-device sl # CSLIP 150pseudo-device ppp # PPP 151pseudo-device tun # network tunneling over tty 152#pseudo-device gre # generic L3 over IP tunnel 153#pseudo-device ipfilter # ip filter 154 155pseudo-device pty # pseudo-terminals 156pseudo-device clockctl # user control of clock subsystem 157