ADM5120-NB revision 1.31
11.31Ssimonb#	$NetBSD: ADM5120-NB,v 1.31 2022/08/07 02:52:25 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.31Ssimonb#ident 		"GENERIC-$Revision: 1.31 $"
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.31Ssimonb#options 	FFS_EI		# FFS Endian Independent support
651.7Sbouyer#options 	QUOTA		# legacy UFS quotas
661.7Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
671.31Ssimonb#options 	UFS_DIRHASH	# UFS Large Directory Hashing
681.31Ssimonb#options 	UFS_EXTATTR	# Extended attribute support for UFS1
691.1Sdyoung#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
701.1Sdyoung				# immutable) behave as system flags.
711.31Ssimonb#options 	DISKLABEL_EI	# disklabel Endian Independent support
721.31Ssimonb#options 	NFSSERVER	# Network File System server
731.1Sdyoung
741.25Ssevan# Alternate buffer queue strategies for better responsiveness under high
751.25Ssevan# disk I/O load.
761.25Ssevan#options 	BUFQ_READPRIO
771.25Ssevanoptions 	BUFQ_PRIOCSCAN
781.25Ssevan
791.1Sdyoung# Networking options
801.1Sdyoungoptions 	GATEWAY		# IP packet forwarding
811.1Sdyoungoptions 	INET		# Internet protocols
821.1Sdyoungoptions 	NETGRAPH	# Netgraph
831.1Sdyoungoptions 	NETGRAPH_ASYNC
841.1Sdyoungoptions 	NETGRAPH_BPF
851.1Sdyoungoptions 	NETGRAPH_CISCO
861.1Sdyoungoptions 	NETGRAPH_ECHO
871.1Sdyoungoptions 	NETGRAPH_EIFACE
881.1Sdyoungoptions 	NETGRAPH_ETF
891.1Sdyoungoptions 	NETGRAPH_ETHER
901.1Sdyoungoptions 	NETGRAPH_FRAME_RELAY
911.1Sdyoungoptions 	NETGRAPH_HOLE
921.1Sdyoungoptions 	NETGRAPH_HUB
931.1Sdyoungoptions 	NETGRAPH_IFACE
941.1Sdyoungoptions 	NETGRAPH_KSOCKET
951.1Sdyoungoptions 	NETGRAPH_L2TP
961.1Sdyoungoptions 	NETGRAPH_LMI
971.1Sdyoungoptions 	NETGRAPH_ONE2MANY
981.1Sdyoungoptions 	NETGRAPH_PPP
991.1Sdyoungoptions 	NETGRAPH_PPPOE
1001.1Sdyoungoptions 	NETGRAPH_PPTPGRE
1011.1Sdyoungoptions 	NETGRAPH_RFC1490
1021.1Sdyoungoptions 	NETGRAPH_TEE
1031.1Sdyoungoptions 	NETGRAPH_UI
1041.1Sdyoungoptions 	NETGRAPH_VJC
1051.1Sdyoungoptions 	NETGRAPH_VLAN
1061.1Sdyoung#options 	INET6		# IPV6
1071.1Sdyoung#options 	IPSEC		# IP security
1081.1Sdyoung#options 	IPSEC_DEBUG	# debug for IP security
1091.1Sdyoung#options 	MROUTING	# packet forwarding of multicast packets
1101.1Sdyoung#options 	NETATALK	# AppleTalk (over Ethernet) protocol
1111.1Sdyoung#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1121.1Sdyoung#options 	PPP_DEFLATE	# Deflate compression support for PPP
1131.1Sdyoung#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1141.1Sdyoung
1151.17Salnsn# JIT compiler for bpfilter
1161.17Salnsn#options	SLJIT
1171.17Salnsn#options	BPFJIT
1181.17Salnsn
1191.1Sdyoung# These options enable verbose messages for several subsystems.
1201.1Sdyoung# Warning, these may compile large string tables into the kernel!
1211.1Sdyoung#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1221.1Sdyoung#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1231.1Sdyoung#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1241.1Sdyoung#options 	SCSIVERBOSE	# human readable SCSI error messages
1251.1Sdyoung#options 	USBVERBOSE	# verbose USB device autoconfig messages
1261.1Sdyoung
1271.1Sdyoungoptions 	NFS_BOOT_DHCP
1281.1Sdyoung
1291.1Sdyoung# Pretty much only one device to use for the root file system.
1301.1Sdyoungconfig		netbsd-admsw0	root on admsw0 type nfs
1311.1Sdyoung
1321.1Sdyoungmainbus0 	at root
1331.1Sdyoung
1341.1Sdyoungcpu0 		at mainbus?
1351.1Sdyoung
1361.1Sdyoung# Network pseudo-devices
1371.13Schristospseudo-device	bpfilter			# Berkeley packet filter
1381.26Ssevanpseudo-device 	carp				# Common Address Redundancy Protocol
1391.1Sdyoungpseudo-device	loop				# network loopback
1401.13Schristos#pseudo-device	ppp				# Point-to-Point Protocol
1411.13Schristos#pseudo-device	sl				# Serial Line IP
1421.13Schristos#pseudo-device	tun				# network tunneling over tty
1431.13Schristos#pseudo-device	gre				# generic L3 over IP tunnel
1441.13Schristos#pseudo-device	ipip				# RFC 2003 IP Encapsulation
1451.1Sdyoung#pseudo-device	gif				# RFC1933 tunnel
1461.13Schristos#pseudo-device	faith				# IPv[46] tcp relay translation
1471.1Sdyoung# Miscellaneous pseudo-devices
1481.1Sdyoungpseudo-device	pty				# pseudo-terminals
1491.14Schristos#pseudo-device	sequencer			# MIDI sequencer
1501.1Sdyoung
1511.1Sdyoung# A pseudo device needed for Coda		# also needs CODA (above)
1521.13Schristos#pseudo-device	vcoda				# coda minicache <-> venus comm.
1531.1Sdyoungpseudo-device	ksyms
1541.1Sdyoung
1551.1Sdyoungobio*		at mainbus?
1561.2Sdyoungextio*		at mainbus?
1571.2Sdyounggpio*		at mainbus?
1581.2Sdyoung
1591.1Sdyounguart*		at obio? addr ?
1601.1Sdyoungadmsw*		at obio? addr ?
1611.2Sdyoung#admflash*	at obio? addr ?
1621.2Sdyoung#options 	VND_COMPRESSION
1631.26Ssevan
1641.26Ssevaninclude "dev/veriexec.config"
165