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