RAMDISK revision 1.3
11.3Ssoda# $NetBSD: RAMDISK,v 1.3 2000/01/26 12:48:44 soda Exp $ 21.1Ssoda# $OpenBSD: RAMDISK,v 1.2 1997/05/19 10:34:54 pefo Exp $ 31.1Ssoda# 41.1Ssoda# Generic configuration file for MIPS R4x00 ARC Systems 51.1Ssoda# 61.1Ssoda 71.2Ssodainclude "arch/arc/conf/std.arc" 81.1Ssoda 91.1Ssodamaxusers 4 101.1Ssoda 111.1Ssoda# Need to set locally 121.3Ssodaoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 131.1Ssoda 141.1Ssoda# Standard system options 151.2Ssodaoptions KTRACE # system call tracing support 161.1Ssoda 171.2Ssoda# Diagnostic/debugging support options 181.3Ssodaoptions DIAGNOSTIC # extra kernel debugging checks 191.3Ssodaoptions DEBUG # extra kernel debugging support 201.1Ssoda 211.1Ssoda# System V options 221.3Ssodaoptions SYSVMSG # System V-like message queues 231.3Ssodaoptions SYSVSEM # System V-like semaphores 241.3Ssodaoptions SYSVSHM # System V-like memory sharing 251.3Ssodaoptions SHMMAXPGS=1024 # 1024 pages is the default 261.1Ssoda 271.1Ssoda# Filesystem options 281.2Ssodafile-system FFS # fast filesystem 291.2Ssodafile-system MFS # memory-based filesystem 301.2Ssoda#file-system LFS # Log-based filesystem (still experimental) 311.2Ssodafile-system CD9660 # ISO 9660 + Rock Ridge file system 321.2Ssodafile-system MSDOSFS # Ability to read write MS-Dos filsystem 331.2Ssodafile-system NFS # Sun NFS-compatible filesystem (client) 341.2Ssodafile-system KERNFS # kernel data-structure filesystem 351.2Ssoda#file-system PROCFS # /proc 361.2Ssoda#file-system FDESC # user file descriptor filesystem 371.2Ssoda#file-system UMAPFS # uid/gid remapping filesystem 381.2Ssoda#file-system UNION # union file system 391.2Ssoda#file-system NULLFS # null layer filesystem 401.2Ssoda#file-system OVERLAY # overlay file system 411.2Ssoda#file-system PORTAL # portal filesystem (still experimental) 421.2Ssoda 431.3Ssodaoptions FIFO # POSIX fifo support (in all filesystems) 441.3Ssodaoptions QUOTA # FFS quotas 451.2Ssoda#options FFS_EI # FFS Endian Independant support 461.3Ssoda#options SOFTDEP # FFS soft updates support. 471.1Ssoda#options NFSSERVER # Sun NFS-compatible filesystem (server) 481.1Ssoda 491.2Ssoda# Pull in config fragments for kernel crypto. This is required for 501.2Ssoda# options IPSEC etc. to work. If you want to run with IPSEC, uncomment 511.2Ssoda# one of these, based on whether you use crypto-us or crypto-intl, and 521.2Ssoda# adjust the prefixes as necessary. 531.2Ssoda 541.2Ssoda#prefix ../crypto-us/sys 551.2Ssoda#cinclude "conf/files.crypto-us" 561.2Ssoda#prefix 571.2Ssoda 581.2Ssoda#prefix ../crypto-intl/sys 591.2Ssoda#cinclude "conf/files.crypto-intl" 601.2Ssoda#prefix 611.1Ssoda 621.1Ssoda# Networking options 631.1Ssoda#options GATEWAY # IP packet forwarding 641.1Ssodaoptions INET # Internet protocols 651.2Ssoda#options INET6 # IPV6 661.2Ssoda#options IPSEC # IP security 671.2Ssoda#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 681.2Ssoda#options IPSEC_DEBUG # debug for IP security 691.2Ssoda#options MROUTING # Multicast routing support 701.3Ssoda#options NS # XNS 711.3Ssoda#options IPX # IPX+SPX 721.1Ssoda#options ISO,TPIP # OSI networking 731.1Ssoda#options EON # OSI tunneling over IP 741.3Ssoda#options CCITT,LLC,HDLC # X.25 751.2Ssoda#options PFIL_HOOKS # pfil(9) packet filter hooks. 761.1Ssoda 771.2Ssoda# Compatibilitry modules 781.3Ssodaoptions COMPAT_43 # compatibility with 4.3BSD binaries 791.2Ssodaoptions COMPAT_11 801.2Ssodaoptions COMPAT_12 811.2Ssodaoptions COMPAT_13 821.2Ssodaoptions COMPAT_14 831.2Ssoda#options COMPAT_ULTRIX # Ultrix binary compatibility (no go yet) 841.1Ssoda#options TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP 851.2Ssodaoptions COMPAT_386BSD_MBRPART # recognize old partition ID 861.1Ssoda 871.3Ssoda# Kernel root file system congiguration for memory disk 881.2Ssodaconfig netbsd root on md0 type ffs 891.2Ssoda 901.2Ssoda# Enable the hooks used for initializing the ram-disk. 911.3Ssodaoptions MEMORY_DISK_HOOKS 921.3Ssodaoptions MEMORY_DISK_IS_ROOT # Force root on ram-disk 931.3Ssodaoptions MINIROOTSIZE=8192 # 4 Megabytes 941.1Ssoda 951.1Ssoda# 961.1Ssoda# Definition of system 971.1Ssoda# 981.1Ssodamainbus0 at root 991.1Ssodacpu* at mainbus0 1001.1Ssoda 1011.1Ssoda#### Main local buses 1021.1Ssoda 1031.1Ssodapica* at mainbus0 # ACER Pica systems local bus. 1041.1Ssodaisabr* at mainbus0 # ISA Bus bridge (std ISA bus). 1051.1Ssoda 1061.1Ssoda#### PICA bus devices 1071.1Ssoda 1081.2Ssodaaclock0 at pica? 1091.1Ssodapc0 at pica? 1101.2Ssodaopms0 at pica? 1111.1Ssodacom0 at pica? 1121.1Ssodacom1 at pica? 1131.1Ssodalpt0 at pica? 1141.1Ssodasn0 at pica? 1151.1Ssoda 1161.1Ssodafdc0 at pica? 1171.1Ssodafd* at fdc? drive ? 1181.1Ssoda 1191.1Ssodaasc0 at pica? 1201.1Ssodascsibus* at asc? 1211.1Ssoda 1221.1Ssoda#### ISA Bus. 1231.1Ssoda 1241.1Ssodaisa* at isabr? 1251.1Ssoda 1261.2Ssodaaclock0 at isa? port 0x70 irq 0 1271.1Ssoda 1281.3Ssodapc0 at isa? port 0x60 irq 1 # generic PC console device 1291.1Ssodacom0 at isa? port 0x3f8 irq 4 1301.1Ssodacom1 at isa? port 0x2f8 irq 3 1311.1Ssodacom2 at isa? port 0x3e8 irq 4 1321.1Ssodacom3 at isa? port 0x2e8 irq 3 1331.1Ssoda 1341.2Ssoda# ISA ST506, ESDI, and IDE controllers 1351.2Ssoda# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 1361.2Ssoda# fall back to 16bits I/O if 32bits I/O are not functional). 1371.2Ssoda# Some controllers pass the initial 32bit test, but will fail later. 1381.2Ssodawdc0 at isa? port 0x1f0 irq 14 flags 0x00 1391.2Ssoda#wdc1 at isa? port 0x170 irq 15 flags 0x00 1401.2Ssoda 1411.2Ssoda# IDE drives 1421.2Ssoda# Flags are used only with controllers that support DMA operations 1431.2Ssoda# and mode settings (e.g. some pciide controllers) 1441.2Ssoda# The lowest order four bits (rightmost digit) of the flags define the PIO 1451.2Ssoda# mode to use, the next set of four bits the DMA mode and the third set the 1461.2Ssoda# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 1471.2Ssoda# to use, and the last bit must be 1 for this setting to be used. 1481.2Ssoda# For DMA and UDMA, 0xf (1111) means 'disable'. 1491.2Ssoda# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 1501.2Ssoda# (0xc=1100, 0xa=1010, 0xf=1111) 1511.2Ssoda# 0x0000 means "use whatever the drive claims to support". 1521.2Ssodawd* at wdc? channel ? drive ? flags 0x0000 1531.2Ssoda 1541.2Ssoda# ATAPI bus support 1551.2Ssodaatapibus* at wdc? channel ? 1561.2Ssoda 1571.2Ssoda# ATAPI devices 1581.2Ssoda# flags have the same meaning as for IDE drives. 1591.2Ssodacd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 1601.2Ssodasd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 1611.2Ssodauk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 1621.1Ssoda 1631.1Ssodalpt0 at isa? port 0x378 irq 7 1641.2Ssodaec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 1651.2Ssodaep0 at isa? port ? irq ? # 3C509 ethernet cards 1661.2Ssodane0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 1671.2Ssodane1 at isa? port 0x300 irq 10 1681.2Ssodawe0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 1691.2Ssodawe1 at isa? port 0x300 iomem 0xcc000 irq 10 1701.1Ssoda 1711.1Ssodabtl0 at isa? port 0x330 irq ? drq ? 1721.1Ssodascsibus* at btl? 1731.1Ssoda 1741.1Ssoda#### SCSI Bus devices 1751.1Ssoda 1761.1Ssodasd* at scsibus? target ? lun ? 1771.1Ssodast* at scsibus? target ? lun ? 1781.1Ssodacd* at scsibus? target ? lun ? 1791.1Ssoda#ch* at scsibus? target ? lun ? 1801.1Ssoda#ss* at scsibus? target ? lun ? 1811.1Ssoda#uk* at scsibus? target ? lun ? 1821.1Ssoda 1831.1Ssoda#### PSEUDO Devices 1841.1Ssoda 1851.1Ssodapseudo-device loop 1 # network loopback 1861.1Ssoda#pseudo-device bpfilter 8 # packet filter ports 1871.2Ssoda#pseudo-device gre 2 # generic L3 over IP tunnel 1881.1Ssodapseudo-device sl 2 # serial-line IP ports 1891.1Ssodapseudo-device ppp 2 # serial-line PPP ports 1901.1Ssoda#pseudo-device tun 2 # network tunneling over tty 1911.2Ssoda#pseudo-device ipfilter # ip filter 1921.2Ssoda#pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 1931.2Ssoda#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 1941.1Ssoda 1951.1Ssoda#pseudo-device pty 64 # pseudo ptys 1961.1Ssoda#pseudo-device tb 1 # tablet line discipline 1971.1Ssoda#pseudo-device vnd 4 # paging to files 1981.2Ssoda#pseudo-device ccd 4 # concatenated disk devices 1991.2Ssoda#pseudo-device raid 4 # RAIDframe disk driver 2001.2Ssodapseudo-device md 1 # memory disk devices 201