RAMDISK revision 1.1
11.1Sgwr#	$NetBSD: RAMDISK,v 1.1 1995/10/08 23:38:44 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# Enable the hooks used for initializing the ram-disk.
171.1Sgwroptions 	RAMDISK_HOOKS
181.1Sgwroptions 	MINIROOTSIZE=512	# 256K
191.1Sgwr
201.1Sgwr# Needs to be set per system.  i.e change these as you see fit
211.1Sgwrmaxusers	2
221.1Sgwr
231.1Sgwr# Standard system options
241.1Sgwroptions		SWAPPAGER, VNODEPAGER, DEVPAGER	# paging
251.1Sgwr
261.1Sgwr# Filesystem options
271.1Sgwr# May need NFSCLIENT to get miniroot image
281.1Sgwroptions 	NFSCLIENT			# nfs client support
291.1Sgwr# Need FFS for the ramdisk image
301.1Sgwroptions 	FFS				# ufs file system
311.1Sgwroptions		FIFO		# FIFOs; RECOMMENDED
321.1Sgwr
331.1Sgwr# Networking options
341.1Sgwroptions		INET				# IP prototol stack support
351.1Sgwr# XXX - Work-around for slow SunOS/Sun3 servers (sigh...)
361.1Sgwroptions 	NFS_BOOT_RWSIZE=1024
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.1Sgwr# options 	DDB
471.1Sgwroptions 	DIAGNOSTIC
481.1Sgwr
491.1Sgwr# The config program assumes all devices have partions...
501.1Sgwr# Is it OK to put swap on a non-existent partition?
511.1Sgwrconfig		netbsd root on rd0a swap on rd0b
521.1Sgwr
531.1Sgwr# Devices
541.1Sgwr
551.1Sgwr# RAM Disk (root for install tape)
561.1Sgwrrd0 at mainbus?
571.1Sgwr
581.1Sgwr# No frame-buffer devices.
591.1Sgwr
601.1Sgwrie0 at obio0 addr ? level ?
611.1Sgwrie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
621.1Sgwr
631.1Sgwrle0 at obio0 addr ? level ?
641.1Sgwr
651.1Sgwrsi0 at obio0 addr ? level ?
661.1Sgwrsi0 at vmes0 addr 0xff200000 level 2 vect 0x40
671.1Sgwr
681.1Sgwrscsibus* at scsi?
691.1Sgwr
701.1Sgwr# Sun compatible scsi device mappings
711.1Sgwrsd0 at scsibus? target 0 lun 0
721.1Sgwrsd1 at scsibus? target 0 lun 1
731.1Sgwrsd2 at scsibus? target 1 lun 0
741.1Sgwrsd3 at scsibus? target 1 lun 1
751.1Sgwrsd* at scsibus? target ? lun ?
761.1Sgwr
771.1Sgwrst0 at scsibus? target 4 lun 0
781.1Sgwrst1 at scsibus? target 5 lun 0
791.1Sgwrst* at scsibus? target ? lun ?
801.1Sgwr
811.1Sgwrcd0 at scsibus? target 6 lun 0
821.1Sgwrcd* at scsibus? target ? lun ?
831.1Sgwr
841.1Sgwr#ch* at scsibus? target ? lun ?
851.1Sgwr
861.1Sgwrpseudo-device	loop	1		# network loopback
871.1Sgwr
88