ADM5120-NB revision 1.30
11.30Ssimonb#	$NetBSD: ADM5120-NB,v 1.30 2021/02/08 00:47:53 simonb Exp $
21.1Sdyoung#
31.29Ssimonb# Kernel config for the ADM5120 based boards and routers,
41.29Ssimonb# including the RouterBOARD 100 series.
51.1Sdyoung
61.1Sdyounginclude 	"arch/evbmips/conf/std.adm5120"
71.1Sdyoung
81.30Ssimonb#ident 		"GENERIC-$Revision: 1.30 $"
91.1Sdyoung
101.1Sdyoungmaxusers	32
111.1Sdyoung
121.1Sdyoungoptions 	MIPS32
131.1Sdyoungoptions 	NOFPU		# No FPU
141.6Smattoptions 	FPEMUL		# emulate FPU insn
151.1Sdyoung#options 	CONSPEED=115200	# YAMON default
161.30Ssimonb#options 	HZ=512		# for profiling
171.1Sdyoungoptions 	MEMSIZE="(16*1024*1024)"
181.1Sdyoung
191.1Sdyoung#options 	LOCKDEBUG
201.1Sdyoungoptions 	SOSEND_COUNTERS
211.1Sdyoungoptions 	INET_CSUM_COUNTERS
221.1Sdyoungoptions 	TCP_CSUM_COUNTERS
231.1Sdyoungoptions 	UDP_CSUM_COUNTERS
241.1Sdyoungoptions 	TCP_OUTPUT_COUNTERS
251.1Sdyoung
261.1Sdyoung#options 	NTP		# network time protocol
271.1Sdyoung
281.1Sdyoung# Debugging options
291.1Sdyoung##options 	DIAGNOSTIC	# extra kernel sanity checking
301.1Sdyoung##options 	DEBUG		# extra kernel debugging support
311.1Sdyoungoptions 	DDB		# kernel dynamic debugger
321.1Sdyoungoptions 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
331.1Sdyoungmakeoptions 	DEBUG="-g"	# compile full symbol table
341.1Sdyoungmakeoptions 	CPUFLAGS="-march=4kc"
351.18Sjoergmakeoptions	COPY_SYMTAB=1	# size for embedded symbol table
361.1Sdyoung
371.1Sdyoung#options 	MEMORY_DISK_HOOKS
381.1Sdyoung#options 	MEMORY_DISK_IS_ROOT	# Force root on ram-disk
391.28Srin#options 	MEMORY_DISK_ROOT_SIZE=16384	# size of memory disk, in blocks
401.1Sdyoung
411.1Sdyoung# Compatibility options
421.23Smrginclude         "conf/compat_netbsd50.config"
431.1Sdyoung#options 	EXEC_ECOFF	# exec ECOFF binaries
441.1Sdyoung#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
451.1Sdyoung
461.1Sdyoung# File systems
471.1Sdyoungfile-system	FFS		# Berkeley Fast Filesystem
481.1Sdyoung#file-system	MFS		# memory-based filesystem
491.1Sdyoung#file-system 	EXT2FS		# second extended file system (linux)
501.1Sdyoungfile-system	NFS		# Sun NFS-compatible filesystem client
511.1Sdyoung#file-system	KERNFS		# kernel data-structure filesystem
521.1Sdyoung#file-system	NULLFS		# NULL layered filesystem
531.1Sdyoung#file-system 	OVERLAY		# overlay file system
541.1Sdyoung#file-system	FDESC		# user file descriptor filesystem
551.1Sdyoung#file-system	UMAPFS		# uid/gid remapping filesystem
561.1Sdyoung#file-system	LFS		# Log-based filesystem (still experimental)
571.1Sdyoung#file-system	PROCFS		# /proc
581.1Sdyoung#file-system	CD9660		# ISO 9660 + Rock Ridge file system
591.1Sdyoung#file-system	UNION		# union file system
601.1Sdyoung#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
611.1Sdyoung#file-system 	CODA		# Coda File System; also needs vcoda (below)
621.1Sdyoung
631.1Sdyoung# File system options
641.1Sdyoung#options 	NFSSERVER	# Sun NFS-compatible filesystem server
651.7Sbouyer#options 	QUOTA		# legacy UFS quotas
661.7Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
671.21Srin#options 	DISKLABEL_EI	# disklabel Endian Independent support
681.9Swiz#options 	FFS_EI		# FFS Endian Independent support
691.1Sdyoung#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
701.1Sdyoung				# immutable) behave as system flags.
711.1Sdyoung
721.25Ssevan# Alternate buffer queue strategies for better responsiveness under high
731.25Ssevan# disk I/O load.
741.25Ssevan#options 	BUFQ_READPRIO
751.25Ssevanoptions 	BUFQ_PRIOCSCAN
761.25Ssevan
771.1Sdyoung# Networking options
781.1Sdyoungoptions 	GATEWAY		# IP packet forwarding
791.1Sdyoungoptions 	INET		# Internet protocols
801.1Sdyoungoptions 	NETGRAPH	# Netgraph
811.1Sdyoungoptions 	NETGRAPH_ASYNC
821.1Sdyoungoptions 	NETGRAPH_BPF
831.1Sdyoungoptions 	NETGRAPH_CISCO
841.1Sdyoungoptions 	NETGRAPH_ECHO
851.1Sdyoungoptions 	NETGRAPH_EIFACE
861.1Sdyoungoptions 	NETGRAPH_ETF
871.1Sdyoungoptions 	NETGRAPH_ETHER
881.1Sdyoungoptions 	NETGRAPH_FRAME_RELAY
891.1Sdyoungoptions 	NETGRAPH_HOLE
901.1Sdyoungoptions 	NETGRAPH_HUB
911.1Sdyoungoptions 	NETGRAPH_IFACE
921.1Sdyoungoptions 	NETGRAPH_KSOCKET
931.1Sdyoungoptions 	NETGRAPH_L2TP
941.1Sdyoungoptions 	NETGRAPH_LMI
951.1Sdyoungoptions 	NETGRAPH_ONE2MANY
961.1Sdyoungoptions 	NETGRAPH_PPP
971.1Sdyoungoptions 	NETGRAPH_PPPOE
981.1Sdyoungoptions 	NETGRAPH_PPTPGRE
991.1Sdyoungoptions 	NETGRAPH_RFC1490
1001.1Sdyoungoptions 	NETGRAPH_TEE
1011.1Sdyoungoptions 	NETGRAPH_UI
1021.1Sdyoungoptions 	NETGRAPH_VJC
1031.1Sdyoungoptions 	NETGRAPH_VLAN
1041.1Sdyoung#options 	INET6		# IPV6
1051.1Sdyoung#options 	IPSEC		# IP security
1061.1Sdyoung#options 	IPSEC_DEBUG	# debug for IP security
1071.1Sdyoung#options 	MROUTING	# packet forwarding of multicast packets
1081.1Sdyoung#options 	NETATALK	# AppleTalk (over Ethernet) protocol
1091.1Sdyoung#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1101.1Sdyoung#options 	PPP_DEFLATE	# Deflate compression support for PPP
1111.1Sdyoung#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1121.1Sdyoung
1131.17Salnsn# JIT compiler for bpfilter
1141.17Salnsn#options	SLJIT
1151.17Salnsn#options	BPFJIT
1161.17Salnsn
1171.1Sdyoung# These options enable verbose messages for several subsystems.
1181.1Sdyoung# Warning, these may compile large string tables into the kernel!
1191.1Sdyoung#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1201.1Sdyoung#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1211.1Sdyoung#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1221.1Sdyoung#options 	SCSIVERBOSE	# human readable SCSI error messages
1231.1Sdyoung#options 	USBVERBOSE	# verbose USB device autoconfig messages
1241.1Sdyoung
1251.1Sdyoungoptions 	NFS_BOOT_DHCP
1261.1Sdyoung
1271.1Sdyoung# Pretty much only one device to use for the root file system.
1281.1Sdyoungconfig		netbsd-admsw0	root on admsw0 type nfs
1291.1Sdyoung
1301.1Sdyoungmainbus0 	at root
1311.1Sdyoung
1321.1Sdyoungcpu0 		at mainbus?
1331.1Sdyoung
1341.1Sdyoung# Network pseudo-devices
1351.13Schristospseudo-device	bpfilter			# Berkeley packet filter
1361.26Ssevanpseudo-device 	carp				# Common Address Redundancy Protocol
1371.1Sdyoungpseudo-device	loop				# network loopback
1381.13Schristos#pseudo-device	ppp				# Point-to-Point Protocol
1391.13Schristos#pseudo-device	sl				# Serial Line IP
1401.13Schristos#pseudo-device	tun				# network tunneling over tty
1411.13Schristos#pseudo-device	gre				# generic L3 over IP tunnel
1421.13Schristos#pseudo-device	ipip				# RFC 2003 IP Encapsulation
1431.1Sdyoung#pseudo-device	gif				# RFC1933 tunnel
1441.13Schristos#pseudo-device	faith				# IPv[46] tcp relay translation
1451.1Sdyoung# Miscellaneous pseudo-devices
1461.1Sdyoungpseudo-device	pty				# pseudo-terminals
1471.14Schristos#pseudo-device	sequencer			# MIDI sequencer
1481.1Sdyoung
1491.1Sdyoung# A pseudo device needed for Coda		# also needs CODA (above)
1501.13Schristos#pseudo-device	vcoda				# coda minicache <-> venus comm.
1511.1Sdyoungpseudo-device	ksyms
1521.1Sdyoung
1531.1Sdyoungobio*		at mainbus?
1541.2Sdyoungextio*		at mainbus?
1551.2Sdyounggpio*		at mainbus?
1561.2Sdyoung
1571.1Sdyounguart*		at obio? addr ?
1581.1Sdyoungadmsw*		at obio? addr ?
1591.2Sdyoung#admflash*	at obio? addr ?
1601.2Sdyoung#options 	VND_COMPRESSION
1611.26Ssevan
1621.26Ssevaninclude "dev/veriexec.config"
163