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