RAMDISK revision 1.8
11.8Spk#	$NetBSD: RAMDISK,v 1.8 1996/12/28 23:27:30 pk 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.5Sjtcinclude "arch/sun3/conf/std.sun3"
121.1Sgwr
131.1Sgwr# Machines to be supported by this kernel
141.6Sthorpejoptions 	FPU_EMULATE		# XXX - Should not be needed!
151.1Sgwroptions 	HAVECACHE		# Sun3/260 VAC
161.1Sgwr
171.1Sgwr# Needs to be set per system.  i.e change these as you see fit
181.1Sgwrmaxusers	2
191.1Sgwr
201.1Sgwr# Standard system options
211.6Sthorpej
221.6Sthorpej# Debugging options.  Uncomment either this:
231.2Sgwr#options 	DDB
241.6Sthorpej# ... or these two: (for KGDB on another machine)
251.6Sthorpejmakeoptions DEBUG="-g"			# symbols for kgdb + nm
261.6Sthorpejoptions 	KGDB
271.2Sgwr
281.2Sgwr# Enable the hooks used for initializing the ram-disk.
291.8Spkoptions 	MEMORY_DISK_HOOKS
301.2Sgwroptions 	MINIROOTSIZE=512	# 256K
311.1Sgwr
321.1Sgwr# Filesystem options
331.1Sgwr# May need NFSCLIENT to get miniroot image
341.6Sthorpejoptions 	NFSCLIENT	# nfs client support
351.1Sgwr# Need FFS for the ramdisk image
361.6Sthorpejoptions 	FFS		# ufs file system
371.3Sgwroptions 	FIFO		# FIFOs; RECOMMENDED
381.1Sgwr
391.1Sgwr# Networking options
401.6Sthorpejoptions 	INET		# IP prototol stack support
411.6Sthorpejoptions 	TCP_COMPAT_42	# TCP bug compatibility with 4.2BSD
421.3Sgwr# XXX - Work-around for root on slow SunOS/Sun3 servers (sigh...)
431.3Sgwroptions 	NFS_BOOT_RWSIZE=1024
441.1Sgwr
451.3Sgwr# Compatability options
461.1Sgwr#options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
471.6Sthorpej#options 	COMPAT_43	# and 4.3BSD and ...
481.6Sthorpej#options 	COMPAT_10	# NetBSD 1.0
491.6Sthorpejoptions 	COMPAT_11	# NetBSD 1.1
501.6Sthorpejoptions 	COMPAT_12	# NetBSD 1.2
511.6Sthorpejoptions 	UCONSOLE	# Allow non-root TIOCCONS
521.1Sgwr
531.1Sgwr# Sun3-specific debugging options
541.1Sgwroptions 	DIAGNOSTIC
551.1Sgwr
561.1Sgwr# The config program assumes all devices have partions...
571.1Sgwr# Is it OK to put swap on a non-existent partition?
581.8Spkconfig		netbsd root on md0a swap on md0b
591.1Sgwr
601.2Sgwr#
611.3Sgwr# Serial ports
621.3Sgwr#
631.3Sgwrzstty0 at zsc1 channel 0	# ttya
641.3Sgwrzstty1 at zsc1 channel 1	# ttyb
651.3Sgwr
661.3Sgwrkbd0   at zsc0 channel 0	# keyboard
671.3Sgwrms0    at zsc0 channel 1	# mouse
681.3Sgwr
691.3Sgwr#
701.2Sgwr# Network devices
711.2Sgwr#
721.1Sgwr
731.2Sgwr# Intel Ethernet (onboard, or VME)
741.1Sgwrie0 at obio0 addr ? level ?
751.1Sgwrie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
761.1Sgwr
771.2Sgwr# Lance Ethernet (only onboard)
781.1Sgwrle0 at obio0 addr ? level ?
791.1Sgwr
801.2Sgwr#
811.2Sgwr# Disk and tape devices
821.2Sgwr#
831.2Sgwr
841.2Sgwr# Sun3 "si" SCSI controller (NCR 5380)
851.3Sgwrsi0 at obio0 addr ? level ?
861.3Sgwrsi0 at vmes0 addr 0xff200000 level 2 vect 0x40
871.3Sgwrsi1 at vmes0 addr 0xff204000 level 2 vect 0x41
881.2Sgwr
891.2Sgwr# Xylogics 7053 controllers
901.2Sgwr# xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
911.2Sgwr# xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
921.2Sgwr# xd* at xdc? drive ?
931.2Sgwr
941.2Sgwr# Xylogics 450/451 controllers
951.2Sgwr# xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
961.2Sgwr# xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
971.2Sgwr# xy* at xyc? drive ?
981.2Sgwr
991.2Sgwr# Xylogics 472 tape controllers?
1001.2Sgwr
1011.2Sgwr#
1021.2Sgwr# Frame buffer devices
1031.2Sgwr# (Not needed for the RAMDISK installation kernel)
1041.1Sgwr
1051.2Sgwr#
1061.2Sgwr# SCSI infrastructure
1071.2Sgwr#
1081.1Sgwrscsibus* at scsi?
1091.1Sgwr
1101.1Sgwr# Sun compatible scsi device mappings
1111.1Sgwrsd0 at scsibus? target 0 lun 0
1121.1Sgwrsd1 at scsibus? target 0 lun 1
1131.1Sgwrsd2 at scsibus? target 1 lun 0
1141.1Sgwrsd3 at scsibus? target 1 lun 1
1151.1Sgwrsd* at scsibus? target ? lun ?
1161.1Sgwr
1171.1Sgwrst0 at scsibus? target 4 lun 0
1181.1Sgwrst1 at scsibus? target 5 lun 0
1191.1Sgwrst* at scsibus? target ? lun ?
1201.1Sgwr
1211.1Sgwrcd0 at scsibus? target 6 lun 0
1221.1Sgwrcd* at scsibus? target ? lun ?
1231.1Sgwr
1241.1Sgwr#ch* at scsibus? target ? lun ?
1251.1Sgwr
1261.8Spk# Memory-disk (root for install tape)
1271.8Spkpseudo-device	md	2		# Memory-disk
1281.2Sgwr
1291.2Sgwr# Misc.
1301.1Sgwrpseudo-device	loop	1		# network loopback
1311.2Sgwrpseudo-device	sl	2		# CSLIP
1321.2Sgwrpseudo-device	ppp	2		# PPP
1331.1Sgwr
134