RAMDISK3X revision 1.20
1# $NetBSD: RAMDISK3X,v 1.20 2002/04/12 08:11:26 gmcgarry 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.sun3x"
10
11# Machines to be supported by this kernel
12# options 	FPU_EMULATE	# XXX - Ever needed?
13# options 	HAVE_IOCACHE	# XXX - Not yet supported.
14
15# Needs to be set per system.  i.e change these as you see fit
16maxusers	2
17
18# Standard system options
19# ... debugging options
20#options 	DDB
21# Compatibility options (none)
22
23# Filesystem options
24# Need FFS for the ramdisk image.
25file-system	FFS		# Berkeley Fast Filesystem
26# May need these to get miniroot image.
27file-system	NFS		# Sun NFS client support
28file-system	CD9660		# ISO 9660 + Rock Ridge file system
29
30# Networking options
31options 	INET		# IP prototol stack support
32#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
33
34#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
35
36# Enable the hooks used for initializing the root memory-disk.
37options 	MEMORY_DISK_HOOKS
38options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
39options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
40options 	MEMORY_DISK_ROOT_SIZE=800	# size of memory disk, in blocks
41
42#options 	USERCONF	# userconf(4) support
43options		PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
44
45config		netbsd root on ? type ffs
46
47# On-board I/O space (required)
48include "arch/sun3/conf/obio.sun3x"
49
50# On-board memory (optional)
51# See frame-buffers
52# obmem0 at mainbus?
53
54# VME bus support (optional)
55# One unit for each address space
56vme0 at mainbus? # A16/D16
57vme1 at mainbus? # A16/D32
58vme2 at mainbus? # A24/D16
59vme3 at mainbus? # A24/D32
60vme4 at mainbus? # A32/D16
61vme5 at mainbus? # A32/D32
62
63#
64# Serial ports
65#
66zstty0	at zsc1 channel 0	# ttya
67zstty1	at zsc1 channel 1	# ttyb
68
69kbd0	at zsc0 channel 0	# keyboard
70#ms0	at zsc0 channel 1	# mouse
71
72#
73# Network devices
74#
75
76# Intel Ethernet (onboard, or VME)
77ie0 at obio0 addr 0x65000000 ipl 3
78ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
79
80# Lance Ethernet (only onboard)
81le0 at obio0 addr 0x65002000 ipl 3
82
83#
84# Disk and tape devices
85#
86
87# Emulex SCSI (3/80 only)
88# Both `dma' and `esp' are needed.
89# See GENERIC3X for the flags description.
90dma0 at obio0 addr 0x66001000 ipl 2
91esp0 at obio0 addr 0x66000000 ipl 2 flags 0xff0f
92
93# Floppy drive
94fdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40
95fd0	at fdc0	# First (and only) floppy drive.
96
97# Sun3 "si" SCSI controller (NCR 5380)
98# See GENERIC3X for the flags description.
99si0 at vme2 addr 0x200000 ipl 2 vect 0x40
100si1 at vme2 addr 0x204000 ipl 2 vect 0x41
101
102# Xylogics 450/451 controllers (VME A16/D16)
103xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
104xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
105xy* at xyc? drive ?
106
107# Xylogics 7053 controllers (VME A16/D32)
108xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
109xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
110xd* at xdc? drive ?
111
112# Xylogics 472 tape controllers?
113
114#
115# Frame buffer devices
116# (Not needed for installation kernels.)
117
118#
119# SCSI infrastructure
120#
121scsibus* at scsi?
122
123sd* at scsibus? target ? lun ?		# SCSI disks
124st* at scsibus? target ? lun ?		# SCSI tapes
125cd* at scsibus? target ? lun ?		# SCSI CD-ROMs
126#ch* at scsibus? target ? lun ?		# SCSI changer devices
127#ss* at scsibus? target ? lun ?		# SCSI scanners
128#uk* at scsibus? target ? lun ?		# unknown SCSI devices
129
130# Memory-disk drivers (root for install tape)
131pseudo-device	md		2
132
133# Misc.
134pseudo-device	loop		1	# network loopback
135pseudo-device	sl		2	# CSLIP
136