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