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