RAMDISK revision 1.2
1# $NetBSD: RAMDISK,v 1.2 2000/01/23 21:01:53 soda Exp $ 2# $OpenBSD: RAMDISK,v 1.2 1997/05/19 10:34:54 pefo Exp $ 3# 4# Generic configuration file for MIPS R4x00 ARC Systems 5# 6 7include "arch/arc/conf/std.arc" 8 9maxusers 4 10 11# Need to set locally 12options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 13 14# Standard system options 15options KTRACE # system call tracing support 16 17# Diagnostic/debugging support options 18options DIAGNOSTIC # extra kernel debugging checks 19options DEBUG # extra kernel debugging support 20 21# System V options 22options SYSVMSG # System V-like message queues 23options SYSVSEM # System V-like semaphores 24options SYSVSHM # System V-like memory sharing 25options SHMMAXPGS=1024 # 1024 pages is the default 26 27# Filesystem options 28file-system FFS # fast filesystem 29file-system MFS # memory-based filesystem 30#file-system LFS # Log-based filesystem (still experimental) 31file-system CD9660 # ISO 9660 + Rock Ridge file system 32file-system MSDOSFS # Ability to read write MS-Dos filsystem 33file-system NFS # Sun NFS-compatible filesystem (client) 34file-system KERNFS # kernel data-structure filesystem 35#file-system PROCFS # /proc 36#file-system FDESC # user file descriptor filesystem 37#file-system UMAPFS # uid/gid remapping filesystem 38#file-system UNION # union file system 39#file-system NULLFS # null layer filesystem 40#file-system OVERLAY # overlay file system 41#file-system PORTAL # portal filesystem (still experimental) 42 43options FIFO # POSIX fifo support (in all filesystems) 44options QUOTA # FFS quotas 45#options FFS_EI # FFS Endian Independant support 46#options SOFTDEP # FFS soft updates support. 47#options NFSSERVER # Sun NFS-compatible filesystem (server) 48 49# Pull in config fragments for kernel crypto. This is required for 50# options IPSEC etc. to work. If you want to run with IPSEC, uncomment 51# one of these, based on whether you use crypto-us or crypto-intl, and 52# adjust the prefixes as necessary. 53 54#prefix ../crypto-us/sys 55#cinclude "conf/files.crypto-us" 56#prefix 57 58#prefix ../crypto-intl/sys 59#cinclude "conf/files.crypto-intl" 60#prefix 61 62# Networking options 63#options GATEWAY # IP packet forwarding 64options INET # Internet protocols 65#options INET6 # IPV6 66#options IPSEC # IP security 67#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 68#options IPSEC_DEBUG # debug for IP security 69#options MROUTING # Multicast routing support 70#options NS # XNS 71#options IPX # IPX+SPX 72#options ISO,TPIP # OSI networking 73#options EON # OSI tunneling over IP 74#options CCITT,LLC,HDLC # X.25 75#options PFIL_HOOKS # pfil(9) packet filter hooks. 76 77# Compatibilitry modules 78options COMPAT_43 # compatibility with 4.3BSD binaries 79options COMPAT_11 80options COMPAT_12 81options COMPAT_13 82options COMPAT_14 83#options COMPAT_ULTRIX # Ultrix binary compatibility (no go yet) 84#options TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP 85options COMPAT_386BSD_MBRPART # recognize old partition ID 86 87# Special options 88options MACHINE_NONCONTIG # Support noncontigous memory. 89 90# Specify storage configuration using ramdisk 91config netbsd root on md0 type ffs 92 93# Enable the hooks used for initializing the ram-disk. 94options MEMORY_DISK_HOOKS 95options MEMORY_DISK_IS_ROOT # Force root on ram-disk 96options MINIROOTSIZE=8192 # 4 Megabytes 97 98# 99# Definition of system 100# 101mainbus0 at root 102cpu* at mainbus0 103 104#### Main local buses 105 106pica* at mainbus0 # ACER Pica systems local bus. 107isabr* at mainbus0 # ISA Bus bridge (std ISA bus). 108 109#### PICA bus devices 110 111aclock0 at pica? 112pc0 at pica? 113opms0 at pica? 114com0 at pica? 115com1 at pica? 116lpt0 at pica? 117sn0 at pica? 118 119fdc0 at pica? 120fd* at fdc? drive ? 121 122asc0 at pica? 123scsibus* at asc? 124 125#### ISA Bus. 126 127isa* at isabr? 128 129aclock0 at isa? port 0x70 irq 0 130 131pc0 at isa? port 0x60 irq 1 # generic PC console device 132com0 at isa? port 0x3f8 irq 4 133com1 at isa? port 0x2f8 irq 3 134com2 at isa? port 0x3e8 irq 4 135com3 at isa? port 0x2e8 irq 3 136 137# ISA ST506, ESDI, and IDE controllers 138# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 139# fall back to 16bits I/O if 32bits I/O are not functional). 140# Some controllers pass the initial 32bit test, but will fail later. 141wdc0 at isa? port 0x1f0 irq 14 flags 0x00 142#wdc1 at isa? port 0x170 irq 15 flags 0x00 143 144# IDE drives 145# Flags are used only with controllers that support DMA operations 146# and mode settings (e.g. some pciide controllers) 147# The lowest order four bits (rightmost digit) of the flags define the PIO 148# mode to use, the next set of four bits the DMA mode and the third set the 149# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 150# to use, and the last bit must be 1 for this setting to be used. 151# For DMA and UDMA, 0xf (1111) means 'disable'. 152# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 153# (0xc=1100, 0xa=1010, 0xf=1111) 154# 0x0000 means "use whatever the drive claims to support". 155wd* at wdc? channel ? drive ? flags 0x0000 156 157# ATAPI bus support 158atapibus* at wdc? channel ? 159 160# ATAPI devices 161# flags have the same meaning as for IDE drives. 162cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 163sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 164uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 165 166lpt0 at isa? port 0x378 irq 7 167ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 168ep0 at isa? port ? irq ? # 3C509 ethernet cards 169ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 170ne1 at isa? port 0x300 irq 10 171we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 172we1 at isa? port 0x300 iomem 0xcc000 irq 10 173 174btl0 at isa? port 0x330 irq ? drq ? 175scsibus* at btl? 176 177#### SCSI Bus devices 178 179sd* at scsibus? target ? lun ? 180st* at scsibus? target ? lun ? 181cd* at scsibus? target ? lun ? 182#ch* at scsibus? target ? lun ? 183#ss* at scsibus? target ? lun ? 184#uk* at scsibus? target ? lun ? 185 186#### PSEUDO Devices 187 188pseudo-device loop 1 # network loopback 189#pseudo-device bpfilter 8 # packet filter ports 190#pseudo-device gre 2 # generic L3 over IP tunnel 191pseudo-device sl 2 # serial-line IP ports 192pseudo-device ppp 2 # serial-line PPP ports 193#pseudo-device tun 2 # network tunneling over tty 194#pseudo-device ipfilter # ip filter 195#pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 196#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 197 198#pseudo-device pty 64 # pseudo ptys 199#pseudo-device tb 1 # tablet line discipline 200#pseudo-device vnd 4 # paging to files 201#pseudo-device ccd 4 # concatenated disk devices 202#pseudo-device raid 4 # RAIDframe disk driver 203pseudo-device md 1 # memory disk devices 204