RAMDISK revision 1.9
1# $NetBSD: RAMDISK,v 1.9 1997/01/31 02:08:24 thorpej Exp $ 2 3# 4# RAMDISK: Root/swap on ramdisk 5# This kernel is used to: 6# format the disk (not yet implemented) 7# partition the disk (disklabel) 8# install the miniroot in the swap partition 9# 10 11include "arch/sun3/conf/std.sun3" 12 13# Machines to be supported by this kernel 14options FPU_EMULATE # XXX - Should not be needed! 15options HAVECACHE # Sun3/260 VAC 16 17# Needs to be set per system. i.e change these as you see fit 18maxusers 2 19 20# Standard system options 21 22# Debugging options. Uncomment either this: 23#options DDB 24# ... or these two: (for KGDB on another machine) 25makeoptions DEBUG="-g" # symbols for kgdb + nm 26options KGDB 27 28# Enable the hooks used for initializing the ram-disk. 29options MEMORY_DISK_HOOKS 30options MINIROOTSIZE=512 # 256K 31 32# Filesystem options 33# May need NFS to get miniroot image 34file-system NFS # nfs client support 35# Need FFS for the ramdisk image 36file-system FFS # ufs file system 37 38options FIFO # FIFOs; RECOMMENDED 39 40# Networking options 41options INET # IP prototol stack support 42options TCP_COMPAT_42 # TCP bug compatibility with 4.2BSD 43# XXX - Work-around for root on slow SunOS/Sun3 servers (sigh...) 44options NFS_BOOT_RWSIZE=1024 45 46# Compatability 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 50options COMPAT_11 # NetBSD 1.1 51options COMPAT_12 # NetBSD 1.2 52options UCONSOLE # Allow non-root TIOCCONS 53 54# Sun3-specific debugging options 55options DIAGNOSTIC 56 57config netbsd root on ? type ? 58 59# 60# Serial ports 61# 62zstty0 at zsc1 channel 0 # ttya 63zstty1 at zsc1 channel 1 # ttyb 64 65kbd0 at zsc0 channel 0 # keyboard 66ms0 at zsc0 channel 1 # mouse 67 68# 69# Network devices 70# 71 72# Intel Ethernet (onboard, or VME) 73ie0 at obio0 addr ? level ? 74ie1 at vmes0 addr 0xffe88000 level 3 vect 0x75 75 76# Lance Ethernet (only onboard) 77le0 at obio0 addr ? level ? 78 79# 80# Disk and tape devices 81# 82 83# Sun3 "si" SCSI controller (NCR 5380) 84si0 at obio0 addr ? level ? 85si0 at vmes0 addr 0xff200000 level 2 vect 0x40 86si1 at vmes0 addr 0xff204000 level 2 vect 0x41 87 88# Xylogics 7053 controllers 89# xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44 90# xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45 91# xd* at xdc? drive ? 92 93# Xylogics 450/451 controllers 94# xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48 95# xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49 96# xy* at xyc? drive ? 97 98# Xylogics 472 tape controllers? 99 100# 101# Frame buffer devices 102# (Not needed for the RAMDISK installation kernel) 103 104# 105# SCSI infrastructure 106# 107scsibus* at scsi? 108 109# Sun compatible scsi device mappings 110sd0 at scsibus? target 0 lun 0 111sd1 at scsibus? target 0 lun 1 112sd2 at scsibus? target 1 lun 0 113sd3 at scsibus? target 1 lun 1 114sd* at scsibus? target ? lun ? 115 116st0 at scsibus? target 4 lun 0 117st1 at scsibus? target 5 lun 0 118st* at scsibus? target ? lun ? 119 120cd0 at scsibus? target 6 lun 0 121cd* at scsibus? target ? lun ? 122 123#ch* at scsibus? target ? lun ? 124 125# Memory-disk (root for install tape) 126pseudo-device md 2 # Memory-disk 127 128# Misc. 129pseudo-device loop 1 # network loopback 130pseudo-device sl 2 # CSLIP 131pseudo-device ppp 2 # PPP 132 133