RAMDISK revision 1.20
11.20Sgwr#	$NetBSD: RAMDISK,v 1.20 1998/06/08 20:38:35 gwr Exp $
21.1Sgwr
31.1Sgwr# RAMDISK: Root/swap on ramdisk
41.1Sgwr# This kernel is used to:
51.1Sgwr#	format the disk (not yet implemented)
61.1Sgwr#	partition the disk (disklabel)
71.1Sgwr#	install the miniroot in the swap partition
81.1Sgwr
91.5Sjtcinclude "arch/sun3/conf/std.sun3"
101.1Sgwr
111.17Sgwr# Machines to be supported by this kernel
121.13Sgwr# options 	FPU_EMULATE		# No FP code here!
131.1Sgwroptions 	HAVECACHE		# Sun3/260 VAC
141.1Sgwr
151.1Sgwr# Needs to be set per system.  i.e change these as you see fit
161.1Sgwrmaxusers	2
171.1Sgwr
181.1Sgwr# Standard system options
191.13Sgwr# ... debugging options
201.18Sgwr#options 	DDB
211.19Sgwr# Compatability options (none)
221.6Sthorpej
231.13Sgwr# Filesystem options
241.13Sgwr# Need FFS for the ramdisk image.
251.13Sgwrfile-system	FFS		# Berkeley Fast Filesystem
261.13Sgwr# May need these to get miniroot image.
271.13Sgwrfile-system	NFS		# Sun NFS client support
281.13Sgwrfile-system	CD9660		# ISO 9660 + Rock Ridge file system
291.12Slukem
301.13Sgwroptions 	FIFO		# named pipes used during install
311.2Sgwr
321.18Sgwr# Networking options
331.18Sgwroptions 	INET		# IP prototol stack support
341.18Sgwroptions 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
351.18Sgwr
361.13Sgwr# Enable the hooks used for initializing the root memory-disk.
371.8Spkoptions 	MEMORY_DISK_HOOKS
381.13Sgwroptions 	MEMORY_DISK_IS_ROOT	# force root on memory disk
391.13Sgwroptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
401.13Sgwroptions 	MINIROOTSIZE=512	# size of memory disk, in blocks
411.1Sgwr
421.10Sgwrconfig		netbsd root on md0 type ffs
431.1Sgwr
441.16Sgwr# On-board I/O space (required)
451.16Sgwrinclude "arch/sun3/conf/obio.sun3"
461.16Sgwr
471.16Sgwr# On-board memory (optional)
481.16Sgwr# See frame-buffers
491.16Sgwr# obmem0 at mainbus?
501.16Sgwr
511.16Sgwr# VME bus support (optional)
521.16Sgwr# One unit for each address space
531.16Sgwrvme0 at mainbus? # A16/D16
541.16Sgwrvme1 at mainbus? # A16/D32
551.16Sgwrvme2 at mainbus? # A24/D16
561.16Sgwrvme3 at mainbus? # A24/D32
571.16Sgwrvme4 at mainbus? # A32/D16
581.16Sgwrvme5 at mainbus? # A32/D32
591.16Sgwr
601.2Sgwr#
611.3Sgwr# Serial ports
621.3Sgwr#
631.11Slukemzstty0	at zsc1 channel 0	# ttya
641.11Slukemzstty1	at zsc1 channel 1	# ttyb
651.3Sgwr
661.11Slukemkbd0	at zsc0 channel 0	# keyboard
671.13Sgwr#ms0	at zsc0 channel 1	# mouse
681.3Sgwr
691.3Sgwr#
701.2Sgwr# Network devices
711.2Sgwr#
721.1Sgwr
731.2Sgwr# Intel Ethernet (onboard, or VME)
741.16Sgwrie0 at obio0 addr 0x0C0000 ipl 3
751.16Sgwrie1 at vme2  addr 0xe88000 ipl 3 vect 0x75
761.1Sgwr
771.2Sgwr# Lance Ethernet (only onboard)
781.16Sgwrle0 at obio0 addr 0x120000 ipl 3
791.16Sgwr
801.16Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be
811.16Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C)
821.16Sgwroptions 	LANCE_REVC_BUG
831.1Sgwr
841.2Sgwr#
851.2Sgwr# Disk and tape devices
861.2Sgwr#
871.2Sgwr
881.2Sgwr# Sun3 "si" SCSI controller (NCR 5380)
891.13Sgwr# See GENERIC for the flags description.
901.16Sgwrsi0 at obio0 addr 0x140000 ipl 2
911.16Sgwrsi0 at vme2  addr 0x200000 ipl 2 vect 0x40
921.16Sgwrsi1 at vme2  addr 0x204000 ipl 2 vect 0x41
931.16Sgwr
941.16Sgwr# Xylogics 450/451 controllers (VME A16/D16)
951.16Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
961.16Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
971.13Sgwrxy* at xyc? drive ?
981.10Sgwr
991.16Sgwr# Xylogics 7053 controllers (VME A16/D32)
1001.16Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
1011.16Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
1021.13Sgwrxd* at xdc? drive ?
1031.2Sgwr
1041.2Sgwr# Xylogics 472 tape controllers?
1051.13Sgwr
1061.16Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16)
1071.16Sgwr# Note: the board uses vect and vect+1
1081.16Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75
1091.16Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77
1101.13Sgwrsi* at sebuf?
1111.13Sgwrie* at sebuf?
1121.2Sgwr
1131.2Sgwr#
1141.2Sgwr# Frame buffer devices
1151.18Sgwr# (Not needed for installation kernels.)
1161.1Sgwr
1171.2Sgwr#
1181.2Sgwr# SCSI infrastructure
1191.2Sgwr#
1201.1Sgwrscsibus* at scsi?
1211.1Sgwr
1221.10Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
1231.10Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
1241.10Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1251.10Sgwr#ch* at scsibus? target ? lun ?		# SCSI changer devices
1261.10Sgwr#ss* at scsibus? target ? lun ?		# SCSI scanners
1271.20Sgwr#uk* at scsibus? target ? lun ?		# unknown SCSI devices
1281.1Sgwr
1291.16Sgwr# Memory-disk drivers (root for install tape)
1301.11Slukempseudo-device	md		2
1311.2Sgwr
1321.2Sgwr# Misc.
1331.11Slukempseudo-device	loop		1	# network loopback
1341.11Slukempseudo-device	sl		2	# CSLIP
1351.11Slukempseudo-device	ppp		2	# PPP
136