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