ZYXELKX revision 1.11
11.11Smaya#	$NetBSD: ZYXELKX,v 1.11 2017/08/19 09:10:24 maya Exp $
21.2Salnsn
31.1Smattinclude		"arch/evbmips/conf/std.rasoc"
41.1Smatt
51.4Sjoergmakeoptions	COPY_SYMTAB=1		# size for embedded symbol table
61.1Smatt
71.1Smattoptions 	RALINK_CONSOLE_EARLY
81.1Smattoptions 	MT7620
91.1Smattoptions 	RALINK_ETH_NUM_SW_PARTITIONS=5
101.1Smattoptions 	CONSPEED=57600
111.1Smatt
121.1Smattmaxusers	8
131.1Smatt
141.1Smatt# Size reduction options
151.1Smatt#options 	VNODE_OP_NOINLINE
161.1Smatt#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
171.1Smatt#options 	SOSEND_NO_LOAN
181.1Smatt
191.1Smatt# Standard system options
201.1Smatt
211.1Smattoptions 	INSECURE	# disable kernel security levels - X needs this
221.1Smatt
231.1Smattoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
241.1Smattoptions 	NTP		# NTP phase/frequency locked loop
251.1Smatt
261.1Smatt#options 	KTRACE		# system call tracing via ktrace(1)
271.1Smatt
281.1Smatt#options 	SYSVMSG		# System V-like message queues
291.1Smatt#options 	SYSVSEM		# System V-like semaphores
301.1Smatt#options 	SYSVSHM		# System V-like memory sharing
311.1Smatt#options 	SHMMAXPGS=2048	# 2048 pages is the default
321.1Smatt
331.1Smatt#options 	NMBCLUSTERS=1024
341.1Smatt#options 	MCLSHIFT=12 # 4k mbuf clusters (increases pool max's to 4k as well)
351.1Smatt
361.1Smatt#options 	USERCONF	# userconf(4) support
371.1Smatt#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
381.1Smatt
391.1Smatt# Diagnostic/debugging support options
401.1Smattoptions 	DIAGNOSTIC	# expensive kernel consistency checks
411.1Smatt#options 	LOCKDEBUG
421.1Smatt#options 	KSTACK_CHECK_MAGIC
431.11Smaya#options 	DEBUG		# expensive debugging checks/support
441.1Smattoptions 	DDB			# in-kernel debugger
451.1Smattoptions 	DDB_ONPANIC=1		# see also sysctl(7): `ddb.onpanic'
461.1Smatt#options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
471.1Smatt#options 	DDB_COMMANDONENTER="w/b 0x90000128 0 ; bt"	# disable watchdog & drop history on enter
481.1Smatt#options 	KGDB		# remote debugger
491.1Smatt#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=9600
501.1Smatt#makeoptions 	DEBUG="-g2"	# compile full symbol table
511.1Smatt#makeoptions 	COPTS="-Os"	# Optimise for space.
521.1Smatt
531.1Smatt#makeoptions PROF="-p"		# build profiling in 
541.1Smatt#options 	GPROF
551.1Smatt
561.1Smatt# Compatibility options
571.1Smatt#options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
581.5Sdholland#options 	COMPAT_09	# NetBSD 0.9,
591.5Sdholland#options 	COMPAT_10	# NetBSD 1.0,
601.5Sdholland#options 	COMPAT_11	# NetBSD 1.1,
611.5Sdholland#options 	COMPAT_12	# NetBSD 1.2 (and 386BSD and BSDI),
621.5Sdholland#options 	COMPAT_13	# NetBSD 1.3 (and 386BSD and BSDI),
631.5Sdholland#options 	COMPAT_14	# NetBSD 1.4,
641.5Sdholland#options 	COMPAT_15	# NetBSD 1.5,
651.5Sdholland#options 	COMPAT_16	# NetBSD 1.6,
661.5Sdholland#options 	COMPAT_20	# NetBSD 2.0,
671.5Sdholland#options 	COMPAT_30	# NetBSD 3.0,
681.5Sdholland#options 	COMPAT_40	# NetBSD 4.0,
691.5Sdhollandoptions 	COMPAT_50	# NetBSD 5.0,
701.5Sdhollandoptions 	COMPAT_60	# NetBSD 6.0, and
711.5Sdhollandoptions 	COMPAT_70	# NetBSD 7.0 binary compatibility.
721.1Smatt#options 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI
731.1Smatt#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
741.1Smatt
751.1Smatt#options 	COMPAT_SVR4	# binary compatibility with SVR4
761.1Smatt#options 	COMPAT_LINUX	# binary compatibility with Linux
771.1Smatt#options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
781.1Smatt
791.1Smatt# File systems
801.1Smattfile-system	FFS		# UFS
811.1Smatt#file-system	EXT2FS		# second extended file system (linux)
821.1Smatt#file-system	LFS		# log-structured file system
831.1Smattfile-system	MFS		# memory file system
841.1Smattfile-system	NFS		# Network File System client
851.1Smatt#file-system	CD9660		# ISO 9660 + Rock Ridge file system
861.1Smattfile-system	MSDOSFS		# MS-DOS file system
871.1Smatt#file-system	FDESC		# /dev/fd
881.1Smattfile-system	KERNFS		# /kern
891.1Smatt#file-system	NULLFS		# loopback file system
901.1Smatt#file-system	PORTAL		# portal filesystem (still experimental)
911.1Smattfile-system	PROCFS		# /proc
921.1Smatt#file-system	UMAPFS		# NULLFS + uid and gid remapping
931.1Smatt#file-system	UNION		# union file system
941.1Smatt#file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
951.1Smatt#file-system	PTYFS		# /dev/pts/N support
961.1Smattfile-system	TMPFS		# Efficient memory file-system
971.1Smatt
981.1Smatt# File system options
991.1Smatt#options 	QUOTA		# UFS quotas
1001.7Srin#options 	DISKLABEL_EI	# disklabel Endian Independent support
1011.1Smatt#options 	FFS_EI		# FFS Endian Independant support
1021.1Smatt#options 	NFSSERVER	# Network File System server
1031.1Smattoptions 	FFS_NO_SNAPSHOT	# No FF snapshot support
1041.1Smatt#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and immutable) behave as system flags.
1051.1Smatt
1061.1Smatt# Networking options
1071.1Smattoptions 	GATEWAY		# packet forwarding
1081.1Smattoptions 	INET		# IP + ICMP + TCP + UDP
1091.1Smattoptions 	MROUTING	# IP multicast routing
1101.1Smatt#options 	INET6		# IPV6
1111.1Smatt#options 	IPSEC		# IP security
1121.1Smatt#options 	IPSEC_DEBUG	# debug for IP security
1131.1Smatt#options 	PIM		# Protocol Independent Multicast
1141.1Smatt#options 	NETATALK	# AppleTalk networking protocols
1151.1Smatt#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1161.1Smatt#options 	PPP_DEFLATE	# Deflate compression support for PPP
1171.1Smatt#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1181.1Smatt#options 	IPFILTER_LOG	# ipmon(8) log support
1191.1Smatt#options 	IPFILTER_LOOKUP	# ippool(8) support
1201.1Smatt#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1211.1Smatt#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1221.1Smatt
1231.1Smatt#options 	ALTQ		# Manipulate network interfaces' output queues
1241.1Smatt#options 	ALTQ_BLUE	# Stochastic Fair Blue
1251.1Smatt#options 	ALTQ_CBQ	# Class-Based Queueing
1261.1Smatt#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1271.1Smatt#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1281.1Smatt#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1291.1Smatt#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1301.1Smatt#options 	ALTQ_LOCALQ	# Local queueing discipline
1311.1Smatt#options 	ALTQ_PRIQ	# Priority Queueing
1321.1Smatt#options 	ALTQ_RED	# Random Early Detection
1331.1Smatt#options 	ALTQ_RIO	# RED with IN/OUT
1341.1Smatt#options 	ALTQ_WFQ	# Weighted Fair Queueing
1351.1Smatt
1361.2Salnsn# JIT compiler for bpfilter
1371.2Salnsn#options	SLJIT
1381.2Salnsn#options	BPFJIT
1391.2Salnsn
1401.1Smatt# These options enable verbose messages for several subsystems.
1411.1Smatt# Warning, these may compile large string tables into the kernel!
1421.1Smatt#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
1431.1Smatt#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1441.1Smatt#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1451.1Smatt#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1461.1Smatt#options 	SCSIVERBOSE	# human readable SCSI error messages
1471.1Smatt#options 	USBVERBOSE	# verbose USB device autoconfig messages
1481.1Smatt
1491.1Smatt# Options for necessary to use MD
1501.1Smatt#options 	MEMORY_DISK_HOOKS
1511.1Smatt#options 	MEMORY_DISK_IS_ROOT		# force root on memory disk
1521.1Smatt#options 	MEMORY_DISK_SERVER=0		# no userspace memory disk support
1531.1Smatt#options 	MEMORY_DISK_ROOT_SIZE=8192	# embed the FS into the system for now
1541.1Smatt#options 	MEMORY_RBFLAGS=0		# keep the kernel from forcing single user mode
1551.1Smatt
1561.1Smatt# Options for NFS root boot
1571.1Smattoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTSTATIC
1581.1Smatt#options 	NFS_BOOTSTATIC_MYIP="\"192.168.0.1\""
1591.1Smatt#options 	NFS_BOOTSTATIC_GWIP="\"192.168.0.1\""
1601.1Smatt#options 	NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
1611.1Smatt#options 	NFS_BOOTSTATIC_SERVADDR="\"192.168.0.5\""
1621.1Smatt#options 	NFS_BOOTSTATIC_SERVER="\"192.168.0.5:/home/andersen/nfs/mbr1400\""
1631.1Smatt
1641.1Smatt# Need more mbufs for IPsec VPN
1651.1Smatt#options 	NMBCLUSTERS=4096
1661.1Smatt
1671.1Smatt# rt3052 dev board root on embedded NFS mount disk
1681.1Smattconfig  	netbsd root on ? type ?
1691.1Smattconfig  	netbsd-sd0a root on sd0a type ffs dumps none
1701.1Smattconfig  	netbsd-reth0 root on reth0 type nfs dumps none
1711.1Smatt
1721.1Smattmainbus0	at root
1731.1Smattcpu0		at mainbus?
1741.1Smattcom0		at mainbus?
1751.1Smattreth*		at mainbus? flags 1
1761.1Smattrwdog0 		at mainbus?
1771.1Smattoptions 	RA_WDOG_DEFAULT_PERIOD=10
1781.1Smatt#options 	RA_WDOG_DEFAULT_MODE=WDOG_MODE_DISARMED
1791.1Smattoptions 	RA_WDOG_DEFAULT_MODE=WDOG_MODE_KTICKLE
1801.1Smatt
1811.1Smatt# PCI/PCIe support
1821.1Smattrpci0		at mainbus?
1831.1Smattpci*		at rpci?
1841.1Smatt
1851.1Smatt# USB support on rusb0
1861.1Smattehci*		at mainbus?
1871.1Smattusb*		at ehci?
1881.1Smatt
1891.1Smatt# USB support on rusb0
1901.1Smattohci*		at mainbus?
1911.1Smattusb*		at ohci?
1921.1Smatt
1931.1Smatt# GPIO support
1941.1Smattrgpio0		at mainbus?
1951.1Smattgpio*		at rgpio?
1961.1Smatt
1971.1Smatt# I2C support
1981.1Smattri2c0		at mainbus?
1991.1Smattiic*		at ri2c?
2001.1Smatt
2011.1Smatt# NOR Flash
2021.1Smatt#options 	NOR_VERBOSE
2031.1Smatt#cfi0 		at mainbus0
2041.1Smatt#nor0		at cfi0
2051.1Smatt#flash0		at nor0 offset 0x00000000 size 0x00040000
2061.1Smatt#flash1		at nor0 offset 0x00040000 size 0x00020000
2071.1Smatt#flash2		at nor0 offset 0x00060000 size 0x00020000
2081.1Smatt#flash3		at nor0 offset 0x00080000 size 0x00120000	# kernel
2091.1Smatt#flash4		at nor0 offset 0x001a0000 size 0x006e0000	# filesystem
2101.1Smatt#flash5		at nor0 offset 0x00880000 size 0x01760000	# upgrade
2111.1Smatt#flash6		at nor0 offset 0x01fe0000 size 0x00020000
2121.1Smatt
2131.1Smatt# USB Hubs
2141.1Smattuhub*		at usb?
2151.1Smattuhub*		at uhub? port ?
2161.1Smatt
2171.1Smatt# USB Mass Storage
2181.1Smattumass*		at uhub? port ?
2191.1Smattscsibus*	at scsi?
2201.1Smattsd*		at scsibus? target ? lun ?
2211.1Smatt
2221.1Smatt# USB Ethernet adapters
2231.1Smatt#aue*		at uhub? port ?		# ADMtek AN986 Pegasus based adapters
2241.1Smatt#axe*		at uhub? port ?		# ASIX AX88172 10/100 based adapters
2251.1Smatt
2261.1Smatt# USB Generic driver
2271.1Smattugen*		at uhub? port ?
2281.1Smatt
2291.1Smatt# PHY Support
2301.1Smattukphy*		at mii? phy ?		# generic unknown PHYs
2311.1Smatt#arphy*		at mii? phy ?		# Atheros AR8316 switch
2321.1Smatt
2331.1Smatt# Pseudo-Devices
2341.1Smatt
2351.1Smatt# disk/mass storage pseudo-devices
2361.1Smatt
2371.1Smatt# network pseudo-devices
2381.1Smattpseudo-device	bpfilter		# Berkeley packet filter
2391.1Smattpseudo-device	bridge			# simple inter-network bridging
2401.1Smattpseudo-device	loop			# network loopback
2411.1Smattpseudo-device	tap			# virtual Ethernet
2421.1Smattpseudo-device	pf			# PF packet filter
2431.1Smattpseudo-device	pflog			# PF log if
2441.1Smattpseudo-device	pppoe			# PPPoE protocol
2451.1Smattpseudo-device	vlan			# 802.1q
2461.1Smatt
2471.1Smatt# miscellaneous pseudo-devices
2481.1Smattpseudo-device	pty			# pseudo-terminals
2491.1Smattpseudo-device	clockctl		# /dev/clockctl - user control of clock subsystem
2501.1Smattpseudo-device	ksyms			# /dev/ksyms - kernel symbols
251