RAMDISK revision 1.4
11.4Smrg#	$NetBSD: RAMDISK,v 1.4 1996/08/26 23:41:16 mrg 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.4Smrgoptions		COMPAT_12	# NetBSD 1.2,
461.1Sgwroptions 	COMPAT_43	# and 4.3BSD
471.1Sgwroptions 	TCP_COMPAT_42	# TCP bug compatibility with 4.2BSD
481.3Sgwr#options 	UCONSOLE	# Allow non-root TIOCCONS
491.1Sgwr
501.1Sgwr# Sun3-specific debugging options
511.1Sgwroptions 	DIAGNOSTIC
521.1Sgwr
531.1Sgwr# The config program assumes all devices have partions...
541.1Sgwr# Is it OK to put swap on a non-existent partition?
551.1Sgwrconfig		netbsd root on rd0a swap on rd0b
561.1Sgwr
571.2Sgwr#
581.3Sgwr# Serial ports
591.3Sgwr#
601.3Sgwrzstty0 at zsc1 channel 0	# ttya
611.3Sgwrzstty1 at zsc1 channel 1	# ttyb
621.3Sgwr
631.3Sgwrkbd0   at zsc0 channel 0	# keyboard
641.3Sgwrms0    at zsc0 channel 1	# mouse
651.3Sgwr
661.3Sgwr#
671.2Sgwr# Network devices
681.2Sgwr#
691.1Sgwr
701.2Sgwr# Intel Ethernet (onboard, or VME)
711.1Sgwrie0 at obio0 addr ? level ?
721.1Sgwrie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
731.1Sgwr
741.2Sgwr# Lance Ethernet (only onboard)
751.1Sgwrle0 at obio0 addr ? level ?
761.1Sgwr
771.2Sgwr#
781.2Sgwr# Disk and tape devices
791.2Sgwr#
801.2Sgwr
811.2Sgwr# Sun3 "si" SCSI controller (NCR 5380)
821.3Sgwrsi0 at obio0 addr ? level ?
831.3Sgwrsi0 at vmes0 addr 0xff200000 level 2 vect 0x40
841.3Sgwrsi1 at vmes0 addr 0xff204000 level 2 vect 0x41
851.2Sgwr
861.2Sgwr# Xylogics 7053 controllers
871.2Sgwr# xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
881.2Sgwr# xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
891.2Sgwr# xd* at xdc? drive ?
901.2Sgwr
911.2Sgwr# Xylogics 450/451 controllers
921.2Sgwr# xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
931.2Sgwr# xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
941.2Sgwr# xy* at xyc? drive ?
951.2Sgwr
961.2Sgwr# Xylogics 472 tape controllers?
971.2Sgwr
981.2Sgwr#
991.2Sgwr# Frame buffer devices
1001.2Sgwr# (Not needed for the RAMDISK installation kernel)
1011.1Sgwr
1021.2Sgwr#
1031.2Sgwr# SCSI infrastructure
1041.2Sgwr#
1051.1Sgwrscsibus* at scsi?
1061.1Sgwr
1071.1Sgwr# Sun compatible scsi device mappings
1081.1Sgwrsd0 at scsibus? target 0 lun 0
1091.1Sgwrsd1 at scsibus? target 0 lun 1
1101.1Sgwrsd2 at scsibus? target 1 lun 0
1111.1Sgwrsd3 at scsibus? target 1 lun 1
1121.1Sgwrsd* at scsibus? target ? lun ?
1131.1Sgwr
1141.1Sgwrst0 at scsibus? target 4 lun 0
1151.1Sgwrst1 at scsibus? target 5 lun 0
1161.1Sgwrst* at scsibus? target ? lun ?
1171.1Sgwr
1181.1Sgwrcd0 at scsibus? target 6 lun 0
1191.1Sgwrcd* at scsibus? target ? lun ?
1201.1Sgwr
1211.1Sgwr#ch* at scsibus? target ? lun ?
1221.1Sgwr
1231.3Sgwr# RAM-disk (root for install tape)
1241.3Sgwrpseudo-device	rd	2		# RAM-disk
1251.2Sgwr
1261.2Sgwr# Misc.
1271.1Sgwrpseudo-device	loop	1		# network loopback
1281.2Sgwrpseudo-device	sl	2		# CSLIP
1291.2Sgwrpseudo-device	ppp	2		# PPP
1301.1Sgwr
131