RAMDISK3X revision 1.3
11.3Sgwr# $NetBSD: RAMDISK3X,v 1.3 1998/02/05 04:56:31 gwr Exp $
21.1Sjeremy
31.1Sjeremy# RAMDISK: Root/swap on ramdisk
41.1Sjeremy# This kernel is used to:
51.1Sjeremy#	format the disk (not yet implemented)
61.1Sjeremy#	partition the disk (disklabel)
71.1Sjeremy#	install the miniroot in the swap partition
81.1Sjeremy
91.3Sgwrinclude "arch/sun3/conf/std.sun3"
101.3Sgwr
111.3Sgwr# Machines to be supported by this kernel.  Note:
121.3Sgwr# The SUN3 and SUN3X options are mutually exclusive!
131.3Sgwr# (Your kernel will only run on one or the other.)
141.3Sgwrmakeoptions	MACHTYPE=sun3x
151.3Sgwroptions 	_SUN3X_
161.3Sgwr
171.3Sgwr# options 	FPU_EMULATE	# Every Sun3X has an FPU, right?
181.3Sgwr# options 	HAVE_IOCACHE	# XXX - Not yet supported.
191.1Sjeremy
201.1Sjeremy# Needs to be set per system.  i.e change these as you see fit
211.1Sjeremymaxusers	2
221.1Sjeremy
231.1Sjeremy# Standard system options
241.2Sgwr# ... debugging options
251.3Sgwroptions 	DDB
261.2Sgwr# Compatability options
271.3Sgwroptions 	COMPAT_13	# NetBSD 1.3
281.2Sgwr
291.2Sgwr# Filesystem options
301.2Sgwr# Need FFS for the ramdisk image.
311.2Sgwrfile-system	FFS		# Berkeley Fast Filesystem
321.2Sgwr# May need these to get miniroot image.
331.2Sgwrfile-system	NFS		# Sun NFS client support
341.2Sgwrfile-system	CD9660		# ISO 9660 + Rock Ridge file system
351.2Sgwr
361.2Sgwroptions 	FIFO		# named pipes used during install
371.1Sjeremy
381.3Sgwr# Enable the hooks used for initializing the root memory-disk.
391.1Sjeremyoptions 	MEMORY_DISK_HOOKS
401.3Sgwroptions 	MEMORY_DISK_IS_ROOT	# force root on memory disk
411.3Sgwroptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
421.3Sgwroptions 	MINIROOTSIZE=512	# size of memory disk, in blocks
431.1Sjeremy
441.1Sjeremy# Networking options
451.1Sjeremyoptions 	INET		# IP prototol stack support
461.2Sgwroptions 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
471.2Sgwr
481.3Sgwrconfig		netbsd root on md0 type ffs
491.1Sjeremy
501.3Sgwr# On-board I/O space (required)
511.3Sgwrinclude "arch/sun3/conf/obio.sun3x"
521.3Sgwr
531.3Sgwr# On-board memory (optional)
541.3Sgwr# See frame-buffers
551.3Sgwr# obmem0 at mainbus?
561.3Sgwr
571.3Sgwr# VME bus support (optional)
581.3Sgwr# One unit for each address space
591.3Sgwrvme0 at mainbus? # A16/D16
601.3Sgwrvme1 at mainbus? # A16/D32
611.3Sgwrvme2 at mainbus? # A24/D16
621.3Sgwrvme3 at mainbus? # A24/D32
631.3Sgwrvme4 at mainbus? # A32/D16
641.3Sgwrvme5 at mainbus? # A32/D32
651.1Sjeremy
661.1Sjeremy#
671.1Sjeremy# Serial ports
681.1Sjeremy#
691.1Sjeremyzstty0	at zsc1 channel 0	# ttya
701.1Sjeremyzstty1	at zsc1 channel 1	# ttyb
711.1Sjeremy
721.1Sjeremykbd0	at zsc0 channel 0	# keyboard
731.3Sgwr#ms0	at zsc0 channel 1	# mouse
741.1Sjeremy
751.1Sjeremy#
761.1Sjeremy# Network devices
771.1Sjeremy#
781.1Sjeremy
791.3Sgwr# Intel Ethernet (onboard, or VME)
801.2Sgwrie0 at obio0 addr 0x65000000 ipl 3
811.3Sgwrie1 at vme2  addr   0xe88000 ipl 3 vect 0x75
821.2Sgwr
831.1Sjeremy# Lance Ethernet (only onboard)
841.1Sjeremyle0 at obio0 addr 0x65002000 ipl 3
851.1Sjeremy
861.1Sjeremy#
871.1Sjeremy# Disk and tape devices
881.1Sjeremy#
891.1Sjeremy
901.2Sgwr# Emulex SCSI (3/80 only)
911.3Sgwr# See GENERIC for the flags description.
921.1Sjeremyesp0 at obio0 addr 0x66000000 ipl 2 flags 0xff0f
931.1Sjeremy
941.1Sjeremy# Floppy drive
951.1Sjeremyfdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40
961.1Sjeremyfd0  at fdc0	# First (and only) floppy drive.
971.1Sjeremy
981.3Sgwr# Sun3 "si" SCSI controller (NCR 5380)
991.3Sgwr# See GENERIC for the flags description.
1001.3Sgwrsi0 at vme2  addr 0x200000 ipl 2 vect 0x40
1011.3Sgwrsi1 at vme2  addr 0x204000 ipl 2 vect 0x41
1021.3Sgwr
1031.3Sgwr# Xylogics 450/451 controllers (VME A16/D16)
1041.3Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
1051.3Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
1061.3Sgwrxy* at xyc? drive ?
1071.3Sgwr
1081.3Sgwr# Xylogics 7053 controllers (VME A16/D32)
1091.3Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
1101.3Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
1111.3Sgwrxd* at xdc? drive ?
1121.3Sgwr
1131.3Sgwr# Xylogics 472 tape controllers?
1141.3Sgwr
1151.1Sjeremy#
1161.1Sjeremy# Frame buffer devices
1171.3Sgwr# (Not needed for the RAMDISK installation kernel)
1181.1Sjeremy
1191.1Sjeremy#
1201.1Sjeremy# SCSI infrastructure
1211.1Sjeremy#
1221.1Sjeremyscsibus* at scsi?
1231.1Sjeremy
1241.1Sjeremysd* at scsibus? target ? lun ?		# SCSI disks
1251.1Sjeremyst* at scsibus? target ? lun ?		# SCSI tapes
1261.1Sjeremycd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1271.1Sjeremy#ch* at scsibus? target ? lun ?		# SCSI changer devices
1281.1Sjeremy#ss* at scsibus? target ? lun ?		# SCSI scanners
1291.3Sgwr#uk* at scsibus? target ? lun ?		# unknown SCSI devices
1301.1Sjeremy
1311.2Sgwr# Memory-disk drivers (root for install tape)
1321.1Sjeremypseudo-device	md		2
1331.1Sjeremy
1341.1Sjeremy# Misc.
1351.1Sjeremypseudo-device	loop		1	# network loopback
1361.1Sjeremypseudo-device	sl		2	# CSLIP
1371.1Sjeremypseudo-device	ppp		2	# PPP
138