WGT624V3 revision 1.3
11.3Ssimonb#	$NetBSD: WGT624V3,v 1.3 2008/07/31 07:41:00 simonb Exp $
21.1Sjmcneill
31.1Sjmcneillinclude 	"arch/evbmips/conf/std.atheros"
41.1Sjmcneill
51.1Sjmcneill#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
61.1Sjmcneill
71.3Ssimonb#ident 		"AP30-$Revision: 1.3 $"
81.1Sjmcneill
91.1Sjmcneillmaxusers	32
101.1Sjmcneill
111.1Sjmcneillmakeoptions	COPTS="-Os"		# Optimise for space. Implies -O2
121.1Sjmcneillmakeoptions	ATH_MACHINE_HAL=ap51
131.1Sjmcneill
141.1Sjmcneilloptions 	MIPS32
151.1Sjmcneilloptions 	NOFPU		# No FPU
161.1Sjmcneilloptions 	SOFTFLOAT	# emulate FPU insn
171.1Sjmcneilloptions		WISOC_AR5315	# WiSoC select
181.1Sjmcneilloptions		COM_ARBUS_BAUD=9600
191.1Sjmcneill
201.1Sjmcneill# Options for necessary to use MD
211.1Sjmcneill#options 	MEMORY_DISK_HOOKS
221.1Sjmcneill#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
231.1Sjmcneill#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
241.1Sjmcneill#options 	MEMORY_DISK_ROOT_SIZE=6144	# size of memory disk, in blocks
251.1Sjmcneill#options 	MEMORY_DISK_ROOT_SIZE=16384	# size of memory disk, in blocks
261.1Sjmcneill#options		MEMORY_DISK_ROOT_SIZE=7300
271.1Sjmcneill
281.1Sjmcneill# Size reduction options
291.1Sjmcneilloptions 	VNODE_OP_NOINLINE
301.1Sjmcneilloptions		PIPE_SOCKETPAIR
311.1Sjmcneilloptions		SOSEND_NO_LOAN
321.1Sjmcneill
331.1Sjmcneill# Standard system options
341.1Sjmcneill#options 	KTRACE		# system call tracing support
351.1Sjmcneill#options 	SYSVMSG		# System V message queues
361.1Sjmcneill#options 	SYSVSEM		# System V semaphores
371.1Sjmcneill#options 	SYSVSHM		# System V shared memory
381.1Sjmcneill#options 	SHMMAXPGS=1024	# 1024 pages is the default
391.1Sjmcneill#options 	LKM		# loadable kernel modules
401.1Sjmcneilloptions 	NTP		# network time protocol
411.1Sjmcneill
421.1Sjmcneill# Debugging options
431.1Sjmcneilloptions 	DIAGNOSTIC	# extra kernel sanity checking
441.1Sjmcneill#options 	DEBUG		# extra kernel debugging support
451.1Sjmcneill#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
461.1Sjmcneill#options 	USERCONF	# userconf(4) support
471.1Sjmcneill#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
481.1Sjmcneilloptions 	DDB		# kernel dynamic debugger
491.1Sjmcneilloptions 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
501.1Sjmcneillmakeoptions 	DEBUG="-g"	# compile full symbol table
511.1Sjmcneilloptions 	SYMTAB_SPACE=150000	# size for embedded symbol table
521.1Sjmcneill
531.1Sjmcneill# Compatibility options
541.1Sjmcneill#options 	COMPAT_43	# compatibility with 4.3BSD binaries
551.1Sjmcneill#options 	COMPAT_09	# NetBSD 0.9 binary compatibility
561.1Sjmcneill#options 	COMPAT_10	# NetBSD 1.0 binary compatibility
571.1Sjmcneill#options 	COMPAT_11	# NetBSD 1.1 binary compatibility
581.1Sjmcneill#options 	COMPAT_12	# NetBSD 1.2 binary compatibility
591.1Sjmcneill#options 	COMPAT_13	# NetBSD 1.3 binary compatibility
601.1Sjmcneill#options 	COMPAT_14	# NetBSD 1.4 binary compatibility
611.1Sjmcneill#options 	COMPAT_15	# NetBSD 1.5 binary compatibility
621.1Sjmcneill#options 	COMPAT_16	# NetBSD 1.6 binary compatibility
631.1Sjmcneill#options 	COMPAT_20	# NetBSD 2.0 binary compatibility
641.1Sjmcneill#options 	COMPAT_30	# NetBSD 3.0 compatibility.
651.2Stsutsui#options 	COMPAT_40	# NetBSD 4.0 compatibility.
661.1Sjmcneill#options 	EXEC_ECOFF	# exec ECOFF binaries
671.1Sjmcneill#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
681.1Sjmcneill#options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
691.1Sjmcneill
701.1Sjmcneill# File systems
711.1Sjmcneillfile-system	FFS		# Berkeley Fast Filesystem
721.1Sjmcneillfile-system	MFS		# memory-based filesystem
731.1Sjmcneill#file-system 	EXT2FS		# second extended file system (linux)
741.1Sjmcneillfile-system	NFS		# Sun NFS-compatible filesystem client
751.1Sjmcneill#file-system	KERNFS		# kernel data-structure filesystem
761.1Sjmcneill#file-system	NULLFS		# NULL layered filesystem
771.1Sjmcneill#file-system 	OVERLAY		# overlay file system
781.1Sjmcneill#file-system	FDESC		# user file descriptor filesystem
791.1Sjmcneill#file-system	UMAPFS		# uid/gid remapping filesystem
801.1Sjmcneill#file-system	LFS		# Log-based filesystem (still experimental)
811.1Sjmcneill#file-system	PORTAL		# portal filesystem (still experimental)
821.1Sjmcneill#file-system	PROCFS		# /proc
831.1Sjmcneill#file-system	CD9660		# ISO 9660 + Rock Ridge file system
841.1Sjmcneill#file-system	UNION		# union file system
851.1Sjmcneill#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
861.1Sjmcneill#file-system 	CODA		# Coda File System; also needs vcoda (below)
871.1Sjmcneill#file-system	PTYFS		# /dev/pts/N support
881.1Sjmcneill
891.1Sjmcneill# File system options
901.1Sjmcneill#options 	NFSSERVER	# Sun NFS-compatible filesystem server
911.1Sjmcneill#options 	QUOTA		# FFS quotas
921.1Sjmcneill#options 	FFS_EI		# FFS Endian Independant support
931.1Sjmcneill#options 	SOFTDEP		# FFS soft updates support.
941.3Ssimonboptions 	WAPBL		# File system journaling support - Experimental
951.1Sjmcneilloptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
961.1Sjmcneill#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
971.1Sjmcneill				# immutable) behave as system flags.
981.1Sjmcneill
991.1Sjmcneill# Networking options
1001.1Sjmcneill#options 	GATEWAY		# IP packet forwarding
1011.1Sjmcneilloptions 	INET		# Internet protocols
1021.1Sjmcneill#options 	INET6		# IPV6
1031.1Sjmcneill#options 	IPSEC		# IP security
1041.1Sjmcneill#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1051.1Sjmcneill#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
1061.1Sjmcneill#options 	IPSEC_DEBUG	# debug for IP security
1071.1Sjmcneill#options 	MROUTING	# packet forwarding of multicast packets
1081.1Sjmcneill#options 	PIM		# Protocol Independent Multicast
1091.1Sjmcneill#options 	ISO,TPIP	# OSI networking
1101.1Sjmcneill#options 	EON		# OSI tunneling over IP
1111.1Sjmcneill#options 	NETATALK	# AppleTalk (over Ethernet) protocol
1121.1Sjmcneill#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1131.1Sjmcneill#options 	PPP_DEFLATE	# Deflate compression support for PPP
1141.1Sjmcneill#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1151.1Sjmcneill#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1161.1Sjmcneill#options 	IPFILTER_LOG	# ipmon(8) log support
1171.1Sjmcneill#options 	IPFILTER_LOOKUP	# ippool(8) support
1181.1Sjmcneill
1191.1Sjmcneill# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
1201.1Sjmcneill#options 	TCP_COMPAT_42
1211.1Sjmcneill
1221.1Sjmcneill# These options enable verbose messages for several subsystems.
1231.1Sjmcneill# Warning, these may compile large string tables into the kernel!
1241.1Sjmcneilloptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1251.1Sjmcneill
1261.1Sjmcneill# Bitmask for enabling the PCI IDE channels in the southbridge.
1271.1Sjmcneill# Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1.
1281.1Sjmcneill#
1291.1Sjmcneill# Do this if your firmware (usually PMON and YAMON) doens't enable the IDE
1301.1Sjmcneill# channels for you (thus causing the NetBSD `pciide' driver to ignore them).
1311.1Sjmcneill#options 	PCI_NETBSD_ENABLE_IDE=0x1
1321.1Sjmcneill
1331.1Sjmcneilloptions 	NFS_BOOT_DHCP
1341.1Sjmcneilloptions		NFS_V2_ONLY
1351.1Sjmcneill
1361.1Sjmcneill#config		netbsd	root on ? type ?
1371.1Sjmcneillconfig		netbsd	root on ae0 type nfs
1381.1Sjmcneill
1391.1Sjmcneill
1401.1Sjmcneillmainbus0 	at root
1411.1Sjmcneillcpu0 		at mainbus?
1421.1Sjmcneillwdog0		at mainbus?
1431.1Sjmcneillarbus0		at mainbus?
1441.1Sjmcneill
1451.1Sjmcneillcom*		at arbus? addr ?
1461.1Sjmcneillae*		at arbus? addr ?
1471.1Sjmcneillath*		at arbus? addr ?
1481.1Sjmcneillathflash*	at arbus? addr ?
1491.1Sjmcneillargpio*		at arbus? addr ?
1501.1Sjmcneillgpio*		at argpio?
1511.1Sjmcneill
1521.1Sjmcneill# no RTC!  so fake with a stub (required to prevent evbmips panic)
1531.1Sjmcneill
1541.1Sjmcneill
1551.1Sjmcneill# MII/PHY support
1561.1Sjmcneillmvphy*		at mii? phy ?
1571.1Sjmcneill
1581.1Sjmcneill
1591.1Sjmcneill# Pseudo-devices
1601.1Sjmcneill
1611.1Sjmcneill# Disk/mass storage pseudo-devices
1621.1Sjmcneill#pseudo-device	ccd		4		# concatenated disk devices
1631.1Sjmcneill#pseudo-device	raid		4		# RAIDframe disk driver
1641.1Sjmcneill#pseudo-device	fss		4		# file system snapshot device
1651.1Sjmcneill#pseudo-device	md		1		# memory disk device (ramdisk)
1661.1Sjmcneill#pseudo-device	vnd				# disk-like interface to files
1671.1Sjmcneill
1681.1Sjmcneill# Network pseudo-devices
1691.1Sjmcneillpseudo-device	bpfilter			# Berkeley packet filter
1701.1Sjmcneill#pseudo-device	ipfilter			# IP filter (firewall) and NAT
1711.1Sjmcneillpseudo-device	loop				# network loopback
1721.1Sjmcneill#pseudo-device	ppp				# Point-to-Point Protocol
1731.1Sjmcneill#pseudo-device	sl				# Serial Line IP
1741.1Sjmcneill#pseudo-device	strip				# Starmode Radio IP (Metricom)
1751.1Sjmcneill#pseudo-device	tun				# network tunneling over tty
1761.1Sjmcneill#pseudo-device	tap				# virtual Ethernet
1771.1Sjmcneill#pseudo-device	gre				# generic L3 over IP tunnel
1781.1Sjmcneill#pseudo-device	ipip		2		# RFC 2003 IP Encapsulation
1791.1Sjmcneill#pseudo-device	gif				# RFC1933 tunnel
1801.1Sjmcneill#pseudo-device	faith				# IPv[46] tcp relay translation
1811.1Sjmcneill#pseudo-device	stf				# 6to4 IPv6 over IPv4 encapsulation
1821.1Sjmcneill#pseudo-device	vlan				# IEEE 802.1q encapsulation
1831.1Sjmcneill#pseudo-device	bridge				# simple inter-network bridging
1841.1Sjmcneill
1851.1Sjmcneill# Miscellaneous pseudo-devices
1861.1Sjmcneillpseudo-device	pty				# pseudo-terminals
1871.1Sjmcneillpseudo-device	rnd				# /dev/random & kernel generator
1881.1Sjmcneillpseudo-device	clockctl			# user control of clock subsystem
1891.1Sjmcneillpseudo-device	ksyms				# /dev/ksyms
1901.1Sjmcneill
1911.1Sjmcneill# A pseudo device needed for Coda		# also needs CODA (above)
1921.1Sjmcneill#pseudo-device	vcoda		4		# coda minicache <-> venus comm.
193