ADM5120-NB revision 1.33
11.33Sandvar#	$NetBSD: ADM5120-NB,v 1.33 2024/03/26 10:16:47 andvar 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.33Sandvar#ident 		"GENERIC-$Revision: 1.33 $"
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.31Ssimonb#options 	DISKLABEL_EI	# disklabel Endian Independent support
701.31Ssimonb#options 	NFSSERVER	# Network File System server
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.1Sdyoung#options 	INET6		# IPV6
811.1Sdyoung#options 	IPSEC		# IP security
821.1Sdyoung#options 	IPSEC_DEBUG	# debug for IP security
831.1Sdyoung#options 	MROUTING	# packet forwarding of multicast packets
841.1Sdyoung#options 	NETATALK	# AppleTalk (over Ethernet) protocol
851.1Sdyoung#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
861.1Sdyoung#options 	PPP_DEFLATE	# Deflate compression support for PPP
871.1Sdyoung#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
881.1Sdyoung
891.17Salnsn# JIT compiler for bpfilter
901.17Salnsn#options	SLJIT
911.17Salnsn#options	BPFJIT
921.17Salnsn
931.1Sdyoung# These options enable verbose messages for several subsystems.
941.1Sdyoung# Warning, these may compile large string tables into the kernel!
951.1Sdyoung#options 	MIIVERBOSE	# verbose PHY autoconfig messages
961.1Sdyoung#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
971.1Sdyoung#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
981.1Sdyoung#options 	SCSIVERBOSE	# human readable SCSI error messages
991.1Sdyoung#options 	USBVERBOSE	# verbose USB device autoconfig messages
1001.1Sdyoung
1011.1Sdyoungoptions 	NFS_BOOT_DHCP
1021.1Sdyoung
1031.1Sdyoung# Pretty much only one device to use for the root file system.
1041.33Sandvarconfig		netbsd		root on ? type ?
1051.1Sdyoung
1061.1Sdyoungmainbus0 	at root
1071.1Sdyoung
1081.1Sdyoungcpu0 		at mainbus?
1091.1Sdyoung
1101.1Sdyoung# Network pseudo-devices
1111.13Schristospseudo-device	bpfilter			# Berkeley packet filter
1121.26Ssevanpseudo-device 	carp				# Common Address Redundancy Protocol
1131.1Sdyoungpseudo-device	loop				# network loopback
1141.13Schristos#pseudo-device	ppp				# Point-to-Point Protocol
1151.13Schristos#pseudo-device	sl				# Serial Line IP
1161.13Schristos#pseudo-device	tun				# network tunneling over tty
1171.13Schristos#pseudo-device	gre				# generic L3 over IP tunnel
1181.13Schristos#pseudo-device	ipip				# RFC 2003 IP Encapsulation
1191.1Sdyoung#pseudo-device	gif				# RFC1933 tunnel
1201.13Schristos#pseudo-device	faith				# IPv[46] tcp relay translation
1211.1Sdyoung# Miscellaneous pseudo-devices
1221.1Sdyoungpseudo-device	pty				# pseudo-terminals
1231.14Schristos#pseudo-device	sequencer			# MIDI sequencer
1241.1Sdyoung
1251.1Sdyoung# A pseudo device needed for Coda		# also needs CODA (above)
1261.13Schristos#pseudo-device	vcoda				# coda minicache <-> venus comm.
1271.1Sdyoungpseudo-device	ksyms
1281.1Sdyoung
1291.1Sdyoungobio*		at mainbus?
1301.33Sandvargpio*		at mainbus?
1311.2Sdyoungextio*		at mainbus?
1321.1Sdyounguart*		at obio? addr ?
1331.1Sdyoungadmsw*		at obio? addr ?
1341.2Sdyoung#admflash*	at obio? addr ?
1351.2Sdyoung#options 	VND_COMPRESSION
1361.26Ssevan
1371.26Ssevaninclude "dev/veriexec.config"
138