RAMDISK revision 1.3
11.3Sgwr#	$NetBSD: RAMDISK,v 1.3 1996/03/26 15:15:53 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.3Sgwroptions 	SWAPPAGER, VNODEPAGER, DEVPAGER	# paging
211.3Sgwr#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.3Sgwroptions 	FIFO		# FIFOs; RECOMMENDED
341.1Sgwr
351.1Sgwr# Networking options
361.3Sgwroptions 	INET				# IP prototol stack support
371.3Sgwr# XXX - Work-around for root on slow SunOS/Sun3 servers (sigh...)
381.3Sgwroptions 	NFS_BOOT_RWSIZE=1024
391.1Sgwr
401.3Sgwr# Compatability options
411.1Sgwr#options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
421.1Sgwr#options 	COMPAT_09	# NetBSD 0.9,
431.1Sgwroptions 	COMPAT_10	# NetBSD 1.0,
441.3Sgwroptions 	COMPAT_11	# NetBSD 1.1,
451.1Sgwroptions 	COMPAT_43	# and 4.3BSD
461.1Sgwroptions 	TCP_COMPAT_42	# TCP bug compatibility with 4.2BSD
471.3Sgwr#options 	UCONSOLE	# Allow non-root TIOCCONS
481.1Sgwr
491.1Sgwr# Sun3-specific debugging options
501.1Sgwroptions 	DIAGNOSTIC
511.1Sgwr
521.1Sgwr# The config program assumes all devices have partions...
531.1Sgwr# Is it OK to put swap on a non-existent partition?
541.1Sgwrconfig		netbsd root on rd0a swap on rd0b
551.1Sgwr
561.2Sgwr#
571.3Sgwr# Serial ports
581.3Sgwr#
591.3Sgwrzstty0 at zsc1 channel 0	# ttya
601.3Sgwrzstty1 at zsc1 channel 1	# ttyb
611.3Sgwr
621.3Sgwrkbd0   at zsc0 channel 0	# keyboard
631.3Sgwrms0    at zsc0 channel 1	# mouse
641.3Sgwr
651.3Sgwr#
661.2Sgwr# Network devices
671.2Sgwr#
681.1Sgwr
691.2Sgwr# Intel Ethernet (onboard, or VME)
701.1Sgwrie0 at obio0 addr ? level ?
711.1Sgwrie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
721.1Sgwr
731.2Sgwr# Lance Ethernet (only onboard)
741.1Sgwrle0 at obio0 addr ? level ?
751.1Sgwr
761.2Sgwr#
771.2Sgwr# Disk and tape devices
781.2Sgwr#
791.2Sgwr
801.2Sgwr# Sun3 "si" SCSI controller (NCR 5380)
811.3Sgwrsi0 at obio0 addr ? level ?
821.3Sgwrsi0 at vmes0 addr 0xff200000 level 2 vect 0x40
831.3Sgwrsi1 at vmes0 addr 0xff204000 level 2 vect 0x41
841.2Sgwr
851.2Sgwr# Xylogics 7053 controllers
861.2Sgwr# xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
871.2Sgwr# xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
881.2Sgwr# xd* at xdc? drive ?
891.2Sgwr
901.2Sgwr# Xylogics 450/451 controllers
911.2Sgwr# xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
921.2Sgwr# xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
931.2Sgwr# xy* at xyc? drive ?
941.2Sgwr
951.2Sgwr# Xylogics 472 tape controllers?
961.2Sgwr
971.2Sgwr#
981.2Sgwr# Frame buffer devices
991.2Sgwr# (Not needed for the RAMDISK installation kernel)
1001.1Sgwr
1011.2Sgwr#
1021.2Sgwr# SCSI infrastructure
1031.2Sgwr#
1041.1Sgwrscsibus* at scsi?
1051.1Sgwr
1061.1Sgwr# Sun compatible scsi device mappings
1071.1Sgwrsd0 at scsibus? target 0 lun 0
1081.1Sgwrsd1 at scsibus? target 0 lun 1
1091.1Sgwrsd2 at scsibus? target 1 lun 0
1101.1Sgwrsd3 at scsibus? target 1 lun 1
1111.1Sgwrsd* at scsibus? target ? lun ?
1121.1Sgwr
1131.1Sgwrst0 at scsibus? target 4 lun 0
1141.1Sgwrst1 at scsibus? target 5 lun 0
1151.1Sgwrst* at scsibus? target ? lun ?
1161.1Sgwr
1171.1Sgwrcd0 at scsibus? target 6 lun 0
1181.1Sgwrcd* at scsibus? target ? lun ?
1191.1Sgwr
1201.1Sgwr#ch* at scsibus? target ? lun ?
1211.1Sgwr
1221.3Sgwr# RAM-disk (root for install tape)
1231.3Sgwrpseudo-device	rd	2		# RAM-disk
1241.2Sgwr
1251.2Sgwr# Misc.
1261.1Sgwrpseudo-device	loop	1		# network loopback
1271.2Sgwrpseudo-device	sl	2		# CSLIP
1281.2Sgwrpseudo-device	ppp	2		# PPP
1291.1Sgwr
130