RAMDISK revision 1.33
11.33Sgmcgarry#	$NetBSD: RAMDISK,v 1.33 2002/04/12 08:11:25 gmcgarry 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.25Swiz# Compatibility 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.2Sgwr
301.18Sgwr# Networking options
311.18Sgwroptions 	INET		# IP prototol stack support
321.26Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
331.26Sabs
341.26Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
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.32Slukemoptions 	MEMORY_DISK_ROOT_SIZE=800	# size of memory disk, in blocks
411.30Sjdolecek
421.33Sgmcgarry#options 	USERCONF	# userconf(4) support
431.30Sjdolecekoptions		PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
441.1Sgwr
451.24Stsutsuiconfig		netbsd root on ? type ffs
461.1Sgwr
471.16Sgwr# On-board I/O space (required)
481.16Sgwrinclude "arch/sun3/conf/obio.sun3"
491.16Sgwr
501.16Sgwr# On-board memory (optional)
511.16Sgwr# See frame-buffers
521.16Sgwr# obmem0 at mainbus?
531.16Sgwr
541.16Sgwr# VME bus support (optional)
551.16Sgwr# One unit for each address space
561.16Sgwrvme0 at mainbus? # A16/D16
571.16Sgwrvme1 at mainbus? # A16/D32
581.16Sgwrvme2 at mainbus? # A24/D16
591.16Sgwrvme3 at mainbus? # A24/D32
601.16Sgwrvme4 at mainbus? # A32/D16
611.16Sgwrvme5 at mainbus? # A32/D32
621.16Sgwr
631.2Sgwr#
641.3Sgwr# Serial ports
651.3Sgwr#
661.11Slukemzstty0	at zsc1 channel 0	# ttya
671.11Slukemzstty1	at zsc1 channel 1	# ttyb
681.3Sgwr
691.11Slukemkbd0	at zsc0 channel 0	# keyboard
701.13Sgwr#ms0	at zsc0 channel 1	# mouse
711.3Sgwr
721.3Sgwr#
731.2Sgwr# Network devices
741.2Sgwr#
751.1Sgwr
761.2Sgwr# Intel Ethernet (onboard, or VME)
771.16Sgwrie0 at obio0 addr 0x0C0000 ipl 3
781.29Slukemie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
791.1Sgwr
801.2Sgwr# Lance Ethernet (only onboard)
811.16Sgwrle0 at obio0 addr 0x120000 ipl 3
821.16Sgwr
831.16Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be
841.16Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C)
851.16Sgwroptions 	LANCE_REVC_BUG
861.1Sgwr
871.2Sgwr#
881.2Sgwr# Disk and tape devices
891.2Sgwr#
901.2Sgwr
911.2Sgwr# Sun3 "si" SCSI controller (NCR 5380)
921.13Sgwr# See GENERIC for the flags description.
931.16Sgwrsi0 at obio0 addr 0x140000 ipl 2
941.29Slukemsi0 at vme2 addr 0x200000 ipl 2 vect 0x40
951.29Slukemsi1 at vme2 addr 0x204000 ipl 2 vect 0x41
961.16Sgwr
971.16Sgwr# Xylogics 450/451 controllers (VME A16/D16)
981.16Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
991.16Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
1001.13Sgwrxy* at xyc? drive ?
1011.10Sgwr
1021.16Sgwr# Xylogics 7053 controllers (VME A16/D32)
1031.16Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
1041.16Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
1051.13Sgwrxd* at xdc? drive ?
1061.2Sgwr
1071.2Sgwr# Xylogics 472 tape controllers?
1081.13Sgwr
1091.16Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16)
1101.16Sgwr# Note: the board uses vect and vect+1
1111.16Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75
1121.16Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77
1131.13Sgwrsi* at sebuf?
1141.13Sgwrie* at sebuf?
1151.2Sgwr
1161.2Sgwr#
1171.2Sgwr# Frame buffer devices
1181.18Sgwr# (Not needed for installation kernels.)
1191.1Sgwr
1201.2Sgwr#
1211.2Sgwr# SCSI infrastructure
1221.2Sgwr#
1231.1Sgwrscsibus* at scsi?
1241.1Sgwr
1251.10Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
1261.10Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
1271.10Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1281.10Sgwr#ch* at scsibus? target ? lun ?		# SCSI changer devices
1291.10Sgwr#ss* at scsibus? target ? lun ?		# SCSI scanners
1301.20Sgwr#uk* at scsibus? target ? lun ?		# unknown SCSI devices
1311.1Sgwr
1321.16Sgwr# Memory-disk drivers (root for install tape)
1331.11Slukempseudo-device	md		2
1341.2Sgwr
1351.2Sgwr# Misc.
1361.11Slukempseudo-device	loop		1	# network loopback
1371.11Slukempseudo-device	sl		2	# CSLIP
138