RAMDISK revision 1.2
11.2Sgwr#	$NetBSD: RAMDISK,v 1.2 1995/11/17 23:31:15 gwr Exp $
21.1Sgwr
31.1Sgwr#
41.1Sgwr# RAMDISK: Root/swap on ramdisk
51.1Sgwr# This kernel is used to:
61.1Sgwr#	format the disk (not yet implemented)
71.1Sgwr#	partition the disk (disklabel)
81.1Sgwr#	install the miniroot in the swap partition
91.1Sgwr#
101.1Sgwr
111.1Sgwrinclude "std.sun3"
121.1Sgwr
131.1Sgwr# Machines to be supported by this kernel
141.1Sgwroptions 	HAVECACHE		# Sun3/260 VAC
151.1Sgwr
161.1Sgwr# Needs to be set per system.  i.e change these as you see fit
171.1Sgwrmaxusers	2
181.1Sgwr
191.1Sgwr# Standard system options
201.1Sgwroptions		SWAPPAGER, VNODEPAGER, DEVPAGER	# paging
211.2Sgwr#makeoptions	DEBUG="-g"			# symbols for kgdb + nm
221.2Sgwr#options 	DDB
231.2Sgwr
241.2Sgwr# Enable the hooks used for initializing the ram-disk.
251.2Sgwroptions 	RAMDISK_HOOKS
261.2Sgwroptions 	MINIROOTSIZE=512	# 256K
271.1Sgwr
281.1Sgwr# Filesystem options
291.1Sgwr# May need NFSCLIENT to get miniroot image
301.1Sgwroptions 	NFSCLIENT			# nfs client support
311.1Sgwr# Need FFS for the ramdisk image
321.1Sgwroptions 	FFS				# ufs file system
331.1Sgwroptions		FIFO		# FIFOs; RECOMMENDED
341.1Sgwr
351.1Sgwr# Networking options
361.1Sgwroptions		INET				# IP prototol stack support
371.1Sgwr
381.1Sgwr# Compatability options (XXX - Need these?)
391.1Sgwr#options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
401.1Sgwr#options 	COMPAT_09	# NetBSD 0.9,
411.1Sgwroptions 	COMPAT_10	# NetBSD 1.0,
421.1Sgwroptions 	COMPAT_43	# and 4.3BSD
431.1Sgwroptions 	TCP_COMPAT_42	# TCP bug compatibility with 4.2BSD
441.1Sgwr
451.1Sgwr# Sun3-specific debugging options
461.1Sgwroptions 	DIAGNOSTIC
471.1Sgwr
481.1Sgwr# The config program assumes all devices have partions...
491.1Sgwr# Is it OK to put swap on a non-existent partition?
501.1Sgwrconfig		netbsd root on rd0a swap on rd0b
511.1Sgwr
521.2Sgwr#
531.2Sgwr# Network devices
541.2Sgwr#
551.1Sgwr
561.2Sgwr# Intel Ethernet (onboard, or VME)
571.1Sgwrie0 at obio0 addr ? level ?
581.1Sgwrie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
591.1Sgwr
601.2Sgwr# Lance Ethernet (only onboard)
611.1Sgwrle0 at obio0 addr ? level ?
621.1Sgwr
631.2Sgwr#
641.2Sgwr# Disk and tape devices
651.2Sgwr#
661.2Sgwr
671.2Sgwr# Sun3 "si" SCSI controller (NCR 5380)
681.2Sgwrncr_si0 at obio0 addr ? level ?
691.2Sgwrncr_si0 at vmes0 addr 0xff200000 level 2 vect 0x40
701.2Sgwrncr_si1 at vmes0 addr 0xff204000 level 2 vect 0x41
711.2Sgwr
721.2Sgwr# Xylogics 7053 controllers
731.2Sgwr# xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
741.2Sgwr# xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
751.2Sgwr# xd* at xdc? drive ?
761.2Sgwr
771.2Sgwr# Xylogics 450/451 controllers
781.2Sgwr# xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
791.2Sgwr# xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
801.2Sgwr# xy* at xyc? drive ?
811.2Sgwr
821.2Sgwr# Xylogics 472 tape controllers?
831.2Sgwr
841.2Sgwr#
851.2Sgwr# Frame buffer devices
861.2Sgwr# (Not needed for the RAMDISK installation kernel)
871.1Sgwr
881.2Sgwr#
891.2Sgwr# SCSI infrastructure
901.2Sgwr#
911.1Sgwrscsibus* at scsi?
921.1Sgwr
931.1Sgwr# Sun compatible scsi device mappings
941.1Sgwrsd0 at scsibus? target 0 lun 0
951.1Sgwrsd1 at scsibus? target 0 lun 1
961.1Sgwrsd2 at scsibus? target 1 lun 0
971.1Sgwrsd3 at scsibus? target 1 lun 1
981.1Sgwrsd* at scsibus? target ? lun ?
991.1Sgwr
1001.1Sgwrst0 at scsibus? target 4 lun 0
1011.1Sgwrst1 at scsibus? target 5 lun 0
1021.1Sgwrst* at scsibus? target ? lun ?
1031.1Sgwr
1041.1Sgwrcd0 at scsibus? target 6 lun 0
1051.1Sgwrcd* at scsibus? target ? lun ?
1061.1Sgwr
1071.1Sgwr#ch* at scsibus? target ? lun ?
1081.1Sgwr
1091.2Sgwr
1101.2Sgwr# RAM Disk (root for install tape)
1111.2Sgwrrd0 at mainbus?
1121.2Sgwr
1131.2Sgwr# Misc.
1141.1Sgwrpseudo-device	loop	1		# network loopback
1151.2Sgwrpseudo-device	sl	2		# CSLIP
1161.2Sgwrpseudo-device	ppp	2		# PPP
1171.1Sgwr
118