ADM5120-USB revision 1.33
11.33Ssimonb#	$NetBSD: ADM5120-USB,v 1.33 2022/08/07 02:52:25 simonb Exp $
21.1Sdyoung#
31.31Ssimonb# Kernel config for the ADM5120 based boards and routers,
41.31Ssimonb# including the RouterBOARD 100 series.
51.1Sdyoung
61.1Sdyounginclude 	"arch/evbmips/conf/std.adm5120"
71.1Sdyoung
81.33Ssimonb#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.1Sdyoungoptions		CONSPEED=115200	# YAMON default
161.32Ssimonb#options 	HZ=512		# for profiling
171.1Sdyoung
181.1Sdyoung#options 	LOCKDEBUG
191.1Sdyoungoptions 	SOSEND_COUNTERS
201.1Sdyoungoptions 	INET_CSUM_COUNTERS
211.1Sdyoungoptions 	TCP_CSUM_COUNTERS
221.1Sdyoungoptions 	UDP_CSUM_COUNTERS
231.1Sdyoungoptions 	TCP_OUTPUT_COUNTERS
241.1Sdyoung
251.1Sdyoung#options 	NTP		# network time protocol
261.1Sdyoung
271.1Sdyoung# Debugging options
281.1Sdyoung##options 	DIAGNOSTIC	# extra kernel sanity checking
291.1Sdyoung##options 	DEBUG		# extra kernel debugging support
301.1Sdyoungoptions 	DDB		# kernel dynamic debugger
311.1Sdyoungoptions 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
321.1Sdyoungmakeoptions 	DEBUG="-g"	# compile full symbol table
331.1Sdyoungmakeoptions 	CPUFLAGS="-march=4kc"	# compile full symbol table
341.18Sjoergmakeoptions	COPY_SYMTAB=1	# size for embedded symbol table
351.1Sdyoung
361.30Srin#options 	MEMORY_DISK_HOOKS
371.30Srin#options 	MEMORY_DISK_IS_ROOT		# Force root on ram-disk
381.30Srin#options 	MEMORY_DISK_ROOT_SIZE=16384	# size of memory disk, in blocks
391.1Sdyoung
401.1Sdyoung# Compatibility options
411.23Smrg#include 	"conf/compat_netbsd10.config"
421.1Sdyoung#options 	EXEC_ECOFF	# exec ECOFF binaries
431.1Sdyoung#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
441.1Sdyoung
451.1Sdyoung# File systems
461.1Sdyoungfile-system	FFS		# Berkeley Fast Filesystem
471.1Sdyoungfile-system	MFS		# memory-based filesystem
481.1Sdyoung#file-system 	EXT2FS		# second extended file system (linux) 
491.1Sdyoungfile-system	NFS		# Sun NFS-compatible filesystem client
501.1Sdyoung#file-system	KERNFS		# kernel data-structure filesystem
511.1Sdyoung#file-system	NULLFS		# NULL layered filesystem
521.1Sdyoung#file-system 	OVERLAY		# overlay file system
531.1Sdyoung#file-system	FDESC		# user file descriptor filesystem
541.1Sdyoung#file-system	UMAPFS		# uid/gid remapping filesystem
551.1Sdyoung#file-system	LFS		# Log-based filesystem (still experimental)
561.1Sdyoung#file-system	PROCFS		# /proc
571.1Sdyoung#file-system	CD9660		# ISO 9660 + Rock Ridge file system
581.1Sdyoung#file-system	UNION		# union file system
591.1Sdyoung#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
601.1Sdyoung#file-system 	CODA		# Coda File System; also needs vcoda (below)
611.1Sdyoung
621.1Sdyoung# File system options
631.33Ssimonb#options 	FFS_EI		# FFS Endian Independent support
641.7Sbouyer#options 	QUOTA		# legacy UFS quotas
651.7Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
661.33Ssimonb#options 	UFS_DIRHASH	# UFS Large Directory Hashing
671.33Ssimonb#options 	UFS_EXTATTR	# Extended attribute support for UFS1
681.1Sdyoung#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
691.1Sdyoung				# immutable) behave as system flags.
701.33Ssimonb#options 	DISKLABEL_EI	# disklabel Endian Independent support
711.33Ssimonb#options 	NFSSERVER	# Network File System server
721.1Sdyoung
731.27Ssevan# Alternate buffer queue strategies for better responsiveness under high
741.27Ssevan# disk I/O load.
751.27Ssevan#options 	BUFQ_READPRIO
761.27Ssevanoptions 	BUFQ_PRIOCSCAN
771.27Ssevan
781.1Sdyoung# Networking options
791.1Sdyoung#options 	GATEWAY		# IP packet forwarding
801.1Sdyoungoptions 	INET		# Internet protocols
811.1Sdyoung#options 	INET6		# IPV6
821.1Sdyoung#options 	IPSEC		# IP security
831.1Sdyoung#options 	IPSEC_DEBUG	# debug for IP security
841.1Sdyoung#options 	MROUTING	# packet forwarding of multicast packets
851.1Sdyoung#options 	NETATALK	# AppleTalk (over Ethernet) protocol
861.1Sdyoung#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
871.1Sdyoung#options 	PPP_DEFLATE	# Deflate compression support for PPP
881.1Sdyoung#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
891.1Sdyoung
901.17Salnsn# JIT compiler for bpfilter
911.17Salnsn#options	SLJIT
921.17Salnsn#options	BPFJIT
931.17Salnsn
941.1Sdyoung# These options enable verbose messages for several subsystems.
951.1Sdyoung# Warning, these may compile large string tables into the kernel!
961.1Sdyoung#options 	MIIVERBOSE	# verbose PHY autoconfig messages
971.1Sdyoung#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
981.1Sdyoung#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
991.1Sdyoung#options         SCSIVERBOSE     # human readable SCSI error messages
1001.1Sdyoung#options 	USBVERBOSE	# verbose USB device autoconfig messages
1011.1Sdyoung
1021.1Sdyoungoptions 	NFS_BOOT_DHCP
1031.1Sdyoung
1041.1Sdyoung# Pretty much only one device to use for the root file system.
1051.1Sdyoung#config		netbsd		root on ? type ?
1061.1Sdyoungconfig		netbsd-admsw0	root on admsw0 type nfs
1071.1Sdyoung
1081.1Sdyoungmainbus0 	at root
1091.1Sdyoung
1101.1Sdyoungcpu0 		at mainbus?
1111.1Sdyoung
1121.1Sdyoung# Network pseudo-devices
1131.13Schristos#pseudo-device	bpfilter			# Berkeley packet filter
1141.28Ssevanpseudo-device 	carp				# Common Address Redundancy Protocol
1151.1Sdyoungpseudo-device	loop				# network loopback
1161.13Schristos#pseudo-device	ppp				# Point-to-Point Protocol
1171.13Schristos#pseudo-device	sl				# Serial Line IP
1181.13Schristos#pseudo-device	tun				# network tunneling over tty
1191.13Schristos#pseudo-device	gre				# generic L3 over IP tunnel
1201.13Schristos#pseudo-device	ipip				# RFC 2003 IP Encapsulation
1211.13Schristos#pseudo-device	gif				# RFC1933  tunnel
1221.13Schristos#pseudo-device	faith				# IPv[46] tcp relay translation 
1231.1Sdyoung# Miscellaneous pseudo-devices
1241.1Sdyoungpseudo-device	pty				# pseudo-terminals
1251.1Sdyoung#pseudo-device	tb		1		# tablet line discipline
1261.14Schristos#pseudo-device	sequencer			# MIDI sequencer
1271.1Sdyoung#options 	RND_COM				# use "com" randomness (BROKEN)
1281.1Sdyoung
1291.1Sdyoung# A pseudo device needed for Coda		# also needs CODA (above)
1301.13Schristos#pseudo-device	vcoda				# coda minicache <-> venus comm.
1311.5Shannkenpseudo-device	md				# memory disk device (ramdisk)
1321.1Sdyoungpseudo-device	ksyms
1331.1Sdyoung
1341.1Sdyoungobio*		at mainbus?
1351.2Sdyounggpio*		at mainbus?
1361.2Sdyoungextio*		at mainbus?
1371.2Sdyoung
1381.1Sdyounguart*		at obio? addr ?
1391.1Sdyoungadmsw*		at obio? addr ?
1401.1Sdyoung
1411.1Sdyoung#USB
1421.1Sdyoungoptions		USB_DEBUG
1431.1Sdyoungoptions		UHUB_DEBUG
1441.1Sdyoungahci*		at obio? addr ?
1451.1Sdyoungusb*            at ahci?
1461.1Sdyounguhub*           at usb?
1471.1Sdyounguhub*           at uhub? port ? configuration ? interface ?
1481.1Sdyoungugen*           at uhub? port ?
1491.1Sdyoungumass*          at uhub? port ?
1501.1Sdyoung
1511.1Sdyoungoptions       MSGBUFSIZE=65536
1521.1Sdyoung
1531.1Sdyoungscsibus* at scsi?
1541.1Sdyoungsd*     at scsibus? target ? lun ?      # SCSI disk drives
1551.1Sdyoung
1561.28Ssevaninclude "dev/veriexec.config"
157