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