RAMDISK revision 1.6
11.6Sthorpej#	$NetBSD: RAMDISK,v 1.6 1996/10/09 00:14:36 thorpej 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.3Sgwroptions 	SWAPPAGER, VNODEPAGER, DEVPAGER	# paging
221.6Sthorpej
231.6Sthorpej# Debugging options.  Uncomment either this:
241.2Sgwr#options 	DDB
251.6Sthorpej# ... or these two: (for KGDB on another machine)
261.6Sthorpejmakeoptions DEBUG="-g"			# symbols for kgdb + nm
271.6Sthorpejoptions 	KGDB
281.2Sgwr
291.2Sgwr# Enable the hooks used for initializing the ram-disk.
301.2Sgwroptions 	RAMDISK_HOOKS
311.2Sgwroptions 	MINIROOTSIZE=512	# 256K
321.1Sgwr
331.1Sgwr# Filesystem options
341.1Sgwr# May need NFSCLIENT to get miniroot image
351.6Sthorpejoptions 	NFSCLIENT	# nfs client support
361.1Sgwr# Need FFS for the ramdisk image
371.6Sthorpejoptions 	FFS		# ufs file system
381.3Sgwroptions 	FIFO		# FIFOs; RECOMMENDED
391.1Sgwr
401.1Sgwr# Networking options
411.6Sthorpejoptions 	INET		# IP prototol stack support
421.6Sthorpejoptions 	TCP_COMPAT_42	# TCP bug compatibility with 4.2BSD
431.3Sgwr# XXX - Work-around for root on slow SunOS/Sun3 servers (sigh...)
441.3Sgwroptions 	NFS_BOOT_RWSIZE=1024
451.1Sgwr
461.3Sgwr# Compatability options
471.1Sgwr#options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
481.6Sthorpej#options 	COMPAT_43	# and 4.3BSD and ...
491.6Sthorpej#options 	COMPAT_10	# NetBSD 1.0
501.6Sthorpejoptions 	COMPAT_11	# NetBSD 1.1
511.6Sthorpejoptions 	COMPAT_12	# NetBSD 1.2
521.6Sthorpejoptions 	UCONSOLE	# Allow non-root TIOCCONS
531.1Sgwr
541.1Sgwr# Sun3-specific debugging options
551.1Sgwroptions 	DIAGNOSTIC
561.1Sgwr
571.1Sgwr# The config program assumes all devices have partions...
581.1Sgwr# Is it OK to put swap on a non-existent partition?
591.1Sgwrconfig		netbsd root on rd0a swap on rd0b
601.1Sgwr
611.2Sgwr#
621.3Sgwr# Serial ports
631.3Sgwr#
641.3Sgwrzstty0 at zsc1 channel 0	# ttya
651.3Sgwrzstty1 at zsc1 channel 1	# ttyb
661.3Sgwr
671.3Sgwrkbd0   at zsc0 channel 0	# keyboard
681.3Sgwrms0    at zsc0 channel 1	# mouse
691.3Sgwr
701.3Sgwr#
711.2Sgwr# Network devices
721.2Sgwr#
731.1Sgwr
741.2Sgwr# Intel Ethernet (onboard, or VME)
751.1Sgwrie0 at obio0 addr ? level ?
761.1Sgwrie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
771.1Sgwr
781.2Sgwr# Lance Ethernet (only onboard)
791.1Sgwrle0 at obio0 addr ? level ?
801.1Sgwr
811.2Sgwr#
821.2Sgwr# Disk and tape devices
831.2Sgwr#
841.2Sgwr
851.2Sgwr# Sun3 "si" SCSI controller (NCR 5380)
861.3Sgwrsi0 at obio0 addr ? level ?
871.3Sgwrsi0 at vmes0 addr 0xff200000 level 2 vect 0x40
881.3Sgwrsi1 at vmes0 addr 0xff204000 level 2 vect 0x41
891.2Sgwr
901.2Sgwr# Xylogics 7053 controllers
911.2Sgwr# xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
921.2Sgwr# xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
931.2Sgwr# xd* at xdc? drive ?
941.2Sgwr
951.2Sgwr# Xylogics 450/451 controllers
961.2Sgwr# xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
971.2Sgwr# xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
981.2Sgwr# xy* at xyc? drive ?
991.2Sgwr
1001.2Sgwr# Xylogics 472 tape controllers?
1011.2Sgwr
1021.2Sgwr#
1031.2Sgwr# Frame buffer devices
1041.2Sgwr# (Not needed for the RAMDISK installation kernel)
1051.1Sgwr
1061.2Sgwr#
1071.2Sgwr# SCSI infrastructure
1081.2Sgwr#
1091.1Sgwrscsibus* at scsi?
1101.1Sgwr
1111.1Sgwr# Sun compatible scsi device mappings
1121.1Sgwrsd0 at scsibus? target 0 lun 0
1131.1Sgwrsd1 at scsibus? target 0 lun 1
1141.1Sgwrsd2 at scsibus? target 1 lun 0
1151.1Sgwrsd3 at scsibus? target 1 lun 1
1161.1Sgwrsd* at scsibus? target ? lun ?
1171.1Sgwr
1181.1Sgwrst0 at scsibus? target 4 lun 0
1191.1Sgwrst1 at scsibus? target 5 lun 0
1201.1Sgwrst* at scsibus? target ? lun ?
1211.1Sgwr
1221.1Sgwrcd0 at scsibus? target 6 lun 0
1231.1Sgwrcd* at scsibus? target ? lun ?
1241.1Sgwr
1251.1Sgwr#ch* at scsibus? target ? lun ?
1261.1Sgwr
1271.3Sgwr# RAM-disk (root for install tape)
1281.3Sgwrpseudo-device	rd	2		# RAM-disk
1291.2Sgwr
1301.2Sgwr# Misc.
1311.1Sgwrpseudo-device	loop	1		# network loopback
1321.2Sgwrpseudo-device	sl	2		# CSLIP
1331.2Sgwrpseudo-device	ppp	2		# PPP
1341.1Sgwr
135