CPMBR1400 revision 1.18
11.18Sapb#	$NetBSD: CPMBR1400,v 1.18 2014/08/16 17:56:32 apb Exp $
21.17Salnsn
31.2Smattinclude		"arch/evbmips/conf/std.rasoc"
41.2Smatt
51.2Smattoptions 	SYMTAB_SPACE=450000		# size for embedded symbol table
61.2Smatt
71.16Smatt#options 	RALINK_CONSOLE_EARLY
81.2Smattoptions 	RT3883
91.2Smatt#options 	SLICKROCK
101.2Smattoptions 	RALINK_ETH_NUM_SW_PARTITIONS=5
111.2Smattoptions 	CONSPEED=57600
121.2Smatt#options 	SYSCALL_DEBUG
131.16Smattno makeoptions	NEED_UBOOTIMAGE
141.16Smattmakeoptions	NEED_UBOOTIMAGE="bsentry"
151.2Smatt
161.2Smattmaxusers	8
171.2Smatt
181.2Smatt# Size reduction options
191.2Smatt#options 	VNODE_OP_NOINLINE
201.2Smatt#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
211.2Smatt#options 	SOSEND_NO_LOAN
221.2Smatt
231.2Smatt# Standard system options
241.2Smatt
251.2Smattoptions 	INSECURE	# disable kernel security levels - X needs this
261.2Smatt
271.2Smattoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
281.2Smattoptions 	NTP		# NTP phase/frequency locked loop
291.2Smatt
301.2Smatt#options 	KTRACE		# system call tracing via ktrace(1)
311.2Smatt
321.2Smatt#options 	SYSVMSG		# System V-like message queues
331.2Smatt#options 	SYSVSEM		# System V-like semaphores
341.2Smatt#options 	SYSVSHM		# System V-like memory sharing
351.2Smatt#options 	SHMMAXPGS=2048	# 2048 pages is the default
361.2Smatt
371.2Smatt#options 	NMBCLUSTERS=1024
381.2Smatt#options 	MCLSHIFT=12 # 4k mbuf clusters (increases pool max's to 4k as well)
391.2Smatt
401.2Smatt#options 	USERCONF	# userconf(4) support
411.2Smatt#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
421.2Smatt
431.2Smatt# Diagnostic/debugging support options
441.2Smattoptions 	DIAGNOSTIC	# expensive kernel consistency checks
451.2Smatt#options 	LOCKDEBUG
461.2Smatt#options 	KSTACK_CHECK_MAGIC
471.2Smattoptions 	DEBUG		# expensive debugging checks/support
481.2Smattoptions 	KMEMSTATS		# kernel memory statistics (vmstat -m)
491.2Smattoptions 	DDB			# in-kernel debugger
501.15Sszptvlfnoptions 	DDB_ONPANIC=1		# see also sysctl(7): `ddb.onpanic'
511.2Smatt#options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
521.2Smatt#options 	DDB_COMMANDONENTER="w/b 0x90000128 0 ; bt"	# disable watchdog & drop history on enter
531.2Smatt#options 	KGDB		# remote debugger
541.2Smatt#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=9600
551.2Smatt#makeoptions 	DEBUG="-g2"	# compile full symbol table
561.2Smatt#makeoptions 	COPTS="-Os"	# Optimise for space.
571.2Smatt
581.2Smatt#makeoptions PROF="-p"		# build profiling in 
591.2Smatt#options 	GPROF
601.2Smatt
611.2Smatt# Compatibility options
621.2Smatt#options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
631.2Smatt#options 	COMPAT_09	# NetBSD 0.9
641.2Smatt#options 	COMPAT_10	# NetBSD 1.0
651.2Smatt#options 	COMPAT_11	# NetBSD 1.1
661.2Smatt#options 	COMPAT_12	# NetBSD 1.2, 386BSD, and BSDI
671.2Smatt#options 	COMPAT_13	# NetBSD 1.3, 386BSD, and BSDI
681.2Smatt#options 	COMPAT_14	# NetBSD 1.4
691.2Smatt#options 	COMPAT_15	# NetBSD 1.5
701.2Smatt#options 	COMPAT_16	# NetBSD 1.6
711.2Smatt#options 	COMPAT_20	# NetBSD 2.0
721.2Smatt#options 	COMPAT_30	# NetBSD 3.0 compatibility.
731.2Smatt#options 	COMPAT_40	# NetBSD 4.0
741.2Smattoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
751.10Sapboptions 	COMPAT_60	# NetBSD 6.0 compatibility.
761.18Sapboptions 	COMPAT_70	# NetBSD 7.0 compatibility.
771.2Smatt#options 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI
781.2Smatt#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
791.2Smatt#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
801.2Smatt
811.2Smatt#options 	COMPAT_SVR4	# binary compatibility with SVR4
821.2Smatt#options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
831.2Smatt#options 	COMPAT_LINUX	# binary compatibility with Linux
841.2Smatt#options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
851.2Smatt#options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
861.2Smatt
871.2Smatt# File systems
881.2Smattfile-system	FFS		# UFS
891.2Smatt#file-system	EXT2FS		# second extended file system (linux)
901.2Smatt#file-system	LFS		# log-structured file system
911.2Smattfile-system	MFS		# memory file system
921.2Smattfile-system	NFS		# Network File System client
931.2Smatt#file-system	CD9660		# ISO 9660 + Rock Ridge file system
941.2Smattfile-system	MSDOSFS		# MS-DOS file system
951.2Smatt#file-system	FDESC		# /dev/fd
961.2Smattfile-system	KERNFS		# /kern
971.2Smatt#file-system	NULLFS		# loopback file system
981.2Smatt#file-system	PORTAL		# portal filesystem (still experimental)
991.2Smattfile-system	PROCFS		# /proc
1001.2Smatt#file-system	UMAPFS		# NULLFS + uid and gid remapping
1011.2Smatt#file-system	UNION		# union file system
1021.2Smatt#file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
1031.2Smatt#file-system	PTYFS		# /dev/pts/N support
1041.2Smattfile-system	TMPFS		# Efficient memory file-system
1051.2Smatt
1061.2Smatt# File system options
1071.2Smatt#options 	QUOTA		# UFS quotas
1081.2Smatt#options 	FFS_EI		# FFS Endian Independant support
1091.2Smatt#options 	NFSSERVER	# Network File System server
1101.2Smattoptions 	FFS_NO_SNAPSHOT	# No FF snapshot support
1111.2Smatt#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and immutable) behave as system flags.
1121.2Smatt
1131.2Smatt# Networking options
1141.2Smattoptions 	GATEWAY		# packet forwarding
1151.2Smattoptions 	INET		# IP + ICMP + TCP + UDP
1161.2Smattoptions 	MROUTING	# IP multicast routing
1171.2Smatt#options 	INET6		# IPV6
1181.2Smatt#options 	IPSEC		# IP security
1191.2Smatt#options 	IPSEC_DEBUG	# debug for IP security
1201.2Smatt#options 	PIM		# Protocol Independent Multicast
1211.2Smatt#options 	NETATALK	# AppleTalk networking protocols
1221.2Smatt#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1231.2Smatt#options 	PPP_DEFLATE	# Deflate compression support for PPP
1241.2Smatt#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1251.2Smatt#options 	IPFILTER_LOG	# ipmon(8) log support
1261.2Smatt#options 	IPFILTER_LOOKUP	# ippool(8) support
1271.2Smatt#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1281.2Smatt#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1291.2Smatt
1301.2Smatt#options 	ALTQ		# Manipulate network interfaces' output queues
1311.2Smatt#options 	ALTQ_BLUE	# Stochastic Fair Blue
1321.2Smatt#options 	ALTQ_CBQ	# Class-Based Queueing
1331.2Smatt#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1341.2Smatt#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1351.2Smatt#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1361.2Smatt#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1371.2Smatt#options 	ALTQ_LOCALQ	# Local queueing discipline
1381.2Smatt#options 	ALTQ_PRIQ	# Priority Queueing
1391.2Smatt#options 	ALTQ_RED	# Random Early Detection
1401.2Smatt#options 	ALTQ_RIO	# RED with IN/OUT
1411.2Smatt#options 	ALTQ_WFQ	# Weighted Fair Queueing
1421.2Smatt
1431.17Salnsn# JIT compiler for bpfilter
1441.17Salnsn#options	SLJIT
1451.17Salnsn#options	BPFJIT
1461.17Salnsn
1471.2Smatt# These options enable verbose messages for several subsystems.
1481.2Smatt# Warning, these may compile large string tables into the kernel!
1491.2Smatt#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
1501.2Smatt#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1511.2Smatt#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1521.2Smatt#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1531.2Smatt#options 	SCSIVERBOSE	# human readable SCSI error messages
1541.2Smatt#options 	USBVERBOSE	# verbose USB device autoconfig messages
1551.2Smatt
1561.2Smatt# Options for necessary to use MD
1571.2Smatt#options 	MEMORY_DISK_HOOKS
1581.2Smatt#options 	MEMORY_DISK_IS_ROOT		# force root on memory disk
1591.2Smatt#options 	MEMORY_DISK_SERVER=0		# no userspace memory disk support
1601.2Smatt#options 	MEMORY_DISK_ROOT_SIZE=8192	# embed the FS into the system for now
1611.2Smatt#options 	MEMORY_RBFLAGS=0		# keep the kernel from forcing single user mode
1621.2Smatt
1631.2Smatt# Options for NFS root boot
1641.9Sryooptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTSTATIC
1651.2Smatt#options 	NFS_BOOTSTATIC_MYIP="\"192.168.0.1\""
1661.2Smatt#options 	NFS_BOOTSTATIC_GWIP="\"192.168.0.1\""
1671.2Smatt#options 	NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
1681.2Smatt#options 	NFS_BOOTSTATIC_SERVADDR="\"192.168.0.5\""
1691.2Smatt#options 	NFS_BOOTSTATIC_SERVER="\"192.168.0.5:/home/andersen/nfs/mbr1400\""
1701.2Smatt
1711.2Smatt# Need more mbufs for IPsec VPN
1721.2Smatt#options 	NMBCLUSTERS=4096
1731.2Smatt
1741.2Smatt# rt3052 dev board root on embedded NFS mount disk
1751.2Smattconfig  	netbsd root on ? type ?
1761.2Smattconfig  	netbsd-sd0a root on sd0a type ffs dumps none
1771.2Smattconfig  	netbsd-reth0 root on reth0 type nfs dumps none
1781.2Smatt
1791.2Smattmainbus0	at root
1801.2Smattcpu0		at mainbus?
1811.2Smattcom0		at mainbus?
1821.2Smattreth*		at mainbus?
1831.2Smattrwdog0 		at mainbus?
1841.2Smattoptions 	RA_WDOG_DEFAULT_PERIOD=-30
1851.2Smatt#options 	RA_WDOG_DEFAULT_MODE=WDOG_MODE_DISARMED
1861.2Smattoptions 	RA_WDOG_DEFAULT_MODE=WDOG_MODE_KTICKLE
1871.2Smatt
1881.2Smatt# USB support on rusb0
1891.2Smattehci*		at mainbus?
1901.2Smattusb*		at ehci?
1911.2Smatt
1921.2Smatt# USB support on rusb0
1931.2Smattohci*		at mainbus?
1941.2Smattusb*		at ohci?
1951.2Smatt
1961.2Smatt# GPIO support
1971.2Smattrgpio0		at mainbus?
1981.2Smattgpio*		at rgpio?
1991.2Smatt
2001.2Smatt# I2C support
2011.2Smattri2c0		at mainbus?
2021.2Smattiic*		at ri2c?
2031.2Smatt
2041.3Scliff# NOR Flash
2051.3Scliff#options 	NOR_VERBOSE
2061.3Scliffcfi0 		at mainbus0
2071.4Scliffnor0		at cfi0
2081.4Scliffflash0		at nor0 offset 0x00000000 size 0x00040000
2091.4Scliffflash1		at nor0 offset 0x00040000 size 0x00020000
2101.4Scliffflash2		at nor0 offset 0x00060000 size 0x00020000
2111.4Scliffflash3		at nor0 offset 0x00080000 size 0x00120000	# kernel
2121.4Scliffflash4		at nor0 offset 0x001a0000 size 0x006e0000	# filesystem
2131.4Scliffflash5		at nor0 offset 0x00880000 size 0x01760000	# upgrade
2141.4Scliffflash6		at nor0 offset 0x01fe0000 size 0x00020000
2151.3Scliff
2161.2Smatt# USB Hubs
2171.2Smattuhub*		at usb?
2181.2Smattuhub*		at uhub? port ?
2191.2Smatt
2201.2Smatt# USB Mass Storage
2211.2Smattumass*		at uhub? port ?
2221.2Smattscsibus*	at scsi?
2231.2Smattsd*		at scsibus? target ? lun ?
2241.2Smatt
2251.2Smatt# USB Ethernet adapters
2261.2Smatt#aue*		at uhub? port ?		# ADMtek AN986 Pegasus based adapters
2271.2Smatt#axe*		at uhub? port ?		# ASIX AX88172 10/100 based adapters
2281.2Smatt
2291.2Smatt# USB Generic driver
2301.2Smattugen*		at uhub? port ?
2311.2Smatt
2321.2Smatt# PHY Support
2331.2Smattukphy*		at mii? phy ?		# generic unknown PHYs
2341.2Smatt#arphy*		at mii? phy ?		# Atheros AR8316 switch
2351.2Smatt
2361.2Smatt# Pseudo-Devices
2371.2Smatt
2381.2Smatt# disk/mass storage pseudo-devices
2391.2Smatt
2401.2Smatt# network pseudo-devices
2411.2Smattpseudo-device	bpfilter		# Berkeley packet filter
2421.2Smattpseudo-device	bridge			# simple inter-network bridging
2431.2Smattpseudo-device	loop			# network loopback
2441.2Smattpseudo-device	tap			# virtual Ethernet
2451.2Smattpseudo-device	pf			# PF packet filter
2461.2Smattpseudo-device	pflog			# PF log if
2471.2Smattpseudo-device	pppoe			# PPPoE protocol
2481.2Smattpseudo-device	vlan			# 802.1q
2491.2Smatt
2501.2Smatt# miscellaneous pseudo-devices
2511.2Smattpseudo-device	pty			# pseudo-terminals
2521.2Smattpseudo-device	clockctl		# /dev/clockctl - user control of clock subsystem
2531.2Smattpseudo-device	ksyms			# /dev/ksyms - kernel symbols
254