MERAKI revision 1.13
11.13Smatt#	$NetBSD: MERAKI,v 1.13 2011/02/20 07:48:33 matt Exp $
21.1Sgdamore
31.1Sgdamoreinclude 	"arch/evbmips/conf/std.meraki"
41.1Sgdamore
51.1Sgdamore#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
61.1Sgdamore
71.13Smatt#ident 		"MERAKI-$Revision: 1.13 $"
81.1Sgdamore
91.1Sgdamoremaxusers	32
101.1Sgdamore
111.1Sgdamoremakeoptions	COPTS="-Os"		# Optimise for space. Implies -O2
121.1Sgdamoremakeoptions	ATH_MACHINE_HAL=ap51
131.1Sgdamore
141.1Sgdamoreoptions 	MIPS32
151.1Sgdamoreoptions 	NOFPU		# No FPU
161.13Smattoptions 	FPEMUL		# emulate FPU insn
171.1Sgdamoreoptions		WISOC_AR5315	# WiSoc select
181.1Sgdamore
191.1Sgdamore# Options for necessary to use MD
201.1Sgdamore#options 	MEMORY_DISK_HOOKS
211.1Sgdamore#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
221.1Sgdamore#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
231.1Sgdamore#options 	MEMORY_DISK_ROOT_SIZE=6144	# size of memory disk, in blocks
241.1Sgdamore#options 	MEMORY_DISK_ROOT_SIZE=16384	# size of memory disk, in blocks
251.1Sgdamore#options		MEMORY_DISK_ROOT_SIZE=7300
261.1Sgdamore
271.1Sgdamore# Size reduction options
281.1Sgdamoreoptions 	VNODE_OP_NOINLINE
291.1Sgdamoreoptions		PIPE_SOCKETPAIR
301.1Sgdamoreoptions		SOSEND_NO_LOAN
311.1Sgdamore
321.1Sgdamore# Standard system options
331.1Sgdamore#options 	KTRACE		# system call tracing support
341.1Sgdamore#options 	SYSVMSG		# System V message queues
351.1Sgdamore#options 	SYSVSEM		# System V semaphores
361.1Sgdamore#options 	SYSVSHM		# System V shared memory
371.1Sgdamoreoptions 	NTP		# network time protocol
381.1Sgdamore
391.1Sgdamore# Debugging options
401.1Sgdamoreoptions 	DIAGNOSTIC	# extra kernel sanity checking
411.1Sgdamore#options 	DEBUG		# extra kernel debugging support
421.1Sgdamore#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
431.1Sgdamore#options 	USERCONF	# userconf(4) support
441.1Sgdamore#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
451.1Sgdamoreoptions 	DDB		# kernel dynamic debugger
461.1Sgdamoreoptions 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
471.1Sgdamoremakeoptions 	DEBUG="-g"	# compile full symbol table
481.13Smattoptions 	SYMTAB_SPACE=300000	# size for embedded symbol table
491.1Sgdamore
501.1Sgdamore# Compatibility options
511.1Sgdamore#options 	COMPAT_43	# compatibility with 4.3BSD binaries
521.1Sgdamore#options 	COMPAT_09	# NetBSD 0.9 binary compatibility
531.1Sgdamore#options 	COMPAT_10	# NetBSD 1.0 binary compatibility
541.1Sgdamore#options 	COMPAT_11	# NetBSD 1.1 binary compatibility
551.1Sgdamore#options 	COMPAT_12	# NetBSD 1.2 binary compatibility
561.1Sgdamore#options 	COMPAT_13	# NetBSD 1.3 binary compatibility
571.1Sgdamore#options 	COMPAT_14	# NetBSD 1.4 binary compatibility
581.1Sgdamore#options 	COMPAT_16	# NetBSD 1.6 binary compatibility
591.1Sgdamore#options 	COMPAT_20	# NetBSD 2.0 binary compatibility
601.1Sgdamore#options 	COMPAT_30	# NetBSD 3.0 compatibility.
611.5Stsutsui#options 	COMPAT_40	# NetBSD 4.0 compatibility.
621.1Sgdamore#options 	EXEC_ECOFF	# exec ECOFF binaries
631.1Sgdamore#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
641.1Sgdamore#options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
651.1Sgdamore
661.1Sgdamore# File systems
671.1Sgdamorefile-system	FFS		# Berkeley Fast Filesystem
681.1Sgdamorefile-system	MFS		# memory-based filesystem
691.1Sgdamore#file-system 	EXT2FS		# second extended file system (linux)
701.1Sgdamorefile-system	NFS		# Sun NFS-compatible filesystem client
711.1Sgdamore#file-system	KERNFS		# kernel data-structure filesystem
721.1Sgdamore#file-system	NULLFS		# NULL layered filesystem
731.1Sgdamore#file-system 	OVERLAY		# overlay file system
741.1Sgdamore#file-system	FDESC		# user file descriptor filesystem
751.1Sgdamore#file-system	UMAPFS		# uid/gid remapping filesystem
761.1Sgdamore#file-system	LFS		# Log-based filesystem (still experimental)
771.1Sgdamore#file-system	PROCFS		# /proc
781.1Sgdamore#file-system	CD9660		# ISO 9660 + Rock Ridge file system
791.1Sgdamore#file-system	UNION		# union file system
801.1Sgdamore#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
811.1Sgdamore#file-system 	CODA		# Coda File System; also needs vcoda (below)
821.1Sgdamore#file-system	PTYFS		# /dev/pts/N support
831.1Sgdamore
841.1Sgdamore# File system options
851.1Sgdamore#options 	NFSSERVER	# Sun NFS-compatible filesystem server
861.1Sgdamore#options 	QUOTA		# FFS quotas
871.1Sgdamore#options 	FFS_EI		# FFS Endian Independant support
881.6Ssimonboptions 	WAPBL		# File system journaling support - Experimental
891.1Sgdamoreoptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
901.1Sgdamore#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
911.1Sgdamore				# immutable) behave as system flags.
921.1Sgdamore
931.1Sgdamore# Networking options
941.1Sgdamore#options 	GATEWAY		# IP packet forwarding
951.1Sgdamoreoptions 	INET		# Internet protocols
961.1Sgdamore#options 	INET6		# IPV6
971.1Sgdamore#options 	IPSEC		# IP security
981.1Sgdamore#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
991.1Sgdamore#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
1001.1Sgdamore#options 	IPSEC_DEBUG	# debug for IP security
1011.1Sgdamore#options 	MROUTING	# packet forwarding of multicast packets
1021.1Sgdamore#options 	PIM		# Protocol Independent Multicast
1031.1Sgdamore#options 	NS		# Xerox NS networking
1041.1Sgdamore#options 	NSIP		# Xerox NS tunneling over IP
1051.1Sgdamore#options 	ISO,TPIP	# OSI networking
1061.1Sgdamore#options 	EON		# OSI tunneling over IP
1071.1Sgdamore#options 	CCITT,LLC,HDLC	# X.25
1081.1Sgdamore#options 	NETATALK	# AppleTalk (over Ethernet) protocol
1091.1Sgdamore#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1101.1Sgdamore#options 	PPP_DEFLATE	# Deflate compression support for PPP
1111.1Sgdamore#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1121.1Sgdamore#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1131.1Sgdamore#options 	IPFILTER_LOG	# ipmon(8) log support
1141.1Sgdamore
1151.1Sgdamore# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
1161.1Sgdamore#options 	TCP_COMPAT_42
1171.1Sgdamore
1181.1Sgdamore# These options enable verbose messages for several subsystems.
1191.1Sgdamore# Warning, these may compile large string tables into the kernel!
1201.1Sgdamoreoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1211.1Sgdamore
1221.1Sgdamore# Bitmask for enabling the PCI IDE channels in the southbridge.
1231.1Sgdamore# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1.
1241.1Sgdamore#
1251.1Sgdamore# Do this if your firmware (usually PMON and YAMON) doens't enable the IDE
1261.1Sgdamore# channels for you (thus causing the NetBSD `pciide' driver to ignore them).
1271.1Sgdamore#options 	PCI_NETBSD_ENABLE_IDE=0x1
1281.1Sgdamore
1291.1Sgdamoreoptions 	NFS_BOOT_DHCP
1301.1Sgdamoreoptions		NFS_V2_ONLY
1311.1Sgdamore
1321.1Sgdamoreconfig		netbsd	root on ? type ?
1331.1Sgdamore
1341.1Sgdamore
1351.1Sgdamoremainbus0 	at root
1361.1Sgdamorecpu0 		at mainbus?
1371.1Sgdamorewdog0		at mainbus?
1381.1Sgdamorearbus0		at mainbus?
1391.1Sgdamore
1401.1Sgdamorecom*		at arbus? addr ?
1411.1Sgdamoreae*		at arbus? addr ?
1421.1Sgdamoreath*		at arbus? addr ?
1431.1Sgdamore#athflash*	at arbus? addr ?
1441.1Sgdamoreargpio*		at arbus? addr ?
1451.1Sgdamoregpio*		at argpio?
1461.1Sgdamore
1471.3Sgdamore# SPI Flash 
1481.3Sgdamorearspi*		at arbus? addr ?
1491.3Sgdamorespi*		at arspi?
1501.3Sgdamorespiflash*	at spiflashbus?
1511.3Sgdamorem25p*		at spi? slave 0
1521.3Sgdamore
1531.1Sgdamore# no RTC!  so fake with a stub (required to prevent evbmips panic)
1541.1Sgdamore
1551.1Sgdamore
1561.1Sgdamore# MII/PHY support
1571.1Sgdamore#acphy*		at mii? phy ?		# DAltima AC101 and AMD Am79c874 PHYs
1581.1Sgdamore#amhphy* 	at mii? phy ?		# AMD 79c901 Ethernet PHYs
1591.1Sgdamore#dmphy*		at mii? phy ?		# Davicom DM9101 PHYs
1601.1Sgdamore#glxtphy*	at mii? phy ?		# Level One LXT-1000 PHYs
1611.1Sgdamore#gphyter*	at mii? phy ?		# NS83861 Gig-E PHY
1621.1Sgdamore#icsphy* 	at mii? phy ?		# Integrated Circuit Systems ICS1890
1631.1Sgdamore#lxtphy* 	at mii? phy ?		# Level One LXT-970 PHYs
1641.1Sgdamore#makphy* 	at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
1651.1Sgdamore#nsphy*		at mii? phy ?		# NS83840 PHYs
1661.1Sgdamore#nsphyter*	at mii? phy ?		# NS83843 PHYs
1671.1Sgdamore#pnaphy* 	at mii? phy ?		# generic HomePNA PHYs
1681.1Sgdamore#qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
1691.1Sgdamore#sqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
1701.1Sgdamore#tlphy*		at mii? phy ?		# ThunderLAN PHYs
1711.1Sgdamore#tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
1721.1Sgdamorerlphy*		at mii? phy ?		# RealTek PHYs
1731.1Sgdamoreukphy*		at mii? phy ?		# generic unknown PHYs
1741.1Sgdamore
1751.1Sgdamore
1761.1Sgdamore# Pseudo-devices
1771.1Sgdamore
1781.1Sgdamore# Disk/mass storage pseudo-devices
1791.1Sgdamore#pseudo-device	ccd		4		# concatenated disk devices
1801.1Sgdamore#pseudo-device	raid		4		# RAIDframe disk driver
1811.11Spooka#pseudo-device	fss				# file system snapshot device
1821.12Shannken#pseudo-device	md				# memory disk device (ramdisk)
1831.1Sgdamore#pseudo-device	vnd				# disk-like interface to files
1841.1Sgdamore
1851.1Sgdamore# Network pseudo-devices
1861.1Sgdamorepseudo-device	bpfilter			# Berkeley packet filter
1871.1Sgdamore#pseudo-device	ipfilter			# IP filter (firewall) and NAT
1881.1Sgdamorepseudo-device	loop				# network loopback
1891.1Sgdamore#pseudo-device	ppp				# Point-to-Point Protocol
1901.1Sgdamore#pseudo-device	sl				# Serial Line IP
1911.1Sgdamore#pseudo-device	strip				# Starmode Radio IP (Metricom)
1921.1Sgdamore#pseudo-device	tun				# network tunneling over tty
1931.1Sgdamore#pseudo-device	tap				# virtual Ethernet
1941.1Sgdamore#pseudo-device	gre				# generic L3 over IP tunnel
1951.1Sgdamore#pseudo-device	ipip		2		# RFC 2003 IP Encapsulation
1961.1Sgdamore#pseudo-device	gif				# RFC1933 tunnel
1971.1Sgdamore#pseudo-device	faith				# IPv[46] tcp relay translation
1981.1Sgdamore#pseudo-device	stf				# 6to4 IPv6 over IPv4 encapsulation
1991.1Sgdamore#pseudo-device	vlan				# IEEE 802.1q encapsulation
2001.1Sgdamore#pseudo-device	bridge				# simple inter-network bridging
2011.1Sgdamore
2021.1Sgdamore# Miscellaneous pseudo-devices
2031.1Sgdamorepseudo-device	pty				# pseudo-terminals
2041.1Sgdamorepseudo-device	rnd				# /dev/random & kernel generator
2051.1Sgdamorepseudo-device	clockctl			# user control of clock subsystem
2061.1Sgdamorepseudo-device	ksyms				# /dev/ksyms
2071.1Sgdamore
2081.1Sgdamore# A pseudo device needed for Coda		# also needs CODA (above)
2091.1Sgdamore#pseudo-device	vcoda		4		# coda minicache <-> venus comm.
210