RAMDISK revision 1.4
11.4Ssoda# $NetBSD: RAMDISK,v 1.4 2000/02/22 11:25:59 soda Exp $ 21.4Ssoda# $OpenBSD: RAMDISK,v 1.9 1999/08/29 12:14:03 niklas Exp $ 31.1Ssoda# 41.4Ssoda# memory disk based configuration file for MIPS R4x00 ARC Systems 51.1Ssoda# 61.1Ssoda 71.2Ssodainclude "arch/arc/conf/std.arc" 81.1Ssoda 91.4Ssoda#ident "GENERIC-$Revision: 1.4 $" 101.1Ssoda 111.4Ssodamaxusers 4 # estimated number of users 121.4Ssoda 131.4Ssoda# Enable the hooks used for initializing the root memory-disk. 141.4Ssodaoptions MEMORY_DISK_HOOKS 151.4Ssodaoptions MEMORY_DISK_IS_ROOT # force root on memory disk 161.4Ssodaoptions MEMORY_DISK_SERVER=0 # no userspace memory disk support 171.4Ssodaoptions MINIROOTSIZE=8192 # size of memory disk, in blocks 181.4Ssoda 191.4Ssodamakeoptions COPTS="-Os" # generates smaller code than -O2, -O1 201.1Ssoda 211.1Ssoda# Standard system options 221.1Ssoda 231.4Ssodaoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 241.4Ssodaoptions NTP # NTP phase/frequency locked loop 251.4Ssoda 261.4Ssodaoptions KTRACE # system call tracing via ktrace(1) 271.1Ssoda 281.3Ssodaoptions SYSVMSG # System V-like message queues 291.3Ssodaoptions SYSVSEM # System V-like semaphores 301.3Ssodaoptions SYSVSHM # System V-like memory sharing 311.4Ssoda#options SHMMAXPGS=1024 # 1024 pages is the default 321.1Ssoda 331.4Ssodaoptions LKM # loadable kernel modules 341.4Ssoda 351.4Ssoda# Diagnostic/debugging support options 361.4Ssodaoptions DIAGNOSTIC # cheap kernel consistency checks 371.4Ssoda#options DEBUG # expensive debugging checks/support 381.4Ssoda#options KMEMSTATS # kernel memory statistics (vmstat -m) 391.4Ssodaoptions DDB # in-kernel debugger 401.4Ssoda#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 411.4Ssoda#options KGDB # remote gdb 421.4Ssoda#options KGDBRATE=19200 # kernel gdb port rate (default 9600) 431.4Ssoda#options KGDBDEV="17*256+0" # device for kernel gdb 441.4Ssoda#makeoptions DEBUG="-g" # compile full symbol table 451.4Ssoda 461.4Ssoda# Compatibility options 471.4Ssodaoptions COMPAT_10 # NetBSD 1.0, 481.4Ssodaoptions COMPAT_11 # NetBSD 1.1, 491.4Ssodaoptions COMPAT_12 # NetBSD 1.2, 501.4Ssodaoptions COMPAT_13 # NetBSD 1.3, 511.4Ssodaoptions COMPAT_14 # NetBSD 1.4, 521.4Ssodaoptions COMPAT_43 # and 4.3BSD 531.4Ssodaoptions COMPAT_386BSD_MBRPART # recognize old partition ID 541.4Ssoda 551.4Ssoda# mipsel specific 561.4Ssodaoptions COMPAT_ULTRIX # Ultrix binary compatibility 571.4Ssodaoptions EXEC_ECOFF # Ultrix RISC binaries are ECOFF format 581.4Ssoda 591.4Ssoda# File systems 601.2Ssodafile-system FFS # fast filesystem 611.4Ssoda#file-system EXT2FS # second extended file system (linux) 621.4Ssoda#file-system LFS # log-structured file system 631.4Ssodafile-system MFS # memory file system 641.4Ssodafile-system NTFS # Windows/NT file system (experimental) 651.2Ssodafile-system CD9660 # ISO 9660 + Rock Ridge file system 661.4Ssodafile-system MSDOSFS # MS-DOS file system 671.4Ssodafile-system NFS # Network File System client 681.4Ssodafile-system FDESC # /dev/fd 691.4Ssodafile-system KERNFS # /kern 701.4Ssoda#file-system NULLFS # loopback file system 711.2Ssoda#file-system OVERLAY # overlay file system 721.4Ssoda#file-system PORTAL # portal filesystem (still experimental) 731.4Ssodafile-system PROCFS # /proc 741.4Ssoda#file-system UMAPFS # NULLFS + uid and gid remapping 751.4Ssoda#file-system UNION # union file system 761.4Ssoda#file-system CODA # Coda File System; also needs vcoda (below) 771.2Ssoda 781.4Ssoda# File system options 791.3Ssodaoptions QUOTA # FFS quotas 801.4Ssoda#options FFS_EI # FFS Endian Independent support 811.3Ssoda#options SOFTDEP # FFS soft updates support. 821.4Ssodaoptions NFSSERVER # Network File System server 831.4Ssoda#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 841.4Ssoda # immutable) behave as system flags. 851.1Ssoda 861.2Ssoda# Pull in config fragments for kernel crypto. This is required for 871.2Ssoda# options IPSEC etc. to work. If you want to run with IPSEC, uncomment 881.2Ssoda# one of these, based on whether you use crypto-us or crypto-intl, and 891.2Ssoda# adjust the prefixes as necessary. 901.2Ssoda 911.2Ssoda#prefix ../crypto-us/sys 921.2Ssoda#cinclude "conf/files.crypto-us" 931.2Ssoda#prefix 941.2Ssoda 951.2Ssoda#prefix ../crypto-intl/sys 961.2Ssoda#cinclude "conf/files.crypto-intl" 971.2Ssoda#prefix 981.1Ssoda 991.1Ssoda# Networking options 1001.1Ssoda#options GATEWAY # IP packet forwarding 1011.4Ssodaoptions INET # IP + ICMP + TCP + UDP 1021.4Ssodaoptions INET6 # IPV6 1031.2Ssoda#options IPSEC # IP security 1041.2Ssoda#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1051.2Ssoda#options IPSEC_DEBUG # debug for IP security 1061.4Ssoda#options MROUTING # IP multicast routing 1071.3Ssoda#options NS # XNS 1081.4Ssoda#options NSIP # XNS tunneling over IP 1091.1Ssoda#options ISO,TPIP # OSI networking 1101.1Ssoda#options EON # OSI tunneling over IP 1111.3Ssoda#options CCITT,LLC,HDLC # X.25 1121.4Ssodaoptions NETATALK # AppleTalk networking protocols 1131.4Ssodaoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1141.4Ssodaoptions PPP_DEFLATE # Deflate compression support for PPP 1151.4Ssodaoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1161.4Ssodaoptions PFIL_HOOKS # pfil(9) packet filter hooks 1171.4Ssodaoptions IPFILTER_LOG # ipmon(8) log support 1181.4Ssoda 1191.4Ssoda# Compatibility with 4.2BSD implementation of TCP/IP. Not recommended. 1201.4Ssoda#options TCP_COMPAT_42 1211.4Ssoda 1221.4Ssoda# These options enable verbose messages for several subsystems. 1231.4Ssoda# Warning, these may compile large string tables into the kernel! 1241.4Ssoda#options EISAVERBOSE # verbose EISA device autoconfig messages 1251.4Ssoda#options PCIVERBOSE # verbose PCI device autoconfig messages 1261.4Ssodaoptions SCSIVERBOSE # human readable SCSI error messages 1271.4Ssoda 1281.4Ssoda# Kernel root file system and dump configuration. 1291.4Ssodaoptions NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 1301.4Ssodaconfig netbsd root on ? type ? 1311.1Ssoda 1321.1Ssoda# 1331.4Ssoda# Device configuration 1341.1Ssoda# 1351.4Ssoda 1361.1Ssodamainbus0 at root 1371.1Ssodacpu* at mainbus0 1381.1Ssoda 1391.4Ssoda#### Pica bus devices 1401.1Ssoda 1411.1Ssodapica* at mainbus0 # ACER Pica systems local bus. 1421.4Ssodaaclock0 at pica? 1431.1Ssodapc0 at pica? 1441.2Ssodaopms0 at pica? 1451.1Ssodacom0 at pica? 1461.1Ssodacom1 at pica? 1471.1Ssodalpt0 at pica? 1481.1Ssodasn0 at pica? 1491.1Ssoda 1501.1Ssodafdc0 at pica? 1511.1Ssodafd* at fdc? drive ? 1521.1Ssoda 1531.1Ssodaasc0 at pica? 1541.1Ssodascsibus* at asc? 1551.1Ssoda 1561.4Ssoda#### ISA bus devices 1571.1Ssoda 1581.4Ssodaisabr* at mainbus0 # ISA Bus bridge (std ISA bus). 1591.1Ssodaisa* at isabr? 1601.4Ssoda#isadma0 at isa? 1611.1Ssoda 1621.4Ssodaaclock0 at isa? port 0x70 irq 0 1631.1Ssoda 1641.3Ssodapc0 at isa? port 0x60 irq 1 # generic PC console device 1651.1Ssodacom0 at isa? port 0x3f8 irq 4 1661.1Ssodacom1 at isa? port 0x2f8 irq 3 1671.1Ssodacom2 at isa? port 0x3e8 irq 4 1681.1Ssodacom3 at isa? port 0x2e8 irq 3 1691.4Ssodaast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards 1701.4Ssodacom* at ast? slave ? 1711.4Ssoda 1721.4Ssoda# Joystick driver. Probe is a little strange; add only if you have one. 1731.4Ssoda#joy0 at isa? port 0x201 1741.1Ssoda 1751.2Ssoda# ISA ST506, ESDI, and IDE controllers 1761.2Ssoda# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 1771.2Ssoda# fall back to 16bits I/O if 32bits I/O are not functional). 1781.2Ssoda# Some controllers pass the initial 32bit test, but will fail later. 1791.4Ssoda# XXX - should be configured 1801.4Ssoda#wdc0 at isa? port 0x1f0 irq 14 flags 0x00 1811.4Ssoda#wdc1 at isa? port 0x170 irq 15 flags 0x00 1821.4Ssoda#wdc* at isapnp? 1831.2Ssoda 1841.2Ssoda# IDE drives 1851.2Ssoda# Flags are used only with controllers that support DMA operations 1861.2Ssoda# and mode settings (e.g. some pciide controllers) 1871.2Ssoda# The lowest order four bits (rightmost digit) of the flags define the PIO 1881.2Ssoda# mode to use, the next set of four bits the DMA mode and the third set the 1891.2Ssoda# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 1901.2Ssoda# to use, and the last bit must be 1 for this setting to be used. 1911.2Ssoda# For DMA and UDMA, 0xf (1111) means 'disable'. 1921.2Ssoda# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 1931.2Ssoda# (0xc=1100, 0xa=1010, 0xf=1111) 1941.2Ssoda# 0x0000 means "use whatever the drive claims to support". 1951.4Ssoda# XXX - should be configured 1961.4Ssoda#wd* at wdc? channel ? drive ? flags 0x0000 1971.2Ssoda 1981.2Ssoda# ATAPI bus support 1991.4Ssoda# XXX - should be configured 2001.4Ssoda#atapibus* at wdc? channel ? 2011.2Ssoda 2021.2Ssoda# ATAPI devices 2031.2Ssoda# flags have the same meaning as for IDE drives. 2041.4Ssoda# XXX - should be configured 2051.4Ssoda#cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 2061.4Ssoda#sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 2071.4Ssoda#uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 2081.1Ssoda 2091.4Ssoda# ISA parallel printer interfaces 2101.1Ssodalpt0 at isa? port 0x378 irq 7 2111.1Ssoda 2121.4Ssoda# ISA network interfaces 2131.4Ssoda# XXX - should be configured 2141.4Ssoda#ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 2151.4Ssoda#ep0 at isa? port ? irq ? # 3C509 ethernet cards 2161.4Ssoda#ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 2171.4Ssoda#ne1 at isa? port 0x300 irq 10 2181.4Ssoda#ne* at isapnp? # NE[12]000 PnP ethernet 2191.4Ssoda#we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 2201.4Ssoda#we1 at isa? port 0x300 iomem 0xcc000 irq 10 2211.4Ssoda#we* at isapnp? 2221.4Ssoda 2231.4Ssoda# XXX - should be configured 2241.4Ssoda#btl0 at isa? port 0x330 irq ? drq ? 2251.4Ssoda#scsibus* at btl? 2261.4Ssoda 2271.4Ssoda#### Algor bus devices 2281.4Ssoda 2291.4Ssoda#algor* at mainbus0 # Algorithmics local bus. 2301.4Ssoda 2311.4Ssoda#aclock0 at algor? 2321.4Ssoda#com0 at algor? 2331.4Ssoda#com1 at algor? 2341.4Ssoda#lpt0 at algor? 2351.4Ssoda 2361.4Ssoda#### PCI bus devices 2371.4Ssoda 2381.4Ssoda#pbcpcibr* at mainbus0 # Algorithmics PCI bus bridge. 2391.4Ssoda#pci* at pbcpcibr? 2401.4Ssoda 2411.4Ssoda#pcivga* at pci? dev ? function ? 2421.4Ssoda#ncr* at pci? dev ? function ? 2431.4Ssoda#scsibus* at ncr? 2441.4Ssoda#de* at pci? dev ? function ? 2451.1Ssoda 2461.4Ssoda#### SCSI bus devices 2471.1Ssoda 2481.1Ssodasd* at scsibus? target ? lun ? 2491.1Ssodast* at scsibus? target ? lun ? 2501.1Ssodacd* at scsibus? target ? lun ? 2511.4Ssodach* at scsibus? target ? lun ? 2521.4Ssodass* at scsibus? target ? lun ? 2531.4Ssodauk* at scsibus? target ? lun ? 2541.4Ssoda 2551.4Ssoda#### Pseudo devices 2561.4Ssoda 2571.4Ssoda# disk/mass storage pseudo-devices 2581.4Ssodapseudo-device ccd 4 # concatenated/striped disk devices 2591.4Ssoda#pseudo-device raid 4 # RAIDframe disk driver 2601.4Ssodapseudo-device md 1 # memory disk device (ramdisk) 2611.4Ssodapseudo-device vnd 4 # disk-like interface to files 2621.4Ssoda 2631.4Ssoda# network pseudo-devices 2641.4Ssodapseudo-device bpfilter 8 # Berkeley packet filter 2651.4Ssodapseudo-device ipfilter # IP filter (firewall) and NAT 2661.4Ssodapseudo-device loop 1 # network loopback 2671.4Ssodapseudo-device ppp 2 # Point-to-Point Protocol 2681.4Ssodapseudo-device sl 2 # Serial Line IP 2691.4Ssoda#pseudo-device strip 2 # Starmode Radio IP (Metricom) 2701.4Ssodapseudo-device tun 2 # network tunneling over tty 2711.4Ssoda#pseudo-device gre 2 # generic L3 over IP tunnel 2721.4Ssodapseudo-device ipip 2 # IP Encapsulation within IP (RFC 2003) 2731.4Ssodapseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 2741.4Ssoda#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 2751.1Ssoda 2761.4Ssoda# miscellaneous pseudo-devices 2771.4Ssodapseudo-device pty 64 # pseudo-terminals 2781.4Ssoda#pseudo-device tb 1 # tablet line discipline 2791.4Ssoda#pseudo-device sequencer 1 # MIDI sequencer 2801.4Ssoda# rnd works; RND_COM does not on port arc yet. 2811.4Ssodapseudo-device rnd # /dev/random and in-kernel generator 2821.4Ssoda#options RND_COM # use "com" randomness as well (BROKEN) 2831.1Ssoda 2841.4Ssoda# a pseudo device needed for Coda # also needs CODA (above) 2851.4Ssoda#pseudo-device vcoda 4 # coda minicache <-> venus comm. 2861.1Ssoda 2871.4Ssoda# mouse & keyboard multiplexor pseudo-devices 2881.4Ssoda#pseudo-device wsmux 2 289