RAMDISK revision 1.3
1# $NetBSD: RAMDISK,v 1.3 2000/01/26 12:48:44 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# Kernel root file system congiguration for memory disk 88config netbsd root on md0 type ffs 89 90# Enable the hooks used for initializing the ram-disk. 91options MEMORY_DISK_HOOKS 92options MEMORY_DISK_IS_ROOT # Force root on ram-disk 93options MINIROOTSIZE=8192 # 4 Megabytes 94 95# 96# Definition of system 97# 98mainbus0 at root 99cpu* at mainbus0 100 101#### Main local buses 102 103pica* at mainbus0 # ACER Pica systems local bus. 104isabr* at mainbus0 # ISA Bus bridge (std ISA bus). 105 106#### PICA bus devices 107 108aclock0 at pica? 109pc0 at pica? 110opms0 at pica? 111com0 at pica? 112com1 at pica? 113lpt0 at pica? 114sn0 at pica? 115 116fdc0 at pica? 117fd* at fdc? drive ? 118 119asc0 at pica? 120scsibus* at asc? 121 122#### ISA Bus. 123 124isa* at isabr? 125 126aclock0 at isa? port 0x70 irq 0 127 128pc0 at isa? port 0x60 irq 1 # generic PC console device 129com0 at isa? port 0x3f8 irq 4 130com1 at isa? port 0x2f8 irq 3 131com2 at isa? port 0x3e8 irq 4 132com3 at isa? port 0x2e8 irq 3 133 134# ISA ST506, ESDI, and IDE controllers 135# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 136# fall back to 16bits I/O if 32bits I/O are not functional). 137# Some controllers pass the initial 32bit test, but will fail later. 138wdc0 at isa? port 0x1f0 irq 14 flags 0x00 139#wdc1 at isa? port 0x170 irq 15 flags 0x00 140 141# IDE drives 142# Flags are used only with controllers that support DMA operations 143# and mode settings (e.g. some pciide controllers) 144# The lowest order four bits (rightmost digit) of the flags define the PIO 145# mode to use, the next set of four bits the DMA mode and the third set the 146# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 147# to use, and the last bit must be 1 for this setting to be used. 148# For DMA and UDMA, 0xf (1111) means 'disable'. 149# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 150# (0xc=1100, 0xa=1010, 0xf=1111) 151# 0x0000 means "use whatever the drive claims to support". 152wd* at wdc? channel ? drive ? flags 0x0000 153 154# ATAPI bus support 155atapibus* at wdc? channel ? 156 157# ATAPI devices 158# flags have the same meaning as for IDE drives. 159cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 160sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 161uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 162 163lpt0 at isa? port 0x378 irq 7 164ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 165ep0 at isa? port ? irq ? # 3C509 ethernet cards 166ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 167ne1 at isa? port 0x300 irq 10 168we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 169we1 at isa? port 0x300 iomem 0xcc000 irq 10 170 171btl0 at isa? port 0x330 irq ? drq ? 172scsibus* at btl? 173 174#### SCSI Bus devices 175 176sd* at scsibus? target ? lun ? 177st* at scsibus? target ? lun ? 178cd* at scsibus? target ? lun ? 179#ch* at scsibus? target ? lun ? 180#ss* at scsibus? target ? lun ? 181#uk* at scsibus? target ? lun ? 182 183#### PSEUDO Devices 184 185pseudo-device loop 1 # network loopback 186#pseudo-device bpfilter 8 # packet filter ports 187#pseudo-device gre 2 # generic L3 over IP tunnel 188pseudo-device sl 2 # serial-line IP ports 189pseudo-device ppp 2 # serial-line PPP ports 190#pseudo-device tun 2 # network tunneling over tty 191#pseudo-device ipfilter # ip filter 192#pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 193#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 194 195#pseudo-device pty 64 # pseudo ptys 196#pseudo-device tb 1 # tablet line discipline 197#pseudo-device vnd 4 # paging to files 198#pseudo-device ccd 4 # concatenated disk devices 199#pseudo-device raid 4 # RAIDframe disk driver 200pseudo-device md 1 # memory disk devices 201