RAMDISK revision 1.2
11.2Ssoda# $NetBSD: RAMDISK,v 1.2 2000/01/23 21:01:53 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.2Ssodaoptions 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.1Ssodaoptions DIAGNOSTIC # extra kernel debugging checks 191.1Ssodaoptions DEBUG # extra kernel debugging support 201.1Ssoda 211.1Ssoda# System V options 221.1Ssodaoptions SYSVMSG # System V-like message queues 231.1Ssodaoptions SYSVSEM # System V-like semaphores 241.1Ssodaoptions SYSVSHM # System V-like memory sharing 251.1Ssodaoptions 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.1Ssodaoptions FIFO # POSIX fifo support (in all filesystems) 441.2Ssodaoptions QUOTA # FFS quotas 451.2Ssoda#options FFS_EI # FFS Endian Independant support 461.2Ssoda#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.2Ssoda#options NS # XNS 711.2Ssoda#options IPX # IPX+SPX 721.1Ssoda#options ISO,TPIP # OSI networking 731.1Ssoda#options EON # OSI tunneling over IP 741.2Ssoda#options CCITT,LLC,HDLC # X.25 751.2Ssoda#options PFIL_HOOKS # pfil(9) packet filter hooks. 761.1Ssoda 771.2Ssoda# Compatibilitry modules 781.2Ssodaoptions 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.1Ssoda# Special options 881.1Ssodaoptions MACHINE_NONCONTIG # Support noncontigous memory. 891.1Ssoda 901.1Ssoda# Specify storage configuration using ramdisk 911.2Ssodaconfig netbsd root on md0 type ffs 921.2Ssoda 931.2Ssoda# Enable the hooks used for initializing the ram-disk. 941.2Ssodaoptions MEMORY_DISK_HOOKS 951.2Ssodaoptions MEMORY_DISK_IS_ROOT # Force root on ram-disk 961.2Ssodaoptions MINIROOTSIZE=8192 # 4 Megabytes 971.1Ssoda 981.1Ssoda# 991.1Ssoda# Definition of system 1001.1Ssoda# 1011.1Ssodamainbus0 at root 1021.1Ssodacpu* at mainbus0 1031.1Ssoda 1041.1Ssoda#### Main local buses 1051.1Ssoda 1061.1Ssodapica* at mainbus0 # ACER Pica systems local bus. 1071.1Ssodaisabr* at mainbus0 # ISA Bus bridge (std ISA bus). 1081.1Ssoda 1091.1Ssoda#### PICA bus devices 1101.1Ssoda 1111.2Ssodaaclock0 at pica? 1121.1Ssodapc0 at pica? 1131.2Ssodaopms0 at pica? 1141.1Ssodacom0 at pica? 1151.1Ssodacom1 at pica? 1161.1Ssodalpt0 at pica? 1171.1Ssodasn0 at pica? 1181.1Ssoda 1191.1Ssodafdc0 at pica? 1201.1Ssodafd* at fdc? drive ? 1211.1Ssoda 1221.1Ssodaasc0 at pica? 1231.1Ssodascsibus* at asc? 1241.1Ssoda 1251.1Ssoda#### ISA Bus. 1261.1Ssoda 1271.1Ssodaisa* at isabr? 1281.1Ssoda 1291.2Ssodaaclock0 at isa? port 0x70 irq 0 1301.1Ssoda 1311.1Ssodapc0 at isa? port 0x60 irq 1 # generic PC console device 1321.1Ssodacom0 at isa? port 0x3f8 irq 4 1331.1Ssodacom1 at isa? port 0x2f8 irq 3 1341.1Ssodacom2 at isa? port 0x3e8 irq 4 1351.1Ssodacom3 at isa? port 0x2e8 irq 3 1361.1Ssoda 1371.2Ssoda# ISA ST506, ESDI, and IDE controllers 1381.2Ssoda# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 1391.2Ssoda# fall back to 16bits I/O if 32bits I/O are not functional). 1401.2Ssoda# Some controllers pass the initial 32bit test, but will fail later. 1411.2Ssodawdc0 at isa? port 0x1f0 irq 14 flags 0x00 1421.2Ssoda#wdc1 at isa? port 0x170 irq 15 flags 0x00 1431.2Ssoda 1441.2Ssoda# IDE drives 1451.2Ssoda# Flags are used only with controllers that support DMA operations 1461.2Ssoda# and mode settings (e.g. some pciide controllers) 1471.2Ssoda# The lowest order four bits (rightmost digit) of the flags define the PIO 1481.2Ssoda# mode to use, the next set of four bits the DMA mode and the third set the 1491.2Ssoda# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 1501.2Ssoda# to use, and the last bit must be 1 for this setting to be used. 1511.2Ssoda# For DMA and UDMA, 0xf (1111) means 'disable'. 1521.2Ssoda# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 1531.2Ssoda# (0xc=1100, 0xa=1010, 0xf=1111) 1541.2Ssoda# 0x0000 means "use whatever the drive claims to support". 1551.2Ssodawd* at wdc? channel ? drive ? flags 0x0000 1561.2Ssoda 1571.2Ssoda# ATAPI bus support 1581.2Ssodaatapibus* at wdc? channel ? 1591.2Ssoda 1601.2Ssoda# ATAPI devices 1611.2Ssoda# flags have the same meaning as for IDE drives. 1621.2Ssodacd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 1631.2Ssodasd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 1641.2Ssodauk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 1651.1Ssoda 1661.1Ssodalpt0 at isa? port 0x378 irq 7 1671.2Ssodaec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 1681.2Ssodaep0 at isa? port ? irq ? # 3C509 ethernet cards 1691.2Ssodane0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 1701.2Ssodane1 at isa? port 0x300 irq 10 1711.2Ssodawe0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 1721.2Ssodawe1 at isa? port 0x300 iomem 0xcc000 irq 10 1731.1Ssoda 1741.1Ssodabtl0 at isa? port 0x330 irq ? drq ? 1751.1Ssodascsibus* at btl? 1761.1Ssoda 1771.1Ssoda#### SCSI Bus devices 1781.1Ssoda 1791.1Ssodasd* at scsibus? target ? lun ? 1801.1Ssodast* at scsibus? target ? lun ? 1811.1Ssodacd* at scsibus? target ? lun ? 1821.1Ssoda#ch* at scsibus? target ? lun ? 1831.1Ssoda#ss* at scsibus? target ? lun ? 1841.1Ssoda#uk* at scsibus? target ? lun ? 1851.1Ssoda 1861.1Ssoda#### PSEUDO Devices 1871.1Ssoda 1881.1Ssodapseudo-device loop 1 # network loopback 1891.1Ssoda#pseudo-device bpfilter 8 # packet filter ports 1901.2Ssoda#pseudo-device gre 2 # generic L3 over IP tunnel 1911.1Ssodapseudo-device sl 2 # serial-line IP ports 1921.1Ssodapseudo-device ppp 2 # serial-line PPP ports 1931.1Ssoda#pseudo-device tun 2 # network tunneling over tty 1941.2Ssoda#pseudo-device ipfilter # ip filter 1951.2Ssoda#pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 1961.2Ssoda#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 1971.1Ssoda 1981.1Ssoda#pseudo-device pty 64 # pseudo ptys 1991.1Ssoda#pseudo-device tb 1 # tablet line discipline 2001.1Ssoda#pseudo-device vnd 4 # paging to files 2011.2Ssoda#pseudo-device ccd 4 # concatenated disk devices 2021.2Ssoda#pseudo-device raid 4 # RAIDframe disk driver 2031.2Ssodapseudo-device md 1 # memory disk devices 204