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