RAMDISK revision 1.40
1#	$NetBSD: RAMDISK,v 1.40 2005/07/30 06:35:39 yamt Exp $
2
3# RAMDISK: Root/swap on ramdisk
4# This kernel is used to:
5#	format the disk (not yet implemented)
6#	partition the disk (disklabel)
7#	install the miniroot in the swap partition
8
9include "arch/sun3/conf/std.sun3"
10
11#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
12
13# Machines to be supported by this kernel
14# options 	FPU_EMULATE		# No FP code here!
15options 	HAVECACHE		# Sun3/260 VAC
16
17# Needs to be set per system.  i.e change these as you see fit
18maxusers	2
19
20# Standard system options
21# ... debugging options
22#options 	DDB
23# Compatibility options (none)
24
25# Filesystem options
26# Need FFS for the ramdisk image.
27file-system	FFS		# Berkeley Fast Filesystem
28# May need these to get miniroot image.
29file-system	NFS		# Sun NFS client support
30file-system	CD9660		# ISO 9660 + Rock Ridge file system
31options 	FFS_NO_SNAPSHOT	# No FFS snapshots
32
33# Networking options
34options 	INET		# IP prototol stack support
35#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
36
37#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
38
39# Enable the hooks used for initializing the root memory-disk.
40options 	MEMORY_DISK_HOOKS
41options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
42options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
43options 	MEMORY_DISK_ROOT_SIZE=1000	# size of memory disk, in blocks
44
45options 	USERCONF	# userconf(4) support
46options		PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
47#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
48
49config		netbsd root on ? type ffs
50
51# On-board I/O space (required)
52include "arch/sun3/conf/obio.sun3"
53
54# On-board memory (optional)
55# See frame-buffers
56# obmem0 at mainbus?
57
58# VME bus support (optional)
59# One unit for each address space
60vme0 at mainbus? # A16/D16
61vme1 at mainbus? # A16/D32
62vme2 at mainbus? # A24/D16
63vme3 at mainbus? # A24/D32
64vme4 at mainbus? # A32/D16
65vme5 at mainbus? # A32/D32
66
67#
68# Serial ports
69#
70zstty0	at zsc1 channel 0	# ttya
71zstty1	at zsc1 channel 1	# ttyb
72
73kbd0	at zsc0 channel 0	# keyboard
74#ms0	at zsc0 channel 1	# mouse
75
76#
77# Network devices
78#
79
80# Intel Ethernet (onboard, or VME)
81ie0 at obio0 addr 0x0C0000 ipl 3
82ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
83
84# Lance Ethernet (only onboard)
85le0 at obio0 addr 0x120000 ipl 3
86
87# All Sun3 machines with an "le" (3/50, 3/60) should be
88# presumed to have the old, buggy LANCE chip. (Rev. C)
89options 	LANCE_REVC_BUG
90
91#
92# Disk and tape devices
93#
94
95# Sun3 "si" SCSI controller (NCR 5380)
96# See GENERIC for the flags description.
97si0 at obio0 addr 0x140000 ipl 2
98si0 at vme2 addr 0x200000 ipl 2 vect 0x40
99si1 at vme2 addr 0x204000 ipl 2 vect 0x41
100
101# Xylogics 450/451 controllers (VME A16/D16)
102xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
103xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
104xy* at xyc? drive ?
105
106# Xylogics 7053 controllers (VME A16/D32)
107xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
108xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
109xd* at xdc? drive ?
110
111# Xylogics 472 tape controllers?
112
113# Sun3/E SCSI+Ethernet board (VME A24/D16)
114# Note: the board uses vect and vect+1
115sebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75
116sebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77
117si* at sebuf?
118ie* at sebuf?
119
120#
121# Frame buffer devices
122# (Not needed for installation kernels.)
123
124#
125# SCSI infrastructure
126#
127scsibus* at scsi?
128
129sd* at scsibus? target ? lun ?		# SCSI disks
130st* at scsibus? target ? lun ?		# SCSI tapes
131cd* at scsibus? target ? lun ?		# SCSI CD-ROMs
132#ch* at scsibus? target ? lun ?		# SCSI changer devices
133#ss* at scsibus? target ? lun ?		# SCSI scanners
134#uk* at scsibus? target ? lun ?		# unknown SCSI devices
135
136# Memory-disk drivers (root for install tape)
137pseudo-device	md		2
138
139# Misc.
140pseudo-device	loop		1	# network loopback
141pseudo-device	sl		2	# CSLIP
142#pseudo-device	fss		4	# file system snapshot device
143
144options	VMSWAP			# Swap device/file support
145