RAMDISK revision 1.16
11.16Sgwr#	$NetBSD: RAMDISK,v 1.16 1998/02/05 04:56:30 gwr Exp $
21.1Sgwr
31.1Sgwr# RAMDISK: Root/swap on ramdisk
41.1Sgwr# This kernel is used to:
51.1Sgwr#	format the disk (not yet implemented)
61.1Sgwr#	partition the disk (disklabel)
71.1Sgwr#	install the miniroot in the swap partition
81.1Sgwr
91.5Sjtcinclude "arch/sun3/conf/std.sun3"
101.1Sgwr
111.16Sgwr# Machines to be supported by this kernel.  Note:
121.16Sgwr# The SUN3 and SUN3X options are mutually exclusive!
131.16Sgwr# (Your kernel will only run on one or the other.)
141.16Sgwrmakeoptions	MACHTYPE=sun3
151.16Sgwroptions 	_SUN3_
161.16Sgwr
171.13Sgwr# options 	FPU_EMULATE		# No FP code here!
181.1Sgwroptions 	HAVECACHE		# Sun3/260 VAC
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.13Sgwr# ... debugging options
251.13Sgwroptions 	DDB
261.13Sgwr# Compatability options
271.13Sgwroptions 	COMPAT_13	# NetBSD 1.3
281.6Sthorpej
291.13Sgwr# Filesystem options
301.13Sgwr# Need FFS for the ramdisk image.
311.13Sgwrfile-system	FFS		# Berkeley Fast Filesystem
321.13Sgwr# May need these to get miniroot image.
331.13Sgwrfile-system	NFS		# Sun NFS client support
341.13Sgwrfile-system	CD9660		# ISO 9660 + Rock Ridge file system
351.12Slukem
361.13Sgwroptions 	FIFO		# named pipes used during install
371.2Sgwr
381.13Sgwr# Enable the hooks used for initializing the root memory-disk.
391.8Spkoptions 	MEMORY_DISK_HOOKS
401.13Sgwroptions 	MEMORY_DISK_IS_ROOT	# force root on memory disk
411.13Sgwroptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
421.13Sgwroptions 	MINIROOTSIZE=512	# size of memory disk, in blocks
431.1Sgwr
441.1Sgwr# Networking options
451.6Sthorpejoptions 	INET		# IP prototol stack support
461.13Sgwroptions 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
471.1Sgwr
481.10Sgwrconfig		netbsd root on md0 type ffs
491.1Sgwr
501.16Sgwr# On-board I/O space (required)
511.16Sgwrinclude "arch/sun3/conf/obio.sun3"
521.16Sgwr
531.16Sgwr# On-board memory (optional)
541.16Sgwr# See frame-buffers
551.16Sgwr# obmem0 at mainbus?
561.16Sgwr
571.16Sgwr# VME bus support (optional)
581.16Sgwr# One unit for each address space
591.16Sgwrvme0 at mainbus? # A16/D16
601.16Sgwrvme1 at mainbus? # A16/D32
611.16Sgwrvme2 at mainbus? # A24/D16
621.16Sgwrvme3 at mainbus? # A24/D32
631.16Sgwrvme4 at mainbus? # A32/D16
641.16Sgwrvme5 at mainbus? # A32/D32
651.16Sgwr
661.2Sgwr#
671.3Sgwr# Serial ports
681.3Sgwr#
691.11Slukemzstty0	at zsc1 channel 0	# ttya
701.11Slukemzstty1	at zsc1 channel 1	# ttyb
711.3Sgwr
721.11Slukemkbd0	at zsc0 channel 0	# keyboard
731.13Sgwr#ms0	at zsc0 channel 1	# mouse
741.3Sgwr
751.3Sgwr#
761.2Sgwr# Network devices
771.2Sgwr#
781.1Sgwr
791.2Sgwr# Intel Ethernet (onboard, or VME)
801.16Sgwrie0 at obio0 addr 0x0C0000 ipl 3
811.16Sgwrie1 at vme2  addr 0xe88000 ipl 3 vect 0x75
821.1Sgwr
831.2Sgwr# Lance Ethernet (only onboard)
841.16Sgwrle0 at obio0 addr 0x120000 ipl 3
851.16Sgwr
861.16Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be
871.16Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C)
881.16Sgwroptions 	LANCE_REVC_BUG
891.1Sgwr
901.2Sgwr#
911.2Sgwr# Disk and tape devices
921.2Sgwr#
931.2Sgwr
941.2Sgwr# Sun3 "si" SCSI controller (NCR 5380)
951.13Sgwr# See GENERIC for the flags description.
961.16Sgwrsi0 at obio0 addr 0x140000 ipl 2
971.16Sgwrsi0 at vme2  addr 0x200000 ipl 2 vect 0x40
981.16Sgwrsi1 at vme2  addr 0x204000 ipl 2 vect 0x41
991.16Sgwr
1001.16Sgwr# Xylogics 450/451 controllers (VME A16/D16)
1011.16Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
1021.16Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
1031.13Sgwrxy* at xyc? drive ?
1041.10Sgwr
1051.16Sgwr# Xylogics 7053 controllers (VME A16/D32)
1061.16Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
1071.16Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
1081.13Sgwrxd* at xdc? drive ?
1091.2Sgwr
1101.2Sgwr# Xylogics 472 tape controllers?
1111.13Sgwr
1121.16Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16)
1131.16Sgwr# Note: the board uses vect and vect+1
1141.16Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75
1151.16Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77
1161.13Sgwrsi* at sebuf?
1171.13Sgwrie* at sebuf?
1181.2Sgwr
1191.2Sgwr#
1201.2Sgwr# Frame buffer devices
1211.2Sgwr# (Not needed for the RAMDISK installation kernel)
1221.1Sgwr
1231.2Sgwr#
1241.2Sgwr# SCSI infrastructure
1251.2Sgwr#
1261.1Sgwrscsibus* at scsi?
1271.1Sgwr
1281.10Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
1291.10Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
1301.10Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1311.10Sgwr#ch* at scsibus? target ? lun ?		# SCSI changer devices
1321.10Sgwr#ss* at scsibus? target ? lun ?		# SCSI scanners
1331.16Sgwr#uk* at scsibus? target ? lun ?		# unknown SCSI devices
1341.1Sgwr
1351.16Sgwr# Memory-disk drivers (root for install tape)
1361.11Slukempseudo-device	md		2
1371.2Sgwr
1381.2Sgwr# Misc.
1391.11Slukempseudo-device	loop		1	# network loopback
1401.11Slukempseudo-device	sl		2	# CSLIP
1411.11Slukempseudo-device	ppp		2	# PPP
142