1 1.39 dsl # $NetBSD: RAMDISK,v 1.39 2005/02/18 21:05:54 dsl Exp $ 2 1.1 gwr 3 1.1 gwr # RAMDISK: Root/swap on ramdisk 4 1.1 gwr # This kernel is used to: 5 1.1 gwr # format the disk (not yet implemented) 6 1.1 gwr # partition the disk (disklabel) 7 1.1 gwr # install the miniroot in the swap partition 8 1.1 gwr 9 1.5 jtc include "arch/sun3/conf/std.sun3" 10 1.34 atatat 11 1.34 atatat #options INCLUDE_CONFIG_FILE # embed config file in kernel binary 12 1.1 gwr 13 1.17 gwr # Machines to be supported by this kernel 14 1.13 gwr # options FPU_EMULATE # No FP code here! 15 1.1 gwr options HAVECACHE # Sun3/260 VAC 16 1.1 gwr 17 1.1 gwr # Needs to be set per system. i.e change these as you see fit 18 1.1 gwr maxusers 2 19 1.1 gwr 20 1.1 gwr # Standard system options 21 1.13 gwr # ... debugging options 22 1.18 gwr #options DDB 23 1.25 wiz # Compatibility options (none) 24 1.6 thorpej 25 1.13 gwr # Filesystem options 26 1.13 gwr # Need FFS for the ramdisk image. 27 1.13 gwr file-system FFS # Berkeley Fast Filesystem 28 1.13 gwr # May need these to get miniroot image. 29 1.13 gwr file-system NFS # Sun NFS client support 30 1.13 gwr file-system CD9660 # ISO 9660 + Rock Ridge file system 31 1.39 dsl options FFS_NO_SNAPSHOT # No FFS snapshots 32 1.2 gwr 33 1.18 gwr # Networking options 34 1.18 gwr options INET # IP prototol stack support 35 1.26 abs #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 36 1.26 abs 37 1.26 abs #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 38 1.18 gwr 39 1.13 gwr # Enable the hooks used for initializing the root memory-disk. 40 1.8 pk options MEMORY_DISK_HOOKS 41 1.13 gwr options MEMORY_DISK_IS_ROOT # force root on memory disk 42 1.13 gwr options MEMORY_DISK_SERVER=0 # no userspace memory disk support 43 1.36 chs options MEMORY_DISK_ROOT_SIZE=1000 # size of memory disk, in blocks 44 1.30 jdolecek 45 1.35 lukem options USERCONF # userconf(4) support 46 1.30 jdolecek options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 47 1.37 atatat #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 48 1.1 gwr 49 1.24 tsutsui config netbsd root on ? type ffs 50 1.1 gwr 51 1.16 gwr # On-board I/O space (required) 52 1.16 gwr include "arch/sun3/conf/obio.sun3" 53 1.16 gwr 54 1.16 gwr # On-board memory (optional) 55 1.16 gwr # See frame-buffers 56 1.16 gwr # obmem0 at mainbus? 57 1.16 gwr 58 1.16 gwr # VME bus support (optional) 59 1.16 gwr # One unit for each address space 60 1.16 gwr vme0 at mainbus? # A16/D16 61 1.16 gwr vme1 at mainbus? # A16/D32 62 1.16 gwr vme2 at mainbus? # A24/D16 63 1.16 gwr vme3 at mainbus? # A24/D32 64 1.16 gwr vme4 at mainbus? # A32/D16 65 1.16 gwr vme5 at mainbus? # A32/D32 66 1.16 gwr 67 1.2 gwr # 68 1.3 gwr # Serial ports 69 1.3 gwr # 70 1.11 lukem zstty0 at zsc1 channel 0 # ttya 71 1.11 lukem zstty1 at zsc1 channel 1 # ttyb 72 1.3 gwr 73 1.11 lukem kbd0 at zsc0 channel 0 # keyboard 74 1.13 gwr #ms0 at zsc0 channel 1 # mouse 75 1.3 gwr 76 1.3 gwr # 77 1.2 gwr # Network devices 78 1.2 gwr # 79 1.1 gwr 80 1.2 gwr # Intel Ethernet (onboard, or VME) 81 1.16 gwr ie0 at obio0 addr 0x0C0000 ipl 3 82 1.29 lukem ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 83 1.1 gwr 84 1.2 gwr # Lance Ethernet (only onboard) 85 1.16 gwr le0 at obio0 addr 0x120000 ipl 3 86 1.16 gwr 87 1.16 gwr # All Sun3 machines with an "le" (3/50, 3/60) should be 88 1.16 gwr # presumed to have the old, buggy LANCE chip. (Rev. C) 89 1.16 gwr options LANCE_REVC_BUG 90 1.1 gwr 91 1.2 gwr # 92 1.2 gwr # Disk and tape devices 93 1.2 gwr # 94 1.2 gwr 95 1.2 gwr # Sun3 "si" SCSI controller (NCR 5380) 96 1.13 gwr # See GENERIC for the flags description. 97 1.16 gwr si0 at obio0 addr 0x140000 ipl 2 98 1.29 lukem si0 at vme2 addr 0x200000 ipl 2 vect 0x40 99 1.29 lukem si1 at vme2 addr 0x204000 ipl 2 vect 0x41 100 1.16 gwr 101 1.16 gwr # Xylogics 450/451 controllers (VME A16/D16) 102 1.16 gwr xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48 103 1.16 gwr xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49 104 1.13 gwr xy* at xyc? drive ? 105 1.10 gwr 106 1.16 gwr # Xylogics 7053 controllers (VME A16/D32) 107 1.16 gwr xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44 108 1.16 gwr xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45 109 1.13 gwr xd* at xdc? drive ? 110 1.2 gwr 111 1.2 gwr # Xylogics 472 tape controllers? 112 1.13 gwr 113 1.16 gwr # Sun3/E SCSI+Ethernet board (VME A24/D16) 114 1.16 gwr # Note: the board uses vect and vect+1 115 1.16 gwr sebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75 116 1.16 gwr sebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77 117 1.13 gwr si* at sebuf? 118 1.13 gwr ie* at sebuf? 119 1.2 gwr 120 1.2 gwr # 121 1.2 gwr # Frame buffer devices 122 1.18 gwr # (Not needed for installation kernels.) 123 1.1 gwr 124 1.2 gwr # 125 1.2 gwr # SCSI infrastructure 126 1.2 gwr # 127 1.1 gwr scsibus* at scsi? 128 1.1 gwr 129 1.10 gwr sd* at scsibus? target ? lun ? # SCSI disks 130 1.10 gwr st* at scsibus? target ? lun ? # SCSI tapes 131 1.10 gwr cd* at scsibus? target ? lun ? # SCSI CD-ROMs 132 1.10 gwr #ch* at scsibus? target ? lun ? # SCSI changer devices 133 1.10 gwr #ss* at scsibus? target ? lun ? # SCSI scanners 134 1.20 gwr #uk* at scsibus? target ? lun ? # unknown SCSI devices 135 1.1 gwr 136 1.16 gwr # Memory-disk drivers (root for install tape) 137 1.11 lukem pseudo-device md 2 138 1.2 gwr 139 1.2 gwr # Misc. 140 1.11 lukem pseudo-device loop 1 # network loopback 141 1.11 lukem pseudo-device sl 2 # CSLIP 142 1.38 hannken #pseudo-device fss 4 # file system snapshot device 143