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