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