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