RAMDISK revision 1.8 1 # $NetBSD: RAMDISK,v 1.8 1996/12/28 23:27:30 pk 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
11 include "arch/sun3/conf/std.sun3"
12
13 # Machines to be supported by this kernel
14 options FPU_EMULATE # XXX - Should not be needed!
15 options HAVECACHE # Sun3/260 VAC
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
22 # Debugging options. Uncomment either this:
23 #options DDB
24 # ... or these two: (for KGDB on another machine)
25 makeoptions DEBUG="-g" # symbols for kgdb + nm
26 options KGDB
27
28 # Enable the hooks used for initializing the ram-disk.
29 options MEMORY_DISK_HOOKS
30 options MINIROOTSIZE=512 # 256K
31
32 # Filesystem options
33 # May need NFSCLIENT to get miniroot image
34 options NFSCLIENT # nfs client support
35 # Need FFS for the ramdisk image
36 options FFS # ufs file system
37 options FIFO # FIFOs; RECOMMENDED
38
39 # Networking options
40 options INET # IP prototol stack support
41 options TCP_COMPAT_42 # TCP bug compatibility with 4.2BSD
42 # XXX - Work-around for root on slow SunOS/Sun3 servers (sigh...)
43 options NFS_BOOT_RWSIZE=1024
44
45 # Compatability options
46 #options COMPAT_SUNOS # can run SunOS 4.1.1 executables
47 #options COMPAT_43 # and 4.3BSD and ...
48 #options COMPAT_10 # NetBSD 1.0
49 options COMPAT_11 # NetBSD 1.1
50 options COMPAT_12 # NetBSD 1.2
51 options UCONSOLE # Allow non-root TIOCCONS
52
53 # Sun3-specific debugging options
54 options DIAGNOSTIC
55
56 # The config program assumes all devices have partions...
57 # Is it OK to put swap on a non-existent partition?
58 config netbsd root on md0a swap on md0b
59
60 #
61 # Serial ports
62 #
63 zstty0 at zsc1 channel 0 # ttya
64 zstty1 at zsc1 channel 1 # ttyb
65
66 kbd0 at zsc0 channel 0 # keyboard
67 ms0 at zsc0 channel 1 # mouse
68
69 #
70 # Network devices
71 #
72
73 # Intel Ethernet (onboard, or VME)
74 ie0 at obio0 addr ? level ?
75 ie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
76
77 # Lance Ethernet (only onboard)
78 le0 at obio0 addr ? level ?
79
80 #
81 # Disk and tape devices
82 #
83
84 # Sun3 "si" SCSI controller (NCR 5380)
85 si0 at obio0 addr ? level ?
86 si0 at vmes0 addr 0xff200000 level 2 vect 0x40
87 si1 at vmes0 addr 0xff204000 level 2 vect 0x41
88
89 # Xylogics 7053 controllers
90 # xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
91 # xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
92 # xd* at xdc? drive ?
93
94 # Xylogics 450/451 controllers
95 # xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
96 # xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
97 # xy* at xyc? drive ?
98
99 # Xylogics 472 tape controllers?
100
101 #
102 # Frame buffer devices
103 # (Not needed for the RAMDISK installation kernel)
104
105 #
106 # SCSI infrastructure
107 #
108 scsibus* at scsi?
109
110 # Sun compatible scsi device mappings
111 sd0 at scsibus? target 0 lun 0
112 sd1 at scsibus? target 0 lun 1
113 sd2 at scsibus? target 1 lun 0
114 sd3 at scsibus? target 1 lun 1
115 sd* at scsibus? target ? lun ?
116
117 st0 at scsibus? target 4 lun 0
118 st1 at scsibus? target 5 lun 0
119 st* at scsibus? target ? lun ?
120
121 cd0 at scsibus? target 6 lun 0
122 cd* at scsibus? target ? lun ?
123
124 #ch* at scsibus? target ? lun ?
125
126 # Memory-disk (root for install tape)
127 pseudo-device md 2 # Memory-disk
128
129 # Misc.
130 pseudo-device loop 1 # network loopback
131 pseudo-device sl 2 # CSLIP
132 pseudo-device ppp 2 # PPP
133
134