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 7include "arch/arc/conf/std.arc" 8 9#ident "GENERIC-$Revision: 1.4 $" 10 11maxusers 4 # estimated number of users 12 13# Enable the hooks used for initializing the root memory-disk. 14options MEMORY_DISK_HOOKS 15options MEMORY_DISK_IS_ROOT # force root on memory disk 16options MEMORY_DISK_SERVER=0 # no userspace memory disk support 17options MINIROOTSIZE=8192 # size of memory disk, in blocks 18 19makeoptions COPTS="-Os" # generates smaller code than -O2, -O1 20 21# Standard system options 22 23options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 24options NTP # NTP phase/frequency locked loop 25 26options KTRACE # system call tracing via ktrace(1) 27 28options SYSVMSG # System V-like message queues 29options SYSVSEM # System V-like semaphores 30options SYSVSHM # System V-like memory sharing 31#options SHMMAXPGS=1024 # 1024 pages is the default 32 33options LKM # loadable kernel modules 34 35# Diagnostic/debugging support options 36options DIAGNOSTIC # cheap kernel consistency checks 37#options DEBUG # expensive debugging checks/support 38#options KMEMSTATS # kernel memory statistics (vmstat -m) 39options 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 47options COMPAT_10 # NetBSD 1.0, 48options COMPAT_11 # NetBSD 1.1, 49options COMPAT_12 # NetBSD 1.2, 50options COMPAT_13 # NetBSD 1.3, 51options COMPAT_14 # NetBSD 1.4, 52options COMPAT_43 # and 4.3BSD 53options COMPAT_386BSD_MBRPART # recognize old partition ID 54 55# mipsel specific 56options COMPAT_ULTRIX # Ultrix binary compatibility 57options EXEC_ECOFF # Ultrix RISC binaries are ECOFF format 58 59# File systems 60file-system FFS # fast filesystem 61#file-system EXT2FS # second extended file system (linux) 62#file-system LFS # log-structured file system 63file-system MFS # memory file system 64file-system NTFS # Windows/NT file system (experimental) 65file-system CD9660 # ISO 9660 + Rock Ridge file system 66file-system MSDOSFS # MS-DOS file system 67file-system NFS # Network File System client 68file-system FDESC # /dev/fd 69file-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) 73file-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 79options QUOTA # FFS quotas 80#options FFS_EI # FFS Endian Independent support 81#options SOFTDEP # FFS soft updates support. 82options 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 101options INET # IP + ICMP + TCP + UDP 102options 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 112options NETATALK # AppleTalk networking protocols 113options PPP_BSDCOMP # BSD-Compress compression support for PPP 114options PPP_DEFLATE # Deflate compression support for PPP 115options PPP_FILTER # Active filter support for PPP (requires bpf) 116options PFIL_HOOKS # pfil(9) packet filter hooks 117options 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 126options SCSIVERBOSE # human readable SCSI error messages 127 128# Kernel root file system and dump configuration. 129options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 130config netbsd root on ? type ? 131 132# 133# Device configuration 134# 135 136mainbus0 at root 137cpu* at mainbus0 138 139#### Pica bus devices 140 141pica* at mainbus0 # ACER Pica systems local bus. 142aclock0 at pica? 143pc0 at pica? 144opms0 at pica? 145com0 at pica? 146com1 at pica? 147lpt0 at pica? 148sn0 at pica? 149 150fdc0 at pica? 151fd* at fdc? drive ? 152 153asc0 at pica? 154scsibus* at asc? 155 156#### ISA bus devices 157 158isabr* at mainbus0 # ISA Bus bridge (std ISA bus). 159isa* at isabr? 160#isadma0 at isa? 161 162aclock0 at isa? port 0x70 irq 0 163 164pc0 at isa? port 0x60 irq 1 # generic PC console device 165com0 at isa? port 0x3f8 irq 4 166com1 at isa? port 0x2f8 irq 3 167com2 at isa? port 0x3e8 irq 4 168com3 at isa? port 0x2e8 irq 3 169ast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards 170com* 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 210lpt0 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 248sd* at scsibus? target ? lun ? 249st* at scsibus? target ? lun ? 250cd* at scsibus? target ? lun ? 251ch* at scsibus? target ? lun ? 252ss* at scsibus? target ? lun ? 253uk* at scsibus? target ? lun ? 254 255#### Pseudo devices 256 257# disk/mass storage pseudo-devices 258pseudo-device ccd 4 # concatenated/striped disk devices 259#pseudo-device raid 4 # RAIDframe disk driver 260pseudo-device md 1 # memory disk device (ramdisk) 261pseudo-device vnd 4 # disk-like interface to files 262 263# network pseudo-devices 264pseudo-device bpfilter 8 # Berkeley packet filter 265pseudo-device ipfilter # IP filter (firewall) and NAT 266pseudo-device loop 1 # network loopback 267pseudo-device ppp 2 # Point-to-Point Protocol 268pseudo-device sl 2 # Serial Line IP 269#pseudo-device strip 2 # Starmode Radio IP (Metricom) 270pseudo-device tun 2 # network tunneling over tty 271#pseudo-device gre 2 # generic L3 over IP tunnel 272pseudo-device ipip 2 # IP Encapsulation within IP (RFC 2003) 273pseudo-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 277pseudo-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. 281pseudo-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