RAMDISK revision 1.2
1#	$NetBSD: RAMDISK,v 1.2 1995/11/17 23:31:15 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
38# Compatability options (XXX - Need these?)
39#options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
40#options 	COMPAT_09	# NetBSD 0.9,
41options 	COMPAT_10	# NetBSD 1.0,
42options 	COMPAT_43	# and 4.3BSD
43options 	TCP_COMPAT_42	# TCP bug compatibility with 4.2BSD
44
45# Sun3-specific debugging options
46options 	DIAGNOSTIC
47
48# The config program assumes all devices have partions...
49# Is it OK to put swap on a non-existent partition?
50config		netbsd root on rd0a swap on rd0b
51
52#
53# Network devices
54#
55
56# Intel Ethernet (onboard, or VME)
57ie0 at obio0 addr ? level ?
58ie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
59
60# Lance Ethernet (only onboard)
61le0 at obio0 addr ? level ?
62
63#
64# Disk and tape devices
65#
66
67# Sun3 "si" SCSI controller (NCR 5380)
68ncr_si0 at obio0 addr ? level ?
69ncr_si0 at vmes0 addr 0xff200000 level 2 vect 0x40
70ncr_si1 at vmes0 addr 0xff204000 level 2 vect 0x41
71
72# Xylogics 7053 controllers
73# xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
74# xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
75# xd* at xdc? drive ?
76
77# Xylogics 450/451 controllers
78# xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
79# xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
80# xy* at xyc? drive ?
81
82# Xylogics 472 tape controllers?
83
84#
85# Frame buffer devices
86# (Not needed for the RAMDISK installation kernel)
87
88#
89# SCSI infrastructure
90#
91scsibus* at scsi?
92
93# Sun compatible scsi device mappings
94sd0 at scsibus? target 0 lun 0
95sd1 at scsibus? target 0 lun 1
96sd2 at scsibus? target 1 lun 0
97sd3 at scsibus? target 1 lun 1
98sd* at scsibus? target ? lun ?
99
100st0 at scsibus? target 4 lun 0
101st1 at scsibus? target 5 lun 0
102st* at scsibus? target ? lun ?
103
104cd0 at scsibus? target 6 lun 0
105cd* at scsibus? target ? lun ?
106
107#ch* at scsibus? target ? lun ?
108
109
110# RAM Disk (root for install tape)
111rd0 at mainbus?
112
113# Misc.
114pseudo-device	loop	1		# network loopback
115pseudo-device	sl	2		# CSLIP
116pseudo-device	ppp	2		# PPP
117
118