ZYXELKX revision 1.15
11.15Ssevan#	$NetBSD: ZYXELKX,v 1.15 2018/12/30 14:51:36 sevan Exp $
21.2Salnsn
31.12Smrginclude 	"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.12Smrg
581.12Smrginclude         "conf/compat_netbsd50.config"
591.12Smrg
601.12Smrg#options 	EXEC_ECOFF	# exec ECOFF binaries
611.12Smrg#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
621.12Smrg
631.1Smatt#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
641.1Smatt#options 	COMPAT_LINUX	# binary compatibility with Linux
651.1Smatt
661.1Smatt# File systems
671.1Smattfile-system	FFS		# UFS
681.1Smatt#file-system	EXT2FS		# second extended file system (linux)
691.1Smatt#file-system	LFS		# log-structured file system
701.1Smattfile-system	MFS		# memory file system
711.1Smattfile-system	NFS		# Network File System client
721.1Smatt#file-system	CD9660		# ISO 9660 + Rock Ridge file system
731.1Smattfile-system	MSDOSFS		# MS-DOS file system
741.1Smatt#file-system	FDESC		# /dev/fd
751.1Smattfile-system	KERNFS		# /kern
761.1Smatt#file-system	NULLFS		# loopback file system
771.1Smatt#file-system	PORTAL		# portal filesystem (still experimental)
781.1Smattfile-system	PROCFS		# /proc
791.1Smatt#file-system	UMAPFS		# NULLFS + uid and gid remapping
801.1Smatt#file-system	UNION		# union file system
811.1Smatt#file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
821.1Smatt#file-system	PTYFS		# /dev/pts/N support
831.1Smattfile-system	TMPFS		# Efficient memory file-system
841.1Smatt
851.1Smatt# File system options
861.1Smatt#options 	QUOTA		# UFS quotas
871.7Srin#options 	DISKLABEL_EI	# disklabel Endian Independent support
881.1Smatt#options 	FFS_EI		# FFS Endian Independant support
891.1Smatt#options 	NFSSERVER	# Network File System server
901.1Smattoptions 	FFS_NO_SNAPSHOT	# No FF snapshot support
911.1Smatt#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and immutable) behave as system flags.
921.1Smatt
931.15Ssevan# Alternate buffer queue strategies for better responsiveness under high
941.15Ssevan# disk I/O load.
951.15Ssevan#options 	BUFQ_READPRIO
961.15Ssevanoptions 	BUFQ_PRIOCSCAN
971.15Ssevan
981.1Smatt# Networking options
991.1Smattoptions 	GATEWAY		# packet forwarding
1001.1Smattoptions 	INET		# IP + ICMP + TCP + UDP
1011.1Smattoptions 	MROUTING	# IP multicast routing
1021.1Smatt#options 	INET6		# IPV6
1031.1Smatt#options 	IPSEC		# IP security
1041.1Smatt#options 	IPSEC_DEBUG	# debug for IP security
1051.1Smatt#options 	PIM		# Protocol Independent Multicast
1061.1Smatt#options 	NETATALK	# AppleTalk networking protocols
1071.1Smatt#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1081.1Smatt#options 	PPP_DEFLATE	# Deflate compression support for PPP
1091.1Smatt#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1101.1Smatt#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1111.1Smatt
1121.1Smatt#options 	ALTQ		# Manipulate network interfaces' output queues
1131.1Smatt#options 	ALTQ_BLUE	# Stochastic Fair Blue
1141.1Smatt#options 	ALTQ_CBQ	# Class-Based Queueing
1151.1Smatt#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1161.1Smatt#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1171.1Smatt#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1181.1Smatt#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1191.1Smatt#options 	ALTQ_LOCALQ	# Local queueing discipline
1201.1Smatt#options 	ALTQ_PRIQ	# Priority Queueing
1211.1Smatt#options 	ALTQ_RED	# Random Early Detection
1221.1Smatt#options 	ALTQ_RIO	# RED with IN/OUT
1231.1Smatt#options 	ALTQ_WFQ	# Weighted Fair Queueing
1241.1Smatt
1251.2Salnsn# JIT compiler for bpfilter
1261.2Salnsn#options	SLJIT
1271.2Salnsn#options	BPFJIT
1281.2Salnsn
1291.1Smatt# These options enable verbose messages for several subsystems.
1301.1Smatt# Warning, these may compile large string tables into the kernel!
1311.1Smatt#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
1321.1Smatt#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1331.1Smatt#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1341.1Smatt#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1351.1Smatt#options 	SCSIVERBOSE	# human readable SCSI error messages
1361.1Smatt#options 	USBVERBOSE	# verbose USB device autoconfig messages
1371.1Smatt
1381.1Smatt# Options for necessary to use MD
1391.1Smatt#options 	MEMORY_DISK_HOOKS
1401.1Smatt#options 	MEMORY_DISK_IS_ROOT		# force root on memory disk
1411.1Smatt#options 	MEMORY_DISK_SERVER=0		# no userspace memory disk support
1421.1Smatt#options 	MEMORY_DISK_ROOT_SIZE=8192	# embed the FS into the system for now
1431.1Smatt#options 	MEMORY_RBFLAGS=0		# keep the kernel from forcing single user mode
1441.1Smatt
1451.1Smatt# Options for NFS root boot
1461.1Smattoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTSTATIC
1471.1Smatt#options 	NFS_BOOTSTATIC_MYIP="\"192.168.0.1\""
1481.1Smatt#options 	NFS_BOOTSTATIC_GWIP="\"192.168.0.1\""
1491.1Smatt#options 	NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
1501.1Smatt#options 	NFS_BOOTSTATIC_SERVADDR="\"192.168.0.5\""
1511.1Smatt#options 	NFS_BOOTSTATIC_SERVER="\"192.168.0.5:/home/andersen/nfs/mbr1400\""
1521.1Smatt
1531.1Smatt# Need more mbufs for IPsec VPN
1541.1Smatt#options 	NMBCLUSTERS=4096
1551.1Smatt
1561.1Smatt# rt3052 dev board root on embedded NFS mount disk
1571.1Smattconfig  	netbsd root on ? type ?
1581.1Smattconfig  	netbsd-sd0a root on sd0a type ffs dumps none
1591.1Smattconfig  	netbsd-reth0 root on reth0 type nfs dumps none
1601.1Smatt
1611.1Smattmainbus0	at root
1621.1Smattcpu0		at mainbus?
1631.1Smattcom0		at mainbus?
1641.1Smattreth*		at mainbus? flags 1
1651.1Smattrwdog0 		at mainbus?
1661.1Smattoptions 	RA_WDOG_DEFAULT_PERIOD=10
1671.1Smatt#options 	RA_WDOG_DEFAULT_MODE=WDOG_MODE_DISARMED
1681.1Smattoptions 	RA_WDOG_DEFAULT_MODE=WDOG_MODE_KTICKLE
1691.1Smatt
1701.1Smatt# PCI/PCIe support
1711.1Smattrpci0		at mainbus?
1721.1Smattpci*		at rpci?
1731.1Smatt
1741.1Smatt# USB support on rusb0
1751.1Smattehci*		at mainbus?
1761.1Smattusb*		at ehci?
1771.1Smatt
1781.1Smatt# USB support on rusb0
1791.1Smattohci*		at mainbus?
1801.1Smattusb*		at ohci?
1811.1Smatt
1821.1Smatt# GPIO support
1831.1Smattrgpio0		at mainbus?
1841.1Smattgpio*		at rgpio?
1851.1Smatt
1861.1Smatt# I2C support
1871.1Smattri2c0		at mainbus?
1881.1Smattiic*		at ri2c?
1891.1Smatt
1901.1Smatt# NOR Flash
1911.1Smatt#options 	NOR_VERBOSE
1921.1Smatt#cfi0 		at mainbus0
1931.1Smatt#nor0		at cfi0
1941.1Smatt#flash0		at nor0 offset 0x00000000 size 0x00040000
1951.1Smatt#flash1		at nor0 offset 0x00040000 size 0x00020000
1961.1Smatt#flash2		at nor0 offset 0x00060000 size 0x00020000
1971.1Smatt#flash3		at nor0 offset 0x00080000 size 0x00120000	# kernel
1981.1Smatt#flash4		at nor0 offset 0x001a0000 size 0x006e0000	# filesystem
1991.1Smatt#flash5		at nor0 offset 0x00880000 size 0x01760000	# upgrade
2001.1Smatt#flash6		at nor0 offset 0x01fe0000 size 0x00020000
2011.1Smatt
2021.1Smatt# USB Hubs
2031.1Smattuhub*		at usb?
2041.1Smattuhub*		at uhub? port ?
2051.1Smatt
2061.1Smatt# USB Mass Storage
2071.1Smattumass*		at uhub? port ?
2081.1Smattscsibus*	at scsi?
2091.1Smattsd*		at scsibus? target ? lun ?
2101.1Smatt
2111.1Smatt# USB Ethernet adapters
2121.1Smatt#aue*		at uhub? port ?		# ADMtek AN986 Pegasus based adapters
2131.1Smatt#axe*		at uhub? port ?		# ASIX AX88172 10/100 based adapters
2141.1Smatt
2151.1Smatt# USB Generic driver
2161.1Smattugen*		at uhub? port ?
2171.1Smatt
2181.1Smatt# PHY Support
2191.1Smattukphy*		at mii? phy ?		# generic unknown PHYs
2201.1Smatt#arphy*		at mii? phy ?		# Atheros AR8316 switch
2211.1Smatt
2221.1Smatt# Pseudo-Devices
2231.1Smatt
2241.1Smatt# disk/mass storage pseudo-devices
2251.1Smatt
2261.1Smatt# network pseudo-devices
2271.1Smattpseudo-device	bpfilter		# Berkeley packet filter
2281.1Smattpseudo-device	bridge			# simple inter-network bridging
2291.1Smattpseudo-device	loop			# network loopback
2301.1Smattpseudo-device	tap			# virtual Ethernet
2311.13Smaxvpseudo-device	npf			# NPF packet filter
2321.1Smattpseudo-device	pppoe			# PPPoE protocol
2331.1Smattpseudo-device	vlan			# 802.1q
2341.1Smatt
2351.1Smatt# miscellaneous pseudo-devices
2361.1Smattpseudo-device	pty			# pseudo-terminals
2371.1Smattpseudo-device	clockctl		# /dev/clockctl - user control of clock subsystem
2381.1Smattpseudo-device	ksyms			# /dev/ksyms - kernel symbols
239