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