RAMDISK revision 1.11.2.3 1 1.11.2.3 bouyer # $NetBSD: RAMDISK,v 1.11.2.3 2001/01/05 17:33:55 bouyer Exp $
2 1.11.2.2 bouyer # $OpenBSD: RAMDISK,v 1.9 1999/08/29 12:14:03 niklas Exp $
3 1.11.2.2 bouyer #
4 1.11.2.2 bouyer # memory disk based configuration file for MIPS R4x00 ARC Systems
5 1.11.2.2 bouyer #
6 1.11.2.2 bouyer
7 1.11.2.2 bouyer include "arch/arc/conf/std.arc"
8 1.11.2.2 bouyer
9 1.11.2.2 bouyer maxusers 4 # estimated number of users
10 1.11.2.2 bouyer
11 1.11.2.2 bouyer # Enable the hooks used for initializing the root memory-disk.
12 1.11.2.2 bouyer options MEMORY_DISK_HOOKS
13 1.11.2.2 bouyer options MEMORY_DISK_IS_ROOT # force root on memory disk
14 1.11.2.2 bouyer options MEMORY_DISK_SERVER=0 # no userspace memory disk support
15 1.11.2.2 bouyer options MINIROOTSIZE=8192 # size of memory disk, in blocks
16 1.11.2.2 bouyer
17 1.11.2.2 bouyer makeoptions COPTS="-Os" # generates smaller code than -O2, -O1
18 1.11.2.2 bouyer
19 1.11.2.2 bouyer # Standard system options
20 1.11.2.2 bouyer
21 1.11.2.2 bouyer options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
22 1.11.2.2 bouyer options NTP # NTP phase/frequency locked loop
23 1.11.2.2 bouyer
24 1.11.2.2 bouyer options KTRACE # system call tracing via ktrace(1)
25 1.11.2.2 bouyer
26 1.11.2.2 bouyer options SYSVMSG # System V-like message queues
27 1.11.2.2 bouyer options SYSVSEM # System V-like semaphores
28 1.11.2.2 bouyer options SYSVSHM # System V-like memory sharing
29 1.11.2.2 bouyer #options SHMMAXPGS=1024 # 1024 pages is the default
30 1.11.2.2 bouyer
31 1.11.2.2 bouyer options LKM # loadable kernel modules
32 1.11.2.2 bouyer
33 1.11.2.2 bouyer # Diagnostic/debugging support options
34 1.11.2.2 bouyer options DIAGNOSTIC # cheap kernel consistency checks
35 1.11.2.2 bouyer #options DEBUG # expensive debugging checks/support
36 1.11.2.2 bouyer #options KMEMSTATS # kernel memory statistics (vmstat -m)
37 1.11.2.2 bouyer options DDB # in-kernel debugger
38 1.11.2.2 bouyer #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
39 1.11.2.2 bouyer #options KGDB # remote gdb
40 1.11.2.2 bouyer #options KGDBRATE=19200 # kernel gdb port rate (default 9600)
41 1.11.2.2 bouyer #options KGDBDEV="17*256+0" # device for kernel gdb
42 1.11.2.2 bouyer #makeoptions DEBUG="-g" # compile full symbol table
43 1.11.2.2 bouyer
44 1.11.2.2 bouyer # Compatibility options
45 1.11.2.2 bouyer options COMPAT_10 # NetBSD 1.0,
46 1.11.2.2 bouyer options COMPAT_11 # NetBSD 1.1,
47 1.11.2.2 bouyer options COMPAT_12 # NetBSD 1.2,
48 1.11.2.2 bouyer options COMPAT_13 # NetBSD 1.3,
49 1.11.2.2 bouyer options COMPAT_14 # NetBSD 1.4,
50 1.11.2.2 bouyer options COMPAT_43 # and 4.3BSD
51 1.11.2.2 bouyer options COMPAT_386BSD_MBRPART # recognize old partition ID
52 1.11.2.2 bouyer
53 1.11.2.2 bouyer # mipsel specific
54 1.11.2.2 bouyer options COMPAT_ULTRIX # Ultrix binary compatibility
55 1.11.2.2 bouyer options EXEC_ECOFF # Ultrix RISC binaries are ECOFF format
56 1.11.2.2 bouyer
57 1.11.2.2 bouyer # File systems
58 1.11.2.2 bouyer file-system FFS # fast filesystem
59 1.11.2.2 bouyer #file-system EXT2FS # second extended file system (linux)
60 1.11.2.2 bouyer #file-system LFS # log-structured file system
61 1.11.2.2 bouyer file-system MFS # memory file system
62 1.11.2.2 bouyer file-system NTFS # Windows/NT file system (experimental)
63 1.11.2.2 bouyer file-system CD9660 # ISO 9660 + Rock Ridge file system
64 1.11.2.2 bouyer file-system MSDOSFS # MS-DOS file system
65 1.11.2.2 bouyer file-system NFS # Network File System client
66 1.11.2.2 bouyer file-system FDESC # /dev/fd
67 1.11.2.2 bouyer file-system KERNFS # /kern
68 1.11.2.2 bouyer #file-system NULLFS # loopback file system
69 1.11.2.2 bouyer #file-system OVERLAY # overlay file system
70 1.11.2.2 bouyer #file-system PORTAL # portal filesystem (still experimental)
71 1.11.2.2 bouyer file-system PROCFS # /proc
72 1.11.2.2 bouyer #file-system UMAPFS # NULLFS + uid and gid remapping
73 1.11.2.2 bouyer #file-system UNION # union file system
74 1.11.2.2 bouyer #file-system CODA # Coda File System; also needs vcoda (below)
75 1.11.2.2 bouyer
76 1.11.2.2 bouyer # File system options
77 1.11.2.2 bouyer options QUOTA # FFS quotas
78 1.11.2.2 bouyer #options FFS_EI # FFS Endian Independent support
79 1.11.2.2 bouyer #options SOFTDEP # FFS soft updates support.
80 1.11.2.2 bouyer options NFSSERVER # Network File System server
81 1.11.2.2 bouyer #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
82 1.11.2.2 bouyer # immutable) behave as system flags.
83 1.11.2.2 bouyer
84 1.11.2.2 bouyer # Networking options
85 1.11.2.2 bouyer #options GATEWAY # IP packet forwarding
86 1.11.2.2 bouyer options INET # IP + ICMP + TCP + UDP
87 1.11.2.2 bouyer options INET6 # IPV6
88 1.11.2.2 bouyer #options IPSEC # IP security
89 1.11.2.2 bouyer #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
90 1.11.2.2 bouyer #options IPSEC_DEBUG # debug for IP security
91 1.11.2.2 bouyer #options MROUTING # IP multicast routing
92 1.11.2.2 bouyer #options NS # XNS
93 1.11.2.2 bouyer #options NSIP # XNS tunneling over IP
94 1.11.2.2 bouyer #options ISO,TPIP # OSI networking
95 1.11.2.2 bouyer #options EON # OSI tunneling over IP
96 1.11.2.2 bouyer #options CCITT,LLC,HDLC # X.25
97 1.11.2.2 bouyer options NETATALK # AppleTalk networking protocols
98 1.11.2.2 bouyer options PPP_BSDCOMP # BSD-Compress compression support for PPP
99 1.11.2.2 bouyer options PPP_DEFLATE # Deflate compression support for PPP
100 1.11.2.2 bouyer options PPP_FILTER # Active filter support for PPP (requires bpf)
101 1.11.2.2 bouyer options PFIL_HOOKS # pfil(9) packet filter hooks
102 1.11.2.2 bouyer options IPFILTER_LOG # ipmon(8) log support
103 1.11.2.2 bouyer
104 1.11.2.2 bouyer # Compatibility with 4.2BSD implementation of TCP/IP. Not recommended.
105 1.11.2.2 bouyer #options TCP_COMPAT_42
106 1.11.2.2 bouyer
107 1.11.2.2 bouyer # These options enable verbose messages for several subsystems.
108 1.11.2.2 bouyer # Warning, these may compile large string tables into the kernel!
109 1.11.2.2 bouyer #options EISAVERBOSE # verbose EISA device autoconfig messages
110 1.11.2.2 bouyer #options PCIVERBOSE # verbose PCI device autoconfig messages
111 1.11.2.2 bouyer #options PCI_CONFIG_DUMP # verbosely dump PCI config space
112 1.11.2.2 bouyer options SCSIVERBOSE # human readable SCSI error messages
113 1.11.2.2 bouyer
114 1.11.2.2 bouyer # wscons terminal emulation
115 1.11.2.2 bouyer options WSEMUL_VT100 # VT100 emulation
116 1.11.2.2 bouyer
117 1.11.2.2 bouyer # Kernel root file system and dump configuration.
118 1.11.2.2 bouyer options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
119 1.11.2.2 bouyer config netbsd root on ? type ?
120 1.11.2.2 bouyer
121 1.11.2.2 bouyer #
122 1.11.2.2 bouyer # Device configuration
123 1.11.2.2 bouyer #
124 1.11.2.2 bouyer
125 1.11.2.2 bouyer mainbus0 at root
126 1.11.2.2 bouyer cpu* at mainbus0
127 1.11.2.2 bouyer
128 1.11.2.3 bouyer #### Jazz-Internal bus devices
129 1.11.2.2 bouyer
130 1.11.2.3 bouyer jazzio* at mainbus0 # Jazz-Internal bus.
131 1.11.2.3 bouyer aclock0 at jazzio?
132 1.11.2.3 bouyer #pc0 at jazzio?
133 1.11.2.3 bouyer #opms0 at jazzio?
134 1.11.2.3 bouyer vga0 at jazzio? # Jazz localbus VGA
135 1.11.2.3 bouyer pckbc0 at jazzio? # PC keyboard controller
136 1.11.2.3 bouyer com0 at jazzio?
137 1.11.2.3 bouyer com1 at jazzio?
138 1.11.2.3 bouyer lpt0 at jazzio?
139 1.11.2.3 bouyer sn0 at jazzio?
140 1.11.2.2 bouyer
141 1.11.2.3 bouyer fdc0 at jazzio?
142 1.11.2.2 bouyer fd* at fdc? drive ?
143 1.11.2.2 bouyer
144 1.11.2.3 bouyer asc0 at jazzio?
145 1.11.2.2 bouyer scsibus* at asc?
146 1.11.2.2 bouyer
147 1.11.2.3 bouyer #siop0 at jazzio?
148 1.11.2.2 bouyer #scsibus* at siop?
149 1.11.2.2 bouyer
150 1.11.2.2 bouyer #### ISA bus devices
151 1.11.2.2 bouyer
152 1.11.2.2 bouyer isabr* at mainbus0 # ISA Bus bridge (std ISA bus).
153 1.11.2.2 bouyer isa* at isabr?
154 1.11.2.2 bouyer #isadma0 at isa?
155 1.11.2.2 bouyer
156 1.11.2.2 bouyer aclock0 at isa? port 0x70 irq 0
157 1.11.2.2 bouyer
158 1.11.2.2 bouyer pc0 at isa? port 0x60 irq 1 # generic PC console device
159 1.11.2.2 bouyer #vga0 at isa?
160 1.11.2.2 bouyer #pckbc0 at isa? # PC keyboard controller
161 1.11.2.2 bouyer com0 at isa? port 0x3f8 irq 4
162 1.11.2.2 bouyer com1 at isa? port 0x2f8 irq 3
163 1.11.2.2 bouyer com2 at isa? port 0x3e8 irq 4
164 1.11.2.2 bouyer com3 at isa? port 0x2e8 irq 3
165 1.11.2.2 bouyer ast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards
166 1.11.2.2 bouyer com* at ast? slave ?
167 1.11.2.2 bouyer
168 1.11.2.2 bouyer # Joystick driver. Probe is a little strange; add only if you have one.
169 1.11.2.2 bouyer #joy0 at isa? port 0x201
170 1.11.2.2 bouyer
171 1.11.2.2 bouyer # ISA ST506, ESDI, and IDE controllers
172 1.11.2.2 bouyer # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
173 1.11.2.2 bouyer # fall back to 16bits I/O if 32bits I/O are not functional).
174 1.11.2.2 bouyer # Some controllers pass the initial 32bit test, but will fail later.
175 1.11.2.2 bouyer # XXX - should be configured
176 1.11.2.2 bouyer #wdc0 at isa? port 0x1f0 irq 14 flags 0x00
177 1.11.2.2 bouyer #wdc1 at isa? port 0x170 irq 15 flags 0x00
178 1.11.2.2 bouyer #wdc* at isapnp?
179 1.11.2.2 bouyer
180 1.11.2.2 bouyer # IDE drives
181 1.11.2.2 bouyer # Flags are used only with controllers that support DMA operations
182 1.11.2.2 bouyer # and mode settings (e.g. some pciide controllers)
183 1.11.2.2 bouyer # The lowest order four bits (rightmost digit) of the flags define the PIO
184 1.11.2.2 bouyer # mode to use, the next set of four bits the DMA mode and the third set the
185 1.11.2.2 bouyer # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
186 1.11.2.2 bouyer # to use, and the last bit must be 1 for this setting to be used.
187 1.11.2.2 bouyer # For DMA and UDMA, 0xf (1111) means 'disable'.
188 1.11.2.2 bouyer # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
189 1.11.2.2 bouyer # (0xc=1100, 0xa=1010, 0xf=1111)
190 1.11.2.2 bouyer # 0x0000 means "use whatever the drive claims to support".
191 1.11.2.2 bouyer # XXX - should be configured
192 1.11.2.2 bouyer #wd* at wdc? channel ? drive ? flags 0x0000
193 1.11.2.2 bouyer
194 1.11.2.2 bouyer # ATAPI bus support
195 1.11.2.2 bouyer # XXX - should be configured
196 1.11.2.2 bouyer #atapibus* at wdc? channel ?
197 1.11.2.2 bouyer
198 1.11.2.2 bouyer # ISA parallel printer interfaces
199 1.11.2.2 bouyer lpt0 at isa? port 0x378 irq 7
200 1.11.2.2 bouyer
201 1.11.2.2 bouyer # ISA network interfaces
202 1.11.2.2 bouyer # XXX - should be configured
203 1.11.2.2 bouyer #ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
204 1.11.2.2 bouyer #ep0 at isa? port ? irq ? # 3C509 ethernet cards
205 1.11.2.2 bouyer #ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
206 1.11.2.2 bouyer #ne1 at isa? port 0x300 irq 10
207 1.11.2.2 bouyer #ne* at isapnp? # NE[12]000 PnP ethernet
208 1.11.2.2 bouyer #we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
209 1.11.2.2 bouyer #we1 at isa? port 0x300 iomem 0xcc000 irq 10
210 1.11.2.2 bouyer #we* at isapnp?
211 1.11.2.2 bouyer
212 1.11.2.2 bouyer # XXX - should be configured
213 1.11.2.2 bouyer #btl0 at isa? port 0x330 irq ? drq ?
214 1.11.2.2 bouyer #scsibus* at btl?
215 1.11.2.2 bouyer
216 1.11.2.2 bouyer #### Algor bus devices
217 1.11.2.2 bouyer
218 1.11.2.2 bouyer #algor* at mainbus0 # Algorithmics local bus.
219 1.11.2.2 bouyer
220 1.11.2.2 bouyer #aclock0 at algor?
221 1.11.2.2 bouyer #com0 at algor?
222 1.11.2.2 bouyer #com1 at algor?
223 1.11.2.2 bouyer #lpt0 at algor?
224 1.11.2.2 bouyer
225 1.11.2.2 bouyer #### PCI bus devices
226 1.11.2.2 bouyer
227 1.11.2.2 bouyer necpb* at mainbus0 # NEC RISCstation PCI host bridge.
228 1.11.2.2 bouyer pci* at necpb?
229 1.11.2.2 bouyer
230 1.11.2.2 bouyer #pbcpcibr* at mainbus0 # Algorithmics PCI bus bridge.
231 1.11.2.2 bouyer #pci* at pbcpcibr?
232 1.11.2.2 bouyer
233 1.11.2.2 bouyer #pcivga* at pci? dev ? function ?
234 1.11.2.2 bouyer #siop* at pci? dev ? function ?
235 1.11.2.2 bouyer #scsibus* at siop?
236 1.11.2.2 bouyer #de* at pci? dev ? function ?
237 1.11.2.2 bouyer
238 1.11.2.2 bouyer ex* at pci? dev ? function ? # 3Com 90x[B]
239 1.11.2.2 bouyer fxp* at pci? dev ? function ? # Intel EtherExpress PRO
240 1.11.2.2 bouyer le* at pci? dev ? function ? # PCnet-PCI
241 1.11.2.2 bouyer ne* at pci? dev ? function ? # NE2000-compatible
242 1.11.2.2 bouyer tlp* at pci? dev ? function ? # DECchip 21x4x (and clones)
243 1.11.2.2 bouyer #options TLP_MATCH_21040
244 1.11.2.2 bouyer #options TLP_MATCH_21041
245 1.11.2.2 bouyer #options TLP_MATCH_21140
246 1.11.2.2 bouyer #options TLP_MATCH_21142
247 1.11.2.2 bouyer
248 1.11.2.2 bouyer # IDE and related devices
249 1.11.2.2 bouyer # PCI IDE controllers - see pciide(4) for supported hardware.
250 1.11.2.2 bouyer # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
251 1.11.2.2 bouyer # how to set up DMA modes for this chip. This may work, or may cause
252 1.11.2.2 bouyer # a machine hang with some controllers.
253 1.11.2.2 bouyer pciide* at pci ? dev ? function ? flags 0x0000
254 1.11.2.2 bouyer wd* at pciide? channel ? drive ? flags 0x0000
255 1.11.2.2 bouyer atapibus* at pciide? channel ?
256 1.11.2.2 bouyer
257 1.11.2.2 bouyer tga* at pci? dev ? function ? # DEC ZLXp-E[123] Graphics
258 1.11.2.2 bouyer ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
259 1.11.2.2 bouyer scsibus* at ahc?
260 1.11.2.2 bouyer
261 1.11.2.2 bouyer #### SCSI bus devices
262 1.11.2.2 bouyer
263 1.11.2.2 bouyer sd* at scsibus? target ? lun ?
264 1.11.2.2 bouyer st* at scsibus? target ? lun ?
265 1.11.2.2 bouyer cd* at scsibus? target ? lun ?
266 1.11.2.2 bouyer ch* at scsibus? target ? lun ?
267 1.11.2.2 bouyer ss* at scsibus? target ? lun ?
268 1.11.2.2 bouyer uk* at scsibus? target ? lun ?
269 1.11.2.2 bouyer
270 1.11.2.2 bouyer #### ATAPI bus devices
271 1.11.2.2 bouyer
272 1.11.2.2 bouyer # flags have the same meaning as for IDE drives.
273 1.11.2.2 bouyer cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
274 1.11.2.2 bouyer sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
275 1.11.2.2 bouyer uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
276 1.11.2.2 bouyer
277 1.11.2.2 bouyer #### Workstation Console attachments
278 1.11.2.2 bouyer
279 1.11.2.2 bouyer wsdisplay* at vga?
280 1.11.2.2 bouyer #wsdisplay* at tga?
281 1.11.2.2 bouyer pckbd* at pckbc? # PC keyboard (kbd port)
282 1.11.2.2 bouyer wskbd* at pckbd?
283 1.11.2.2 bouyer pms* at pckbc? # PS/2-style mouse (aux port)
284 1.11.2.2 bouyer wsmouse* at pms?
285 1.11.2.2 bouyer #pmsi* at pckbc? # PS/2 "Intelli"mouse (aux port)
286 1.11.2.2 bouyer #wsmouse* at pmsi?
287 1.11.2.2 bouyer
288 1.11.2.2 bouyer #### Pseudo devices
289 1.11.2.2 bouyer
290 1.11.2.2 bouyer # disk/mass storage pseudo-devices
291 1.11.2.2 bouyer pseudo-device ccd 4 # concatenated/striped disk devices
292 1.11.2.2 bouyer #pseudo-device raid 4 # RAIDframe disk driver
293 1.11.2.2 bouyer pseudo-device md 1 # memory disk device (ramdisk)
294 1.11.2.2 bouyer pseudo-device vnd 4 # disk-like interface to files
295 1.11.2.2 bouyer
296 1.11.2.2 bouyer # network pseudo-devices
297 1.11.2.2 bouyer pseudo-device bpfilter 8 # Berkeley packet filter
298 1.11.2.2 bouyer pseudo-device ipfilter # IP filter (firewall) and NAT
299 1.11.2.2 bouyer pseudo-device loop 1 # network loopback
300 1.11.2.2 bouyer pseudo-device ppp 2 # Point-to-Point Protocol
301 1.11.2.2 bouyer pseudo-device sl 2 # Serial Line IP
302 1.11.2.2 bouyer #pseudo-device strip 2 # Starmode Radio IP (Metricom)
303 1.11.2.2 bouyer pseudo-device tun 2 # network tunneling over tty
304 1.11.2.2 bouyer #pseudo-device gre 2 # generic L3 over IP tunnel
305 1.11.2.2 bouyer pseudo-device ipip 2 # IP Encapsulation within IP (RFC 2003)
306 1.11.2.2 bouyer pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
307 1.11.2.2 bouyer #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
308 1.11.2.2 bouyer
309 1.11.2.2 bouyer # miscellaneous pseudo-devices
310 1.11.2.2 bouyer pseudo-device pty # pseudo-terminals
311 1.11.2.2 bouyer #pseudo-device tb 1 # tablet line discipline
312 1.11.2.2 bouyer #pseudo-device sequencer 1 # MIDI sequencer
313 1.11.2.2 bouyer # rnd works; RND_COM does not on port arc yet.
314 1.11.2.2 bouyer pseudo-device rnd # /dev/random and in-kernel generator
315 1.11.2.2 bouyer #options RND_COM # use "com" randomness as well (BROKEN)
316 1.11.2.2 bouyer
317 1.11.2.2 bouyer # a pseudo device needed for Coda # also needs CODA (above)
318 1.11.2.2 bouyer #pseudo-device vcoda 4 # coda minicache <-> venus comm.
319 1.11.2.2 bouyer
320 1.11.2.2 bouyer # mouse & keyboard multiplexor pseudo-devices
321 1.11.2.2 bouyer #pseudo-device wsmux 2
322