RAMDISK revision 1.14
11.14Ssoda# $NetBSD: RAMDISK,v 1.14 2001/06/13 15:37:28 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.4Ssodamaxusers 4 # estimated number of users 101.4Ssoda 111.14Ssoda# Platform support 121.14Ssodaoptions PLATFORM_ACER_PICA_61 # Pica, NEC ImageRISCstation 131.14Ssodaoptions PLATFORM_DESKTECH_ARCSTATION_I # DESKstation rPC44 141.14Ssodaoptions PLATFORM_DESKTECH_TYNE # DESKstation Tyne 151.14Ssodaoptions PLATFORM_MICROSOFT_JAZZ # MIPS Magnum 161.14Ssodaoptions PLATFORM_NEC_JC94 # NEC Express 5800/230 PCI R4K 171.14Ssodaoptions PLATFORM_NEC_R94 # NEC RISCstation 2200 EISA 181.14Ssodaoptions PLATFORM_NEC_R96 # NEC Express RISCserver, RISCserver 2200 191.14Ssodaoptions PLATFORM_NEC_RAX94 # NEC RISCstation 2200 PCI 201.14Ssodaoptions PLATFORM_NEC_RD94 # NEC RISCstation 2250 211.14Ssodaoptions PLATFORM_SNI_RM200PCI 221.14Ssoda 231.4Ssoda# Enable the hooks used for initializing the root memory-disk. 241.4Ssodaoptions MEMORY_DISK_HOOKS 251.4Ssodaoptions MEMORY_DISK_IS_ROOT # force root on memory disk 261.4Ssodaoptions MEMORY_DISK_SERVER=0 # no userspace memory disk support 271.4Ssodaoptions MINIROOTSIZE=8192 # size of memory disk, in blocks 281.4Ssoda 291.4Ssodamakeoptions COPTS="-Os" # generates smaller code than -O2, -O1 301.1Ssoda 311.1Ssoda# Standard system options 321.1Ssoda 331.4Ssodaoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 341.4Ssodaoptions NTP # NTP phase/frequency locked loop 351.4Ssoda 361.4Ssodaoptions KTRACE # system call tracing via ktrace(1) 371.1Ssoda 381.3Ssodaoptions SYSVMSG # System V-like message queues 391.3Ssodaoptions SYSVSEM # System V-like semaphores 401.3Ssodaoptions SYSVSHM # System V-like memory sharing 411.4Ssoda#options SHMMAXPGS=1024 # 1024 pages is the default 421.1Ssoda 431.4Ssodaoptions LKM # loadable kernel modules 441.4Ssoda 451.4Ssoda# Diagnostic/debugging support options 461.4Ssodaoptions DIAGNOSTIC # cheap kernel consistency checks 471.4Ssoda#options DEBUG # expensive debugging checks/support 481.4Ssoda#options KMEMSTATS # kernel memory statistics (vmstat -m) 491.4Ssodaoptions DDB # in-kernel debugger 501.4Ssoda#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 511.4Ssoda#options KGDB # remote gdb 521.4Ssoda#options KGDBRATE=19200 # kernel gdb port rate (default 9600) 531.4Ssoda#options KGDBDEV="17*256+0" # device for kernel gdb 541.4Ssoda#makeoptions DEBUG="-g" # compile full symbol table 551.4Ssoda 561.4Ssoda# Compatibility options 571.4Ssodaoptions COMPAT_10 # NetBSD 1.0, 581.4Ssodaoptions COMPAT_11 # NetBSD 1.1, 591.4Ssodaoptions COMPAT_12 # NetBSD 1.2, 601.4Ssodaoptions COMPAT_13 # NetBSD 1.3, 611.4Ssodaoptions COMPAT_14 # NetBSD 1.4, 621.4Ssodaoptions COMPAT_43 # and 4.3BSD 631.4Ssodaoptions COMPAT_386BSD_MBRPART # recognize old partition ID 641.4Ssoda 651.4Ssoda# mipsel specific 661.4Ssodaoptions COMPAT_ULTRIX # Ultrix binary compatibility 671.4Ssodaoptions EXEC_ECOFF # Ultrix RISC binaries are ECOFF format 681.4Ssoda 691.4Ssoda# File systems 701.2Ssodafile-system FFS # fast filesystem 711.4Ssoda#file-system EXT2FS # second extended file system (linux) 721.4Ssoda#file-system LFS # log-structured file system 731.4Ssodafile-system MFS # memory file system 741.4Ssodafile-system NTFS # Windows/NT file system (experimental) 751.2Ssodafile-system CD9660 # ISO 9660 + Rock Ridge file system 761.4Ssodafile-system MSDOSFS # MS-DOS file system 771.4Ssodafile-system NFS # Network File System client 781.4Ssodafile-system FDESC # /dev/fd 791.4Ssodafile-system KERNFS # /kern 801.4Ssoda#file-system NULLFS # loopback file system 811.2Ssoda#file-system OVERLAY # overlay file system 821.4Ssoda#file-system PORTAL # portal filesystem (still experimental) 831.4Ssodafile-system PROCFS # /proc 841.4Ssoda#file-system UMAPFS # NULLFS + uid and gid remapping 851.4Ssoda#file-system UNION # union file system 861.4Ssoda#file-system CODA # Coda File System; also needs vcoda (below) 871.2Ssoda 881.4Ssoda# File system options 891.3Ssodaoptions QUOTA # FFS quotas 901.4Ssoda#options FFS_EI # FFS Endian Independent support 911.3Ssoda#options SOFTDEP # FFS soft updates support. 921.4Ssodaoptions NFSSERVER # Network File System server 931.4Ssoda#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 941.4Ssoda # immutable) behave as system flags. 951.1Ssoda 961.1Ssoda# Networking options 971.1Ssoda#options GATEWAY # IP packet forwarding 981.4Ssodaoptions INET # IP + ICMP + TCP + UDP 991.4Ssodaoptions INET6 # IPV6 1001.2Ssoda#options IPSEC # IP security 1011.2Ssoda#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1021.2Ssoda#options IPSEC_DEBUG # debug for IP security 1031.4Ssoda#options MROUTING # IP multicast routing 1041.3Ssoda#options NS # XNS 1051.4Ssoda#options NSIP # XNS tunneling over IP 1061.1Ssoda#options ISO,TPIP # OSI networking 1071.1Ssoda#options EON # OSI tunneling over IP 1081.3Ssoda#options CCITT,LLC,HDLC # X.25 1091.4Ssodaoptions NETATALK # AppleTalk networking protocols 1101.4Ssodaoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1111.4Ssodaoptions PPP_DEFLATE # Deflate compression support for PPP 1121.4Ssodaoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1131.4Ssodaoptions PFIL_HOOKS # pfil(9) packet filter hooks 1141.4Ssodaoptions IPFILTER_LOG # ipmon(8) log support 1151.4Ssoda 1161.4Ssoda# Compatibility with 4.2BSD implementation of TCP/IP. Not recommended. 1171.4Ssoda#options TCP_COMPAT_42 1181.4Ssoda 1191.4Ssoda# These options enable verbose messages for several subsystems. 1201.4Ssoda# Warning, these may compile large string tables into the kernel! 1211.4Ssoda#options EISAVERBOSE # verbose EISA device autoconfig messages 1221.4Ssoda#options PCIVERBOSE # verbose PCI device autoconfig messages 1231.6Scgd#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1241.4Ssodaoptions SCSIVERBOSE # human readable SCSI error messages 1251.10Sur 1261.10Sur# wscons terminal emulation 1271.10Suroptions WSEMUL_VT100 # VT100 emulation 1281.4Ssoda 1291.4Ssoda# Kernel root file system and dump configuration. 1301.4Ssodaoptions NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 1311.4Ssodaconfig netbsd root on ? type ? 1321.1Ssoda 1331.1Ssoda# 1341.4Ssoda# Device configuration 1351.1Ssoda# 1361.4Ssoda 1371.1Ssodamainbus0 at root 1381.1Ssodacpu* at mainbus0 1391.1Ssoda 1401.12Sur#### Jazz-Internal bus devices 1411.1Ssoda 1421.14Ssoda# PLATFORM_ACER_PICA_61 1431.14Ssoda# PLATFORM_MICROSOFT_JAZZ 1441.14Ssoda# PLATFORM_NEC_JC94 1451.14Ssoda# PLATFORM_NEC_R94 1461.14Ssoda# PLATFORM_NEC_R96 1471.14Ssoda# PLATFORM_NEC_RAX94 1481.14Ssoda# PLATFORM_NEC_RD94 1491.14Ssodajazzio* at mainbus0 # Jazz-Internal bus host bridge. 1501.14Ssoda 1511.14Ssodatimer0 at jazzio? 1521.14Ssodamcclock0 at jazzio? 1531.12Sur#pc0 at jazzio? 1541.12Sur#opms0 at jazzio? 1551.12Survga0 at jazzio? # Jazz localbus VGA 1561.12Surpckbc0 at jazzio? # PC keyboard controller 1571.12Surcom0 at jazzio? 1581.12Surcom1 at jazzio? 1591.12Surlpt0 at jazzio? 1601.12Sursn0 at jazzio? 1611.1Ssoda 1621.12Surfdc0 at jazzio? 1631.1Ssodafd* at fdc? drive ? 1641.1Ssoda 1651.13Ssodaasc0 at jazzio? # NCR53C9x SCSI 1661.1Ssodascsibus* at asc? 1671.1Ssoda 1681.13Ssodaosiop0 at jazzio? flags 0x00000 # NCR53C710 SCSI 1691.13Ssodaosiop1 at jazzio? flags 0x00000 1701.13Ssodascsibus* at osiop? 1711.13Ssoda 1721.13Ssoda#oosiop0 at jazzio? # NCR53C700 SCSI 1731.13Ssoda#oosiop1 at jazzio? 1741.13Ssoda#scsibus* at oosiop? 1751.9Ssoda 1761.4Ssoda#### ISA bus devices 1771.1Ssoda 1781.14Ssoda# PLATFORM_ACER_PICA_61 1791.14Ssoda# PLATFORM_MICROSOFT_JAZZ 1801.14Ssoda# PLATFORM_NEC_R94 1811.14Ssoda# PLATFORM_NEC_R96 1821.14Ssodajazzisabr* at mainbus0 # Jazz-(E)ISA bus bridge. 1831.14Ssodaisa* at jazzisabr? 1841.14Ssoda 1851.14Ssoda# PLATFORM_DESKTECH_ARCSTATION_I 1861.14Ssodaarcsisabr* at mainbus0 # DESKstation rPC44 ISA host bridge. 1871.14Ssodaisa* at arcsisabr? 1881.14Ssoda 1891.14Ssoda# PLATFORM_DESKTECH_TYNE 1901.14Ssodatyneisabr* at mainbus0 # DESKstation Tyne ISA host bridge. 1911.14Ssodaisa* at tyneisabr? 1921.14Ssoda 1931.4Ssoda#isadma0 at isa? 1941.1Ssoda 1951.14Ssodatimer0 at isa? port 0x40 irq 0 1961.14Ssodamcclock0 at isa? port 0x70 1971.1Ssoda 1981.14Ssodapc0 at isa? irq 1 # generic PC console device 1991.9Ssoda#vga0 at isa? 2001.9Ssoda#pckbc0 at isa? # PC keyboard controller 2011.1Ssodacom0 at isa? port 0x3f8 irq 4 2021.1Ssodacom1 at isa? port 0x2f8 irq 3 2031.1Ssodacom2 at isa? port 0x3e8 irq 4 2041.1Ssodacom3 at isa? port 0x2e8 irq 3 2051.4Ssodaast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards 2061.4Ssodacom* at ast? slave ? 2071.4Ssoda 2081.4Ssoda# Joystick driver. Probe is a little strange; add only if you have one. 2091.4Ssoda#joy0 at isa? port 0x201 2101.1Ssoda 2111.2Ssoda# ISA ST506, ESDI, and IDE controllers 2121.2Ssoda# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 2131.2Ssoda# fall back to 16bits I/O if 32bits I/O are not functional). 2141.2Ssoda# Some controllers pass the initial 32bit test, but will fail later. 2151.4Ssoda# XXX - should be configured 2161.4Ssoda#wdc0 at isa? port 0x1f0 irq 14 flags 0x00 2171.4Ssoda#wdc1 at isa? port 0x170 irq 15 flags 0x00 2181.4Ssoda#wdc* at isapnp? 2191.2Ssoda 2201.2Ssoda# IDE drives 2211.2Ssoda# Flags are used only with controllers that support DMA operations 2221.2Ssoda# and mode settings (e.g. some pciide controllers) 2231.2Ssoda# The lowest order four bits (rightmost digit) of the flags define the PIO 2241.2Ssoda# mode to use, the next set of four bits the DMA mode and the third set the 2251.2Ssoda# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 2261.2Ssoda# to use, and the last bit must be 1 for this setting to be used. 2271.2Ssoda# For DMA and UDMA, 0xf (1111) means 'disable'. 2281.2Ssoda# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 2291.2Ssoda# (0xc=1100, 0xa=1010, 0xf=1111) 2301.2Ssoda# 0x0000 means "use whatever the drive claims to support". 2311.4Ssoda# XXX - should be configured 2321.4Ssoda#wd* at wdc? channel ? drive ? flags 0x0000 2331.2Ssoda 2341.2Ssoda# ATAPI bus support 2351.4Ssoda# XXX - should be configured 2361.4Ssoda#atapibus* at wdc? channel ? 2371.2Ssoda 2381.4Ssoda# ISA parallel printer interfaces 2391.1Ssodalpt0 at isa? port 0x378 irq 7 2401.1Ssoda 2411.4Ssoda# ISA network interfaces 2421.4Ssoda# XXX - should be configured 2431.4Ssoda#ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 2441.4Ssoda#ep0 at isa? port ? irq ? # 3C509 ethernet cards 2451.4Ssoda#ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 2461.4Ssoda#ne1 at isa? port 0x300 irq 10 2471.4Ssoda#ne* at isapnp? # NE[12]000 PnP ethernet 2481.4Ssoda#we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 2491.4Ssoda#we1 at isa? port 0x300 iomem 0xcc000 irq 10 2501.4Ssoda#we* at isapnp? 2511.4Ssoda 2521.4Ssoda# XXX - should be configured 2531.4Ssoda#btl0 at isa? port 0x330 irq ? drq ? 2541.4Ssoda#scsibus* at btl? 2551.4Ssoda 2561.4Ssoda#### PCI bus devices 2571.4Ssoda 2581.14Ssoda# PLATFORM_NEC_JC94 2591.14Ssoda# PLATFORM_NEC_RAX94 2601.14Ssoda# PLATFORM_NEC_RD94 2611.9Ssodanecpb* at mainbus0 # NEC RISCstation PCI host bridge. 2621.9Ssodapci* at necpb? 2631.9Ssoda 2641.14Ssoda#pcivga* at pci? dev ? function ? 2651.14Ssodatga* at pci? dev ? function ? # DEC ZLXp-E[123] Graphics 2661.14Ssoda 2671.14Ssodaahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 2681.14Ssodascsibus* at ahc? 2691.4Ssoda 2701.14Ssoda#siop* at pci? dev ? function ? # NCR/Symbios 53c8xx SCSI 2711.7Ssoren#scsibus* at siop? 2721.14Ssoda 2731.4Ssoda#de* at pci? dev ? function ? 2741.9Ssodaex* at pci? dev ? function ? # 3Com 90x[B] 2751.9Ssodafxp* at pci? dev ? function ? # Intel EtherExpress PRO 2761.9Ssodale* at pci? dev ? function ? # PCnet-PCI 2771.9Ssodane* at pci? dev ? function ? # NE2000-compatible 2781.9Ssodatlp* at pci? dev ? function ? # DECchip 21x4x (and clones) 2791.9Ssoda#options TLP_MATCH_21040 2801.9Ssoda#options TLP_MATCH_21041 2811.9Ssoda#options TLP_MATCH_21140 2821.9Ssoda#options TLP_MATCH_21142 2831.9Ssoda 2841.9Ssoda# IDE and related devices 2851.9Ssoda# PCI IDE controllers - see pciide(4) for supported hardware. 2861.9Ssoda# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 2871.9Ssoda# how to set up DMA modes for this chip. This may work, or may cause 2881.9Ssoda# a machine hang with some controllers. 2891.9Ssodapciide* at pci ? dev ? function ? flags 0x0000 2901.9Ssodawd* at pciide? channel ? drive ? flags 0x0000 2911.9Ssodaatapibus* at pciide? channel ? 2921.9Ssoda 2931.14Ssoda#### MII/PHY support 2941.14Ssoda 2951.14Ssodaexphy* at mii? phy ? # 3Com internal PHYs 2961.14Ssodaicsphy* at mii? phy ? # Integrated Circuit Systems ICS1890 2971.14Ssodainphy* at mii? phy ? # Intel 82555 PHYs 2981.14Ssodaiophy* at mii? phy ? # Intel 82553 PHYs 2991.14Ssodalxtphy* at mii? phy ? # Level One LXT-970 PHYs 3001.14Ssodansphy* at mii? phy ? # NS83840 PHYs 3011.14Ssodansphyter* at mii? phy ? # NS83843 PHYs 3021.14Ssodaqsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 3031.14Ssodasqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 3041.14Ssodatlphy* at mii? phy ? # ThunderLAN PHYs 3051.14Ssodatqphy* at mii? phy ? # TDK Semiconductor PHYs 3061.14Ssodaukphy* at mii? phy ? # generic unknown PHYs 3071.9Ssoda 3081.4Ssoda#### SCSI bus devices 3091.1Ssoda 3101.1Ssodasd* at scsibus? target ? lun ? 3111.1Ssodast* at scsibus? target ? lun ? 3121.1Ssodacd* at scsibus? target ? lun ? 3131.4Ssodach* at scsibus? target ? lun ? 3141.4Ssodass* at scsibus? target ? lun ? 3151.4Ssodauk* at scsibus? target ? lun ? 3161.9Ssoda 3171.9Ssoda#### ATAPI bus devices 3181.9Ssoda 3191.9Ssoda# flags have the same meaning as for IDE drives. 3201.9Ssodacd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 3211.9Ssodasd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 3221.9Ssodauk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 3231.9Ssoda 3241.9Ssoda#### Workstation Console attachments 3251.9Ssoda 3261.9Ssodawsdisplay* at vga? 3271.14Ssodawsdisplay* at tga? 3281.9Ssodapckbd* at pckbc? # PC keyboard (kbd port) 3291.9Ssodawskbd* at pckbd? 3301.9Ssodapms* at pckbc? # PS/2-style mouse (aux port) 3311.9Ssodawsmouse* at pms? 3321.9Ssoda#pmsi* at pckbc? # PS/2 "Intelli"mouse (aux port) 3331.9Ssoda#wsmouse* at pmsi? 3341.4Ssoda 3351.4Ssoda#### Pseudo devices 3361.4Ssoda 3371.4Ssoda# disk/mass storage pseudo-devices 3381.4Ssodapseudo-device ccd 4 # concatenated/striped disk devices 3391.4Ssoda#pseudo-device raid 4 # RAIDframe disk driver 3401.4Ssodapseudo-device md 1 # memory disk device (ramdisk) 3411.4Ssodapseudo-device vnd 4 # disk-like interface to files 3421.4Ssoda 3431.4Ssoda# network pseudo-devices 3441.4Ssodapseudo-device bpfilter 8 # Berkeley packet filter 3451.4Ssodapseudo-device ipfilter # IP filter (firewall) and NAT 3461.4Ssodapseudo-device loop 1 # network loopback 3471.4Ssodapseudo-device ppp 2 # Point-to-Point Protocol 3481.4Ssodapseudo-device sl 2 # Serial Line IP 3491.4Ssoda#pseudo-device strip 2 # Starmode Radio IP (Metricom) 3501.4Ssodapseudo-device tun 2 # network tunneling over tty 3511.4Ssoda#pseudo-device gre 2 # generic L3 over IP tunnel 3521.4Ssodapseudo-device ipip 2 # IP Encapsulation within IP (RFC 2003) 3531.4Ssodapseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 3541.4Ssoda#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 3551.13Ssoda#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 3561.13Ssodapseudo-device vlan # IEEE 802.1q encapsulation 3571.1Ssoda 3581.4Ssoda# miscellaneous pseudo-devices 3591.11Sjdolecekpseudo-device pty # pseudo-terminals 3601.4Ssoda#pseudo-device tb 1 # tablet line discipline 3611.4Ssoda#pseudo-device sequencer 1 # MIDI sequencer 3621.4Ssoda# rnd works; RND_COM does not on port arc yet. 3631.4Ssodapseudo-device rnd # /dev/random and in-kernel generator 3641.4Ssoda#options RND_COM # use "com" randomness as well (BROKEN) 3651.1Ssoda 3661.4Ssoda# a pseudo device needed for Coda # also needs CODA (above) 3671.4Ssoda#pseudo-device vcoda 4 # coda minicache <-> venus comm. 3681.1Ssoda 3691.4Ssoda# mouse & keyboard multiplexor pseudo-devices 3701.4Ssoda#pseudo-device wsmux 2 371