RAMDISK revision 1.9
11.9Ssoda#	$NetBSD: RAMDISK,v 1.9 2000/06/17 07:29:07 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.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.4Ssoda
1141.4Ssoda# Kernel root file system and dump configuration.
1151.4Ssodaoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1161.4Ssodaconfig		netbsd	root on ? type ?
1171.1Ssoda
1181.1Ssoda#
1191.4Ssoda# Device configuration
1201.1Ssoda#
1211.4Ssoda
1221.1Ssodamainbus0	at root
1231.1Ssodacpu*		at mainbus0
1241.1Ssoda
1251.4Ssoda#### Pica bus devices
1261.1Ssoda
1271.1Ssodapica*		at mainbus0	# ACER Pica systems local bus.
1281.4Ssodaaclock0 	at pica?
1291.9Ssoda#pc0		at pica?
1301.9Ssoda#opms0		at pica?
1311.9Ssodavga0		at pica?	# Jazz localbus VGA
1321.9Ssodapckbc0		at pica?	# PC keyboard controller
1331.1Ssodacom0		at pica?
1341.1Ssodacom1		at pica?
1351.1Ssodalpt0		at pica?
1361.1Ssodasn0		at pica?
1371.1Ssoda
1381.1Ssodafdc0		at pica?
1391.1Ssodafd*		at fdc? drive ?
1401.1Ssoda
1411.1Ssodaasc0		at pica?
1421.1Ssodascsibus* 	at asc?
1431.1Ssoda
1441.9Ssoda#siop0		at pica?
1451.9Ssoda#scsibus* 	at siop?
1461.9Ssoda
1471.4Ssoda#### ISA bus devices
1481.1Ssoda
1491.4Ssodaisabr*		at mainbus0	# ISA Bus bridge (std ISA bus).
1501.1Ssodaisa*		at isabr?
1511.4Ssoda#isadma0 	at isa?
1521.1Ssoda
1531.4Ssodaaclock0 	at isa? port 0x70 irq 0
1541.1Ssoda
1551.3Ssodapc0		at isa? port 0x60 irq 1		# generic PC console device
1561.9Ssoda#vga0		at isa?
1571.9Ssoda#pckbc0		at isa?				# PC keyboard controller
1581.1Ssodacom0		at isa? port 0x3f8 irq 4
1591.1Ssodacom1		at isa? port 0x2f8 irq 3
1601.1Ssodacom2		at isa? port 0x3e8 irq 4
1611.1Ssodacom3		at isa? port 0x2e8 irq 3
1621.4Ssodaast0		at isa? port 0x1a0 irq 3	# AST 4-port serial cards
1631.4Ssodacom*		at ast? slave ?
1641.4Ssoda
1651.4Ssoda# Joystick driver. Probe is a little strange; add only if you have one.
1661.4Ssoda#joy0		at isa? port 0x201
1671.1Ssoda
1681.2Ssoda# ISA ST506, ESDI, and IDE controllers
1691.2Ssoda# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
1701.2Ssoda# fall back to 16bits I/O if 32bits I/O are not functional).
1711.2Ssoda# Some controllers pass the initial 32bit test, but will fail later.
1721.4Ssoda# XXX - should be configured
1731.4Ssoda#wdc0		at isa? port 0x1f0 irq 14 flags 0x00
1741.4Ssoda#wdc1		at isa? port 0x170 irq 15 flags 0x00
1751.4Ssoda#wdc*		at isapnp?
1761.2Ssoda
1771.2Ssoda# IDE drives
1781.2Ssoda# Flags are used only with controllers that support DMA operations
1791.2Ssoda# and mode settings (e.g. some pciide controllers)
1801.2Ssoda# The lowest order four bits (rightmost digit) of the flags define the PIO
1811.2Ssoda# mode to use, the next set of four bits the DMA mode and the third set the
1821.2Ssoda# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
1831.2Ssoda# to use, and the last bit must be 1 for this setting to be used.
1841.2Ssoda# For DMA and UDMA, 0xf (1111) means 'disable'.
1851.2Ssoda# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
1861.2Ssoda# (0xc=1100, 0xa=1010, 0xf=1111)
1871.2Ssoda# 0x0000 means "use whatever the drive claims to support".
1881.4Ssoda# XXX - should be configured
1891.4Ssoda#wd*		at wdc? channel ? drive ? flags 0x0000
1901.2Ssoda
1911.2Ssoda# ATAPI bus support
1921.4Ssoda# XXX - should be configured
1931.4Ssoda#atapibus*	at wdc? channel ?
1941.2Ssoda
1951.4Ssoda# ISA parallel printer interfaces
1961.1Ssodalpt0		at isa? port 0x378 irq 7
1971.1Ssoda
1981.4Ssoda# ISA network interfaces
1991.4Ssoda# XXX - should be configured
2001.4Ssoda#ec0		at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
2011.4Ssoda#ep0		at isa? port ? irq ?		# 3C509 ethernet cards
2021.4Ssoda#ne0		at isa? port 0x280 irq 9	# NE[12]000 ethernet cards
2031.4Ssoda#ne1		at isa? port 0x300 irq 10
2041.4Ssoda#ne*		at isapnp?			# NE[12]000 PnP ethernet
2051.4Ssoda#we0		at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
2061.4Ssoda#we1		at isa? port 0x300 iomem 0xcc000 irq 10
2071.4Ssoda#we*		at isapnp?
2081.4Ssoda
2091.4Ssoda# XXX - should be configured
2101.4Ssoda#btl0		at isa? port 0x330 irq ? drq ?
2111.4Ssoda#scsibus*	at btl?
2121.4Ssoda
2131.4Ssoda#### Algor bus devices
2141.4Ssoda
2151.4Ssoda#algor*		at mainbus0	# Algorithmics local bus.
2161.4Ssoda
2171.4Ssoda#aclock0 	at algor?
2181.4Ssoda#com0		at algor?
2191.4Ssoda#com1		at algor?
2201.4Ssoda#lpt0		at algor?
2211.4Ssoda
2221.4Ssoda#### PCI bus devices
2231.4Ssoda
2241.9Ssodanecpb*		at mainbus0	# NEC RISCstation PCI host bridge.
2251.9Ssodapci*		at necpb?
2261.9Ssoda
2271.4Ssoda#pbcpcibr*	at mainbus0	# Algorithmics PCI bus bridge.
2281.4Ssoda#pci*		at pbcpcibr?
2291.4Ssoda
2301.4Ssoda#pcivga* 	at pci? dev ? function ?
2311.7Ssoren#siop*		at pci? dev ? function ?
2321.7Ssoren#scsibus* 	at siop?
2331.4Ssoda#de*		at pci? dev ? function ?
2341.1Ssoda
2351.9Ssodaex*		at pci? dev ? function ?	# 3Com 90x[B]
2361.9Ssodafxp*		at pci? dev ? function ?	# Intel EtherExpress PRO
2371.9Ssodale*		at pci? dev ? function ?	# PCnet-PCI
2381.9Ssodane*		at pci? dev ? function ?	# NE2000-compatible
2391.9Ssodatlp*		at pci? dev ? function ?	# DECchip 21x4x (and clones)
2401.9Ssoda#options 	TLP_MATCH_21040
2411.9Ssoda#options 	TLP_MATCH_21041
2421.9Ssoda#options 	TLP_MATCH_21140
2431.9Ssoda#options 	TLP_MATCH_21142
2441.9Ssoda
2451.9Ssoda# IDE and related devices
2461.9Ssoda# PCI IDE controllers - see pciide(4) for supported hardware.
2471.9Ssoda# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
2481.9Ssoda# how to set up DMA modes for this chip. This may work, or may cause
2491.9Ssoda# a machine hang with some controllers.
2501.9Ssodapciide*		at pci ? dev ? function ? flags 0x0000
2511.9Ssodawd*		at pciide? channel ? drive ? flags 0x0000
2521.9Ssodaatapibus*	at pciide? channel ?
2531.9Ssoda
2541.9Ssodatga*		at pci? dev ? function ?	# DEC ZLXp-E[123] Graphics
2551.9Ssodaahc*		at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
2561.9Ssodascsibus*	at ahc?
2571.9Ssoda
2581.4Ssoda#### SCSI bus devices
2591.1Ssoda
2601.1Ssodasd*		at scsibus? target ? lun ?
2611.1Ssodast*		at scsibus? target ? lun ?
2621.1Ssodacd*		at scsibus? target ? lun ?
2631.4Ssodach*		at scsibus? target ? lun ?
2641.4Ssodass*		at scsibus? target ? lun ?
2651.4Ssodauk*		at scsibus? target ? lun ?
2661.9Ssoda
2671.9Ssoda#### ATAPI bus devices
2681.9Ssoda
2691.9Ssoda# flags have the same meaning as for IDE drives.
2701.9Ssodacd*		at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
2711.9Ssodasd*		at atapibus? drive ? flags 0x0000	# ATAPI disk drives
2721.9Ssodauk*		at atapibus? drive ? flags 0x0000	# ATAPI unknown
2731.9Ssoda
2741.9Ssoda#### Workstation Console attachments
2751.9Ssoda
2761.9Ssodawsdisplay*	at vga?
2771.9Ssoda#wsdisplay*	at tga?
2781.9Ssodapckbd*		at pckbc?	# PC keyboard (kbd port)
2791.9Ssodawskbd*		at pckbd?
2801.9Ssodapms*		at pckbc?	# PS/2-style mouse (aux port)
2811.9Ssodawsmouse*	at pms?
2821.9Ssoda#pmsi*		at pckbc?	# PS/2 "Intelli"mouse (aux port)
2831.9Ssoda#wsmouse*	at pmsi?
2841.4Ssoda
2851.4Ssoda#### Pseudo devices
2861.4Ssoda
2871.4Ssoda# disk/mass storage pseudo-devices
2881.4Ssodapseudo-device	ccd		4	# concatenated/striped disk devices
2891.4Ssoda#pseudo-device	raid		4	# RAIDframe disk driver
2901.4Ssodapseudo-device	md		1	# memory disk device (ramdisk)
2911.4Ssodapseudo-device	vnd		4	# disk-like interface to files
2921.4Ssoda
2931.4Ssoda# network pseudo-devices
2941.4Ssodapseudo-device	bpfilter	8	# Berkeley packet filter
2951.4Ssodapseudo-device	ipfilter		# IP filter (firewall) and NAT
2961.4Ssodapseudo-device	loop		1	# network loopback
2971.4Ssodapseudo-device	ppp		2	# Point-to-Point Protocol
2981.4Ssodapseudo-device	sl		2	# Serial Line IP
2991.4Ssoda#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
3001.4Ssodapseudo-device	tun		2	# network tunneling over tty
3011.4Ssoda#pseudo-device	gre		2	# generic L3 over IP tunnel
3021.4Ssodapseudo-device	ipip		2	# IP Encapsulation within IP (RFC 2003)
3031.4Ssodapseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
3041.4Ssoda#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
3051.1Ssoda
3061.4Ssoda# miscellaneous pseudo-devices
3071.4Ssodapseudo-device	pty		64	# pseudo-terminals
3081.4Ssoda#pseudo-device	tb		1	# tablet line discipline
3091.4Ssoda#pseudo-device	sequencer	1	# MIDI sequencer
3101.4Ssoda# rnd works; RND_COM does not on port arc yet.
3111.4Ssodapseudo-device	rnd			# /dev/random and in-kernel generator
3121.4Ssoda#options 	RND_COM			# use "com" randomness as well (BROKEN)
3131.1Ssoda
3141.4Ssoda# a pseudo device needed for Coda	# also needs CODA (above)
3151.4Ssoda#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
3161.1Ssoda
3171.4Ssoda# mouse & keyboard multiplexor pseudo-devices
3181.4Ssoda#pseudo-device	wsmux		2
319