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