103 lines
2.5 KiB
Plaintext
103 lines
2.5 KiB
Plaintext
# $NetBSD: RAMDISK,v 1.1 1997/05/27 01:06:33 jeremy Exp $
|
|
|
|
#
|
|
# 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
|
|
#
|
|
|
|
include "arch/sun3x/conf/std.sun3x"
|
|
|
|
# Needs to be set per system. i.e change these as you see fit
|
|
maxusers 2
|
|
|
|
# Standard system options
|
|
|
|
# Enable the hooks used for initializing the ram-disk.
|
|
options MEMORY_DISK_HOOKS
|
|
options MINIROOTSIZE=512 # 256K
|
|
|
|
# Filesystem options
|
|
# May need NFS to get miniroot image
|
|
file-system NFS # nfs client support
|
|
# Need FFS for the ramdisk image
|
|
file-system FFS # ufs file system
|
|
|
|
options FIFO # named pipes used during install
|
|
|
|
# Networking options
|
|
options INET # IP prototol stack support
|
|
options TCP_COMPAT_42 # TCP bug compatibility with 4.2BSD
|
|
# XXX - Work-around for root on slow servers (insurance...)
|
|
options NFS_BOOT_RWSIZE=1024
|
|
|
|
# Compatability options
|
|
|
|
config netbsd root on md0 type ffs
|
|
|
|
#
|
|
# Serial ports
|
|
#
|
|
zstty0 at zsc1 channel 0 # ttya
|
|
zstty1 at zsc1 channel 1 # ttyb
|
|
|
|
kbd0 at zsc0 channel 0 # keyboard
|
|
ms0 at zsc0 channel 1 # mouse
|
|
|
|
#
|
|
# Network devices
|
|
#
|
|
|
|
# Lance Ethernet (only onboard)
|
|
le0 at obio0 addr 0x65002000 ipl 3
|
|
|
|
#
|
|
# Disk and tape devices
|
|
#
|
|
|
|
# Emulex SCSI
|
|
# Note the flags on the esp entries below, that work around
|
|
# deficiencies in the old driver: (may not be needed anymore)
|
|
# bits 0-7: disable disconnect/reselect for the corresponding target
|
|
# bits 8-15: disable synch negotiation for target [bit-8]
|
|
# Note: targets 4-7 have disconnect/reselect enabled on the premise
|
|
# that tape devices normally have one of these targets. Tape
|
|
# devices should be allowed to disconnect for the SCSI bus
|
|
# to operate acceptably.
|
|
#
|
|
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.
|
|
|
|
#
|
|
# Frame buffer devices
|
|
#
|
|
|
|
# bwtwo - Monochrome frame buffer.
|
|
bwtwo0 at obmem0 addr 0x50400000 ipl 4
|
|
|
|
#
|
|
# 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
|
|
uk* at scsibus? target ? lun ? # unknown SCSI devices
|
|
|
|
# Memory-disk (root for install tape)
|
|
pseudo-device md 2
|
|
|
|
# Misc.
|
|
pseudo-device loop 1 # network loopback
|
|
pseudo-device sl 2 # CSLIP
|
|
pseudo-device ppp 2 # PPP
|
|
|