1998-06-26 05:53:43 +04:00
|
|
|
# $NetBSD: RAMDISK3X,v 1.7 1998/06/26 01:54:13 lukem Exp $
|
1997-05-27 05:06:33 +04:00
|
|
|
|
|
|
|
# RAMDISK: Root/swap on ramdisk
|
|
|
|
# This kernel is used to:
|
|
|
|
# format the disk (not yet implemented)
|
|
|
|
# partition the disk (disklabel)
|
|
|
|
# install the miniroot in the swap partition
|
|
|
|
|
1998-02-08 08:10:45 +03:00
|
|
|
include "arch/sun3/conf/std.sun3x"
|
1998-02-05 07:56:24 +03:00
|
|
|
|
1998-02-08 08:10:45 +03:00
|
|
|
# Machines to be supported by this kernel
|
|
|
|
# options FPU_EMULATE # XXX - Ever needed?
|
1998-02-05 07:56:24 +03:00
|
|
|
# options HAVE_IOCACHE # XXX - Not yet supported.
|
1997-05-27 05:06:33 +04:00
|
|
|
|
|
|
|
# Needs to be set per system. i.e change these as you see fit
|
|
|
|
maxusers 2
|
|
|
|
|
|
|
|
# Standard system options
|
1997-10-07 21:50:50 +04:00
|
|
|
# ... debugging options
|
1998-03-08 22:38:05 +03:00
|
|
|
#options DDB
|
1998-06-09 00:20:05 +04:00
|
|
|
# Compatability options (none)
|
1997-05-27 05:06:33 +04:00
|
|
|
|
|
|
|
# Filesystem options
|
1997-10-07 21:50:50 +04:00
|
|
|
# Need FFS for the ramdisk image.
|
|
|
|
file-system FFS # Berkeley Fast Filesystem
|
|
|
|
# May need these to get miniroot image.
|
|
|
|
file-system NFS # Sun NFS client support
|
|
|
|
file-system CD9660 # ISO 9660 + Rock Ridge file system
|
1997-05-27 05:06:33 +04:00
|
|
|
|
1998-03-08 22:38:05 +03:00
|
|
|
# Networking options
|
|
|
|
options INET # IP prototol stack support
|
|
|
|
options TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP
|
|
|
|
|
1998-02-05 07:56:24 +03:00
|
|
|
# Enable the hooks used for initializing the root memory-disk.
|
1997-10-07 21:50:50 +04:00
|
|
|
options MEMORY_DISK_HOOKS
|
1998-02-05 07:56:24 +03:00
|
|
|
options MEMORY_DISK_IS_ROOT # force root on memory disk
|
|
|
|
options MEMORY_DISK_SERVER=0 # no userspace memory disk support
|
|
|
|
options MINIROOTSIZE=512 # size of memory disk, in blocks
|
1997-10-07 21:50:50 +04:00
|
|
|
|
1997-05-27 05:06:33 +04:00
|
|
|
config netbsd root on md0 type ffs
|
|
|
|
|
1998-02-05 07:56:24 +03:00
|
|
|
# On-board I/O space (required)
|
|
|
|
include "arch/sun3/conf/obio.sun3x"
|
|
|
|
|
|
|
|
# On-board memory (optional)
|
|
|
|
# See frame-buffers
|
|
|
|
# obmem0 at mainbus?
|
|
|
|
|
|
|
|
# VME bus support (optional)
|
|
|
|
# One unit for each address space
|
|
|
|
vme0 at mainbus? # A16/D16
|
|
|
|
vme1 at mainbus? # A16/D32
|
|
|
|
vme2 at mainbus? # A24/D16
|
|
|
|
vme3 at mainbus? # A24/D32
|
|
|
|
vme4 at mainbus? # A32/D16
|
|
|
|
vme5 at mainbus? # A32/D32
|
|
|
|
|
1997-05-27 05:06:33 +04:00
|
|
|
#
|
|
|
|
# Serial ports
|
|
|
|
#
|
|
|
|
zstty0 at zsc1 channel 0 # ttya
|
|
|
|
zstty1 at zsc1 channel 1 # ttyb
|
|
|
|
|
|
|
|
kbd0 at zsc0 channel 0 # keyboard
|
1998-02-05 07:56:24 +03:00
|
|
|
#ms0 at zsc0 channel 1 # mouse
|
1997-05-27 05:06:33 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# Network devices
|
|
|
|
#
|
|
|
|
|
1998-02-05 07:56:24 +03:00
|
|
|
# Intel Ethernet (onboard, or VME)
|
1997-10-07 21:50:50 +04:00
|
|
|
ie0 at obio0 addr 0x65000000 ipl 3
|
1998-02-05 07:56:24 +03:00
|
|
|
ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
|
1997-10-07 21:50:50 +04:00
|
|
|
|
1997-05-27 05:06:33 +04:00
|
|
|
# Lance Ethernet (only onboard)
|
|
|
|
le0 at obio0 addr 0x65002000 ipl 3
|
|
|
|
|
|
|
|
#
|
|
|
|
# Disk and tape devices
|
|
|
|
#
|
|
|
|
|
1997-10-07 21:50:50 +04:00
|
|
|
# Emulex SCSI (3/80 only)
|
1998-03-08 22:38:05 +03:00
|
|
|
# See GENERIC3X for the flags description.
|
1997-05-27 05:06:33 +04:00
|
|
|
esp0 at obio0 addr 0x66000000 ipl 2 flags 0xff0f
|
|
|
|
|
|
|
|
# Floppy drive
|
|
|
|
fdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40
|
|
|
|
fd0 at fdc0 # First (and only) floppy drive.
|
|
|
|
|
1998-02-05 07:56:24 +03:00
|
|
|
# Sun3 "si" SCSI controller (NCR 5380)
|
1998-03-08 22:38:05 +03:00
|
|
|
# See GENERIC3X for the flags description.
|
1998-02-05 07:56:24 +03:00
|
|
|
si0 at vme2 addr 0x200000 ipl 2 vect 0x40
|
|
|
|
si1 at vme2 addr 0x204000 ipl 2 vect 0x41
|
|
|
|
|
|
|
|
# Xylogics 450/451 controllers (VME A16/D16)
|
|
|
|
xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
|
|
|
|
xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
|
|
|
|
xy* at xyc? drive ?
|
|
|
|
|
|
|
|
# Xylogics 7053 controllers (VME A16/D32)
|
|
|
|
xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
|
|
|
|
xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
|
|
|
|
xd* at xdc? drive ?
|
|
|
|
|
|
|
|
# Xylogics 472 tape controllers?
|
|
|
|
|
1997-05-27 05:06:33 +04:00
|
|
|
#
|
|
|
|
# Frame buffer devices
|
1998-03-08 22:38:05 +03:00
|
|
|
# (Not needed for installation kernels.)
|
1997-05-27 05:06:33 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# SCSI infrastructure
|
|
|
|
#
|
|
|
|
scsibus* at scsi?
|
|
|
|
|
|
|
|
sd* at scsibus? target ? lun ? # SCSI disks
|
|
|
|
st* at scsibus? target ? lun ? # SCSI tapes
|
|
|
|
cd* at scsibus? target ? lun ? # SCSI CD-ROMs
|
|
|
|
#ch* at scsibus? target ? lun ? # SCSI changer devices
|
|
|
|
#ss* at scsibus? target ? lun ? # SCSI scanners
|
1998-02-05 07:56:24 +03:00
|
|
|
#uk* at scsibus? target ? lun ? # unknown SCSI devices
|
1997-05-27 05:06:33 +04:00
|
|
|
|
1997-10-07 21:50:50 +04:00
|
|
|
# Memory-disk drivers (root for install tape)
|
1997-05-27 05:06:33 +04:00
|
|
|
pseudo-device md 2
|
|
|
|
|
|
|
|
# Misc.
|
|
|
|
pseudo-device loop 1 # network loopback
|
|
|
|
pseudo-device sl 2 # CSLIP
|
|
|
|
pseudo-device ppp 2 # PPP
|