RAMDISK revision 1.3
1#	$NetBSD: RAMDISK,v 1.3 1996/03/26 15:15:53 gwr Exp $
2
3#
4# RAMDISK: Root/swap on ramdisk
5# This kernel is used to:
6#	format the disk (not yet implemented)
7#	partition the disk (disklabel)
8#	install the miniroot in the swap partition
9#
10
11include "std.sun3"
12
13# Machines to be supported by this kernel
14options 	HAVECACHE		# Sun3/260 VAC
15
16# Needs to be set per system.  i.e change these as you see fit
17maxusers	2
18
19# Standard system options
20options 	SWAPPAGER, VNODEPAGER, DEVPAGER	# paging
21#makeoptions DEBUG="-g"			# symbols for kgdb + nm
22#options 	DDB
23
24# Enable the hooks used for initializing the ram-disk.
25options 	RAMDISK_HOOKS
26options 	MINIROOTSIZE=512	# 256K
27
28# Filesystem options
29# May need NFSCLIENT to get miniroot image
30options 	NFSCLIENT			# nfs client support
31# Need FFS for the ramdisk image
32options 	FFS				# ufs file system
33options 	FIFO		# FIFOs; RECOMMENDED
34
35# Networking options
36options 	INET				# IP prototol stack support
37# XXX - Work-around for root on slow SunOS/Sun3 servers (sigh...)
38options 	NFS_BOOT_RWSIZE=1024
39
40# Compatability options
41#options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
42#options 	COMPAT_09	# NetBSD 0.9,
43options 	COMPAT_10	# NetBSD 1.0,
44options 	COMPAT_11	# NetBSD 1.1,
45options 	COMPAT_43	# and 4.3BSD
46options 	TCP_COMPAT_42	# TCP bug compatibility with 4.2BSD
47#options 	UCONSOLE	# Allow non-root TIOCCONS
48
49# Sun3-specific debugging options
50options 	DIAGNOSTIC
51
52# The config program assumes all devices have partions...
53# Is it OK to put swap on a non-existent partition?
54config		netbsd root on rd0a swap on rd0b
55
56#
57# Serial ports
58#
59zstty0 at zsc1 channel 0	# ttya
60zstty1 at zsc1 channel 1	# ttyb
61
62kbd0   at zsc0 channel 0	# keyboard
63ms0    at zsc0 channel 1	# mouse
64
65#
66# Network devices
67#
68
69# Intel Ethernet (onboard, or VME)
70ie0 at obio0 addr ? level ?
71ie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
72
73# Lance Ethernet (only onboard)
74le0 at obio0 addr ? level ?
75
76#
77# Disk and tape devices
78#
79
80# Sun3 "si" SCSI controller (NCR 5380)
81si0 at obio0 addr ? level ?
82si0 at vmes0 addr 0xff200000 level 2 vect 0x40
83si1 at vmes0 addr 0xff204000 level 2 vect 0x41
84
85# Xylogics 7053 controllers
86# xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
87# xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
88# xd* at xdc? drive ?
89
90# Xylogics 450/451 controllers
91# xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
92# xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
93# xy* at xyc? drive ?
94
95# Xylogics 472 tape controllers?
96
97#
98# Frame buffer devices
99# (Not needed for the RAMDISK installation kernel)
100
101#
102# SCSI infrastructure
103#
104scsibus* at scsi?
105
106# Sun compatible scsi device mappings
107sd0 at scsibus? target 0 lun 0
108sd1 at scsibus? target 0 lun 1
109sd2 at scsibus? target 1 lun 0
110sd3 at scsibus? target 1 lun 1
111sd* at scsibus? target ? lun ?
112
113st0 at scsibus? target 4 lun 0
114st1 at scsibus? target 5 lun 0
115st* at scsibus? target ? lun ?
116
117cd0 at scsibus? target 6 lun 0
118cd* at scsibus? target ? lun ?
119
120#ch* at scsibus? target ? lun ?
121
122# RAM-disk (root for install tape)
123pseudo-device	rd	2		# RAM-disk
124
125# Misc.
126pseudo-device	loop	1		# network loopback
127pseudo-device	sl	2		# CSLIP
128pseudo-device	ppp	2		# PPP
129
130