RAMDISK revision 1.11
11.11Sjdolecek#	$NetBSD: RAMDISK,v 1.11 2000/09/24 15:59:28 jdolecek 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.4Ssoda# Enable the hooks used for initializing the root memory-disk.
121.4Ssodaoptions 	MEMORY_DISK_HOOKS
131.4Ssodaoptions 	MEMORY_DISK_IS_ROOT	# force root on memory disk
141.4Ssodaoptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
151.4Ssodaoptions 	MINIROOTSIZE=8192	# size of memory disk, in blocks
161.4Ssoda
171.4Ssodamakeoptions	COPTS="-Os"		# generates smaller code than -O2, -O1
181.1Ssoda
191.1Ssoda# Standard system options
201.1Ssoda
211.4Ssodaoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
221.4Ssodaoptions 	NTP		# NTP phase/frequency locked loop
231.4Ssoda
241.4Ssodaoptions 	KTRACE		# system call tracing via ktrace(1)
251.1Ssoda
261.3Ssodaoptions 	SYSVMSG		# System V-like message queues
271.3Ssodaoptions 	SYSVSEM		# System V-like semaphores
281.3Ssodaoptions 	SYSVSHM		# System V-like memory sharing
291.4Ssoda#options 	SHMMAXPGS=1024	# 1024 pages is the default
301.1Ssoda
311.4Ssodaoptions 	LKM		# loadable kernel modules
321.4Ssoda
331.4Ssoda# Diagnostic/debugging support options
341.4Ssodaoptions 	DIAGNOSTIC	# cheap kernel consistency checks
351.4Ssoda#options 	DEBUG		# expensive debugging checks/support
361.4Ssoda#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
371.4Ssodaoptions 	DDB		# in-kernel debugger
381.4Ssoda#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
391.4Ssoda#options 	KGDB		# remote gdb
401.4Ssoda#options 	KGDBRATE=19200	# kernel gdb port rate (default 9600)
411.4Ssoda#options 	KGDBDEV="17*256+0"	# device for kernel gdb
421.4Ssoda#makeoptions	DEBUG="-g"	# compile full symbol table
431.4Ssoda
441.4Ssoda# Compatibility options
451.4Ssodaoptions 	COMPAT_10	# NetBSD 1.0,
461.4Ssodaoptions 	COMPAT_11	# NetBSD 1.1,
471.4Ssodaoptions 	COMPAT_12	# NetBSD 1.2,
481.4Ssodaoptions 	COMPAT_13	# NetBSD 1.3,
491.4Ssodaoptions 	COMPAT_14	# NetBSD 1.4,
501.4Ssodaoptions 	COMPAT_43	# and 4.3BSD
511.4Ssodaoptions 	COMPAT_386BSD_MBRPART # recognize old partition ID
521.4Ssoda
531.4Ssoda# mipsel specific
541.4Ssodaoptions 	COMPAT_ULTRIX	# Ultrix binary compatibility
551.4Ssodaoptions 	EXEC_ECOFF	# Ultrix RISC binaries are ECOFF format
561.4Ssoda
571.4Ssoda# File systems
581.2Ssodafile-system 	FFS		# fast filesystem
591.4Ssoda#file-system 	EXT2FS		# second extended file system (linux)
601.4Ssoda#file-system 	LFS		# log-structured file system
611.4Ssodafile-system 	MFS		# memory file system
621.4Ssodafile-system 	NTFS		# Windows/NT file system (experimental)
631.2Ssodafile-system 	CD9660		# ISO 9660 + Rock Ridge file system
641.4Ssodafile-system 	MSDOSFS		# MS-DOS file system
651.4Ssodafile-system 	NFS		# Network File System client
661.4Ssodafile-system 	FDESC		# /dev/fd
671.4Ssodafile-system 	KERNFS		# /kern
681.4Ssoda#file-system 	NULLFS		# loopback file system
691.2Ssoda#file-system 	OVERLAY		# overlay file system
701.4Ssoda#file-system 	PORTAL		# portal filesystem (still experimental)
711.4Ssodafile-system 	PROCFS		# /proc
721.4Ssoda#file-system 	UMAPFS		# NULLFS + uid and gid remapping
731.4Ssoda#file-system 	UNION		# union file system
741.4Ssoda#file-system	CODA		# Coda File System; also needs vcoda (below)
751.2Ssoda
761.4Ssoda# File system options
771.3Ssodaoptions 	QUOTA		# FFS quotas
781.4Ssoda#options 	FFS_EI		# FFS Endian Independent support
791.3Ssoda#options 	SOFTDEP		# FFS soft updates support.
801.4Ssodaoptions 	NFSSERVER	# Network File System server
811.4Ssoda#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
821.4Ssoda				# immutable) behave as system flags.
831.1Ssoda
841.1Ssoda# Networking options
851.1Ssoda#options 	GATEWAY		# IP packet forwarding
861.4Ssodaoptions 	INET		# IP + ICMP + TCP + UDP
871.4Ssodaoptions 	INET6		# IPV6
881.2Ssoda#options 	IPSEC		# IP security
891.2Ssoda#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
901.2Ssoda#options 	IPSEC_DEBUG	# debug for IP security
911.4Ssoda#options 	MROUTING	# IP multicast routing
921.3Ssoda#options 	NS		# XNS
931.4Ssoda#options 	NSIP		# XNS tunneling over IP
941.1Ssoda#options 	ISO,TPIP	# OSI networking
951.1Ssoda#options 	EON		# OSI tunneling over IP
961.3Ssoda#options 	CCITT,LLC,HDLC	# X.25
971.4Ssodaoptions 	NETATALK	# AppleTalk networking protocols
981.4Ssodaoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
991.4Ssodaoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1001.4Ssodaoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1011.4Ssodaoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1021.4Ssodaoptions 	IPFILTER_LOG	# ipmon(8) log support
1031.4Ssoda
1041.4Ssoda# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
1051.4Ssoda#options 	TCP_COMPAT_42
1061.4Ssoda
1071.4Ssoda# These options enable verbose messages for several subsystems.
1081.4Ssoda# Warning, these may compile large string tables into the kernel!
1091.4Ssoda#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
1101.4Ssoda#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1111.6Scgd#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1121.4Ssodaoptions 	SCSIVERBOSE	# human readable SCSI error messages
1131.10Sur
1141.10Sur# wscons terminal emulation
1151.10Suroptions 	WSEMUL_VT100	# VT100 emulation
1161.4Ssoda
1171.4Ssoda# Kernel root file system and dump configuration.
1181.4Ssodaoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1191.4Ssodaconfig		netbsd	root on ? type ?
1201.1Ssoda
1211.1Ssoda#
1221.4Ssoda# Device configuration
1231.1Ssoda#
1241.4Ssoda
1251.1Ssodamainbus0	at root
1261.1Ssodacpu*		at mainbus0
1271.1Ssoda
1281.4Ssoda#### Pica bus devices
1291.1Ssoda
1301.1Ssodapica*		at mainbus0	# ACER Pica systems local bus.
1311.4Ssodaaclock0 	at pica?
1321.9Ssoda#pc0		at pica?
1331.9Ssoda#opms0		at pica?
1341.9Ssodavga0		at pica?	# Jazz localbus VGA
1351.9Ssodapckbc0		at pica?	# PC keyboard controller
1361.1Ssodacom0		at pica?
1371.1Ssodacom1		at pica?
1381.1Ssodalpt0		at pica?
1391.1Ssodasn0		at pica?
1401.1Ssoda
1411.1Ssodafdc0		at pica?
1421.1Ssodafd*		at fdc? drive ?
1431.1Ssoda
1441.1Ssodaasc0		at pica?
1451.1Ssodascsibus* 	at asc?
1461.1Ssoda
1471.9Ssoda#siop0		at pica?
1481.9Ssoda#scsibus* 	at siop?
1491.9Ssoda
1501.4Ssoda#### ISA bus devices
1511.1Ssoda
1521.4Ssodaisabr*		at mainbus0	# ISA Bus bridge (std ISA bus).
1531.1Ssodaisa*		at isabr?
1541.4Ssoda#isadma0 	at isa?
1551.1Ssoda
1561.4Ssodaaclock0 	at isa? port 0x70 irq 0
1571.1Ssoda
1581.3Ssodapc0		at isa? port 0x60 irq 1		# generic PC console device
1591.9Ssoda#vga0		at isa?
1601.9Ssoda#pckbc0		at isa?				# PC keyboard controller
1611.1Ssodacom0		at isa? port 0x3f8 irq 4
1621.1Ssodacom1		at isa? port 0x2f8 irq 3
1631.1Ssodacom2		at isa? port 0x3e8 irq 4
1641.1Ssodacom3		at isa? port 0x2e8 irq 3
1651.4Ssodaast0		at isa? port 0x1a0 irq 3	# AST 4-port serial cards
1661.4Ssodacom*		at ast? slave ?
1671.4Ssoda
1681.4Ssoda# Joystick driver. Probe is a little strange; add only if you have one.
1691.4Ssoda#joy0		at isa? port 0x201
1701.1Ssoda
1711.2Ssoda# ISA ST506, ESDI, and IDE controllers
1721.2Ssoda# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
1731.2Ssoda# fall back to 16bits I/O if 32bits I/O are not functional).
1741.2Ssoda# Some controllers pass the initial 32bit test, but will fail later.
1751.4Ssoda# XXX - should be configured
1761.4Ssoda#wdc0		at isa? port 0x1f0 irq 14 flags 0x00
1771.4Ssoda#wdc1		at isa? port 0x170 irq 15 flags 0x00
1781.4Ssoda#wdc*		at isapnp?
1791.2Ssoda
1801.2Ssoda# IDE drives
1811.2Ssoda# Flags are used only with controllers that support DMA operations
1821.2Ssoda# and mode settings (e.g. some pciide controllers)
1831.2Ssoda# The lowest order four bits (rightmost digit) of the flags define the PIO
1841.2Ssoda# mode to use, the next set of four bits the DMA mode and the third set the
1851.2Ssoda# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
1861.2Ssoda# to use, and the last bit must be 1 for this setting to be used.
1871.2Ssoda# For DMA and UDMA, 0xf (1111) means 'disable'.
1881.2Ssoda# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
1891.2Ssoda# (0xc=1100, 0xa=1010, 0xf=1111)
1901.2Ssoda# 0x0000 means "use whatever the drive claims to support".
1911.4Ssoda# XXX - should be configured
1921.4Ssoda#wd*		at wdc? channel ? drive ? flags 0x0000
1931.2Ssoda
1941.2Ssoda# ATAPI bus support
1951.4Ssoda# XXX - should be configured
1961.4Ssoda#atapibus*	at wdc? channel ?
1971.2Ssoda
1981.4Ssoda# ISA parallel printer interfaces
1991.1Ssodalpt0		at isa? port 0x378 irq 7
2001.1Ssoda
2011.4Ssoda# ISA network interfaces
2021.4Ssoda# XXX - should be configured
2031.4Ssoda#ec0		at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
2041.4Ssoda#ep0		at isa? port ? irq ?		# 3C509 ethernet cards
2051.4Ssoda#ne0		at isa? port 0x280 irq 9	# NE[12]000 ethernet cards
2061.4Ssoda#ne1		at isa? port 0x300 irq 10
2071.4Ssoda#ne*		at isapnp?			# NE[12]000 PnP ethernet
2081.4Ssoda#we0		at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
2091.4Ssoda#we1		at isa? port 0x300 iomem 0xcc000 irq 10
2101.4Ssoda#we*		at isapnp?
2111.4Ssoda
2121.4Ssoda# XXX - should be configured
2131.4Ssoda#btl0		at isa? port 0x330 irq ? drq ?
2141.4Ssoda#scsibus*	at btl?
2151.4Ssoda
2161.4Ssoda#### Algor bus devices
2171.4Ssoda
2181.4Ssoda#algor*		at mainbus0	# Algorithmics local bus.
2191.4Ssoda
2201.4Ssoda#aclock0 	at algor?
2211.4Ssoda#com0		at algor?
2221.4Ssoda#com1		at algor?
2231.4Ssoda#lpt0		at algor?
2241.4Ssoda
2251.4Ssoda#### PCI bus devices
2261.4Ssoda
2271.9Ssodanecpb*		at mainbus0	# NEC RISCstation PCI host bridge.
2281.9Ssodapci*		at necpb?
2291.9Ssoda
2301.4Ssoda#pbcpcibr*	at mainbus0	# Algorithmics PCI bus bridge.
2311.4Ssoda#pci*		at pbcpcibr?
2321.4Ssoda
2331.4Ssoda#pcivga* 	at pci? dev ? function ?
2341.7Ssoren#siop*		at pci? dev ? function ?
2351.7Ssoren#scsibus* 	at siop?
2361.4Ssoda#de*		at pci? dev ? function ?
2371.1Ssoda
2381.9Ssodaex*		at pci? dev ? function ?	# 3Com 90x[B]
2391.9Ssodafxp*		at pci? dev ? function ?	# Intel EtherExpress PRO
2401.9Ssodale*		at pci? dev ? function ?	# PCnet-PCI
2411.9Ssodane*		at pci? dev ? function ?	# NE2000-compatible
2421.9Ssodatlp*		at pci? dev ? function ?	# DECchip 21x4x (and clones)
2431.9Ssoda#options 	TLP_MATCH_21040
2441.9Ssoda#options 	TLP_MATCH_21041
2451.9Ssoda#options 	TLP_MATCH_21140
2461.9Ssoda#options 	TLP_MATCH_21142
2471.9Ssoda
2481.9Ssoda# IDE and related devices
2491.9Ssoda# PCI IDE controllers - see pciide(4) for supported hardware.
2501.9Ssoda# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
2511.9Ssoda# how to set up DMA modes for this chip. This may work, or may cause
2521.9Ssoda# a machine hang with some controllers.
2531.9Ssodapciide*		at pci ? dev ? function ? flags 0x0000
2541.9Ssodawd*		at pciide? channel ? drive ? flags 0x0000
2551.9Ssodaatapibus*	at pciide? channel ?
2561.9Ssoda
2571.9Ssodatga*		at pci? dev ? function ?	# DEC ZLXp-E[123] Graphics
2581.9Ssodaahc*		at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
2591.9Ssodascsibus*	at ahc?
2601.9Ssoda
2611.4Ssoda#### SCSI bus devices
2621.1Ssoda
2631.1Ssodasd*		at scsibus? target ? lun ?
2641.1Ssodast*		at scsibus? target ? lun ?
2651.1Ssodacd*		at scsibus? target ? lun ?
2661.4Ssodach*		at scsibus? target ? lun ?
2671.4Ssodass*		at scsibus? target ? lun ?
2681.4Ssodauk*		at scsibus? target ? lun ?
2691.9Ssoda
2701.9Ssoda#### ATAPI bus devices
2711.9Ssoda
2721.9Ssoda# flags have the same meaning as for IDE drives.
2731.9Ssodacd*		at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
2741.9Ssodasd*		at atapibus? drive ? flags 0x0000	# ATAPI disk drives
2751.9Ssodauk*		at atapibus? drive ? flags 0x0000	# ATAPI unknown
2761.9Ssoda
2771.9Ssoda#### Workstation Console attachments
2781.9Ssoda
2791.9Ssodawsdisplay*	at vga?
2801.9Ssoda#wsdisplay*	at tga?
2811.9Ssodapckbd*		at pckbc?	# PC keyboard (kbd port)
2821.9Ssodawskbd*		at pckbd?
2831.9Ssodapms*		at pckbc?	# PS/2-style mouse (aux port)
2841.9Ssodawsmouse*	at pms?
2851.9Ssoda#pmsi*		at pckbc?	# PS/2 "Intelli"mouse (aux port)
2861.9Ssoda#wsmouse*	at pmsi?
2871.4Ssoda
2881.4Ssoda#### Pseudo devices
2891.4Ssoda
2901.4Ssoda# disk/mass storage pseudo-devices
2911.4Ssodapseudo-device	ccd		4	# concatenated/striped disk devices
2921.4Ssoda#pseudo-device	raid		4	# RAIDframe disk driver
2931.4Ssodapseudo-device	md		1	# memory disk device (ramdisk)
2941.4Ssodapseudo-device	vnd		4	# disk-like interface to files
2951.4Ssoda
2961.4Ssoda# network pseudo-devices
2971.4Ssodapseudo-device	bpfilter	8	# Berkeley packet filter
2981.4Ssodapseudo-device	ipfilter		# IP filter (firewall) and NAT
2991.4Ssodapseudo-device	loop		1	# network loopback
3001.4Ssodapseudo-device	ppp		2	# Point-to-Point Protocol
3011.4Ssodapseudo-device	sl		2	# Serial Line IP
3021.4Ssoda#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
3031.4Ssodapseudo-device	tun		2	# network tunneling over tty
3041.4Ssoda#pseudo-device	gre		2	# generic L3 over IP tunnel
3051.4Ssodapseudo-device	ipip		2	# IP Encapsulation within IP (RFC 2003)
3061.4Ssodapseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
3071.4Ssoda#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
3081.1Ssoda
3091.4Ssoda# miscellaneous pseudo-devices
3101.11Sjdolecekpseudo-device	pty			# pseudo-terminals
3111.4Ssoda#pseudo-device	tb		1	# tablet line discipline
3121.4Ssoda#pseudo-device	sequencer	1	# MIDI sequencer
3131.4Ssoda# rnd works; RND_COM does not on port arc yet.
3141.4Ssodapseudo-device	rnd			# /dev/random and in-kernel generator
3151.4Ssoda#options 	RND_COM			# use "com" randomness as well (BROKEN)
3161.1Ssoda
3171.4Ssoda# a pseudo device needed for Coda	# also needs CODA (above)
3181.4Ssoda#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
3191.1Ssoda
3201.4Ssoda# mouse & keyboard multiplexor pseudo-devices
3211.4Ssoda#pseudo-device	wsmux		2
322