ADM5120-NB revision 1.21
11.21Srin#	$NetBSD: ADM5120-NB,v 1.21 2017/02/19 07:47:00 rin Exp $
21.1Sdyoung#
31.1Sdyoung# Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
41.1Sdyoung# DBAu1000 and DBAu1500 evaluation boards.
51.1Sdyoung
61.1Sdyounginclude 	"arch/evbmips/conf/std.adm5120"
71.1Sdyoung
81.21Srin#ident 		"GENERIC-$Revision: 1.21 $"
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.1Sdyoungoptions 	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.1Sdyoung#options 	MEMORY_DISK_ROOT_SIZE=16384	# 2 Megabytes
401.1Sdyoung
411.1Sdyoung# Compatibility options
421.1Sdyoung#options 	COMPAT_43	# compatibility with 4.3BSD binaries
431.19Sdholland#options 	COMPAT_09	# NetBSD 0.9,
441.19Sdholland#options 	COMPAT_10	# NetBSD 1.0,
451.19Sdholland#options 	COMPAT_11	# NetBSD 1.1,
461.19Sdholland#options 	COMPAT_12	# NetBSD 1.2,
471.19Sdholland#options 	COMPAT_13	# NetBSD 1.3,
481.19Sdholland#options 	COMPAT_14	# NetBSD 1.4,
491.19Sdholland#options 	COMPAT_16	# NetBSD 1.6,
501.19Sdholland#options 	COMPAT_20	# NetBSD 2.0,
511.19Sdholland#options 	COMPAT_30	# NetBSD 3.0, and
521.3Stsutsui#options 	COMPAT_40	# NetBSD 4.0 binary compatibility
531.1Sdyoung#options 	EXEC_ECOFF	# exec ECOFF binaries
541.1Sdyoung#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
551.1Sdyoung
561.1Sdyoung# File systems
571.1Sdyoungfile-system	FFS		# Berkeley Fast Filesystem
581.1Sdyoung#file-system	MFS		# memory-based filesystem
591.1Sdyoung#file-system 	EXT2FS		# second extended file system (linux)
601.1Sdyoungfile-system	NFS		# Sun NFS-compatible filesystem client
611.1Sdyoung#file-system	KERNFS		# kernel data-structure filesystem
621.1Sdyoung#file-system	NULLFS		# NULL layered filesystem
631.1Sdyoung#file-system 	OVERLAY		# overlay file system
641.1Sdyoung#file-system	FDESC		# user file descriptor filesystem
651.1Sdyoung#file-system	UMAPFS		# uid/gid remapping filesystem
661.1Sdyoung#file-system	LFS		# Log-based filesystem (still experimental)
671.1Sdyoung#file-system	PROCFS		# /proc
681.1Sdyoung#file-system	CD9660		# ISO 9660 + Rock Ridge file system
691.1Sdyoung#file-system	UNION		# union file system
701.1Sdyoung#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
711.1Sdyoung#file-system 	CODA		# Coda File System; also needs vcoda (below)
721.1Sdyoung
731.1Sdyoung# File system options
741.1Sdyoung#options 	NFSSERVER	# Sun NFS-compatible filesystem server
751.7Sbouyer#options 	QUOTA		# legacy UFS quotas
761.7Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
771.21Srin#options 	DISKLABEL_EI	# disklabel Endian Independent support
781.9Swiz#options 	FFS_EI		# FFS Endian Independent support
791.1Sdyoung#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
801.1Sdyoung				# immutable) behave as system flags.
811.1Sdyoung
821.1Sdyoung# Networking options
831.1Sdyoungoptions 	GATEWAY		# IP packet forwarding
841.1Sdyoungoptions 	INET		# Internet protocols
851.1Sdyoungoptions 	NETGRAPH	# Netgraph
861.1Sdyoungoptions 	NETGRAPH_ASYNC
871.1Sdyoungoptions 	NETGRAPH_BPF
881.1Sdyoungoptions 	NETGRAPH_CISCO
891.1Sdyoungoptions 	NETGRAPH_ECHO
901.1Sdyoungoptions 	NETGRAPH_EIFACE
911.1Sdyoungoptions 	NETGRAPH_ETF
921.1Sdyoungoptions 	NETGRAPH_ETHER
931.1Sdyoungoptions 	NETGRAPH_FRAME_RELAY
941.1Sdyoungoptions 	NETGRAPH_HOLE
951.1Sdyoungoptions 	NETGRAPH_HUB
961.1Sdyoungoptions 	NETGRAPH_IFACE
971.1Sdyoungoptions 	NETGRAPH_KSOCKET
981.1Sdyoungoptions 	NETGRAPH_L2TP
991.1Sdyoungoptions 	NETGRAPH_LMI
1001.1Sdyoungoptions 	NETGRAPH_ONE2MANY
1011.1Sdyoungoptions 	NETGRAPH_PPP
1021.1Sdyoungoptions 	NETGRAPH_PPPOE
1031.1Sdyoungoptions 	NETGRAPH_PPTPGRE
1041.1Sdyoungoptions 	NETGRAPH_RFC1490
1051.1Sdyoungoptions 	NETGRAPH_TEE
1061.1Sdyoungoptions 	NETGRAPH_UI
1071.1Sdyoungoptions 	NETGRAPH_VJC
1081.1Sdyoungoptions 	NETGRAPH_VLAN
1091.1Sdyoung#options 	INET6		# IPV6
1101.1Sdyoung#options 	IPSEC		# IP security
1111.1Sdyoung#options 	IPSEC_DEBUG	# debug for IP security
1121.1Sdyoung#options 	MROUTING	# packet forwarding of multicast packets
1131.1Sdyoung#options 	NETATALK	# AppleTalk (over Ethernet) protocol
1141.1Sdyoung#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1151.1Sdyoung#options 	PPP_DEFLATE	# Deflate compression support for PPP
1161.1Sdyoung#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1171.1Sdyoung#options 	IPFILTER_LOG	# ipmon(8) log support
1181.1Sdyoung
1191.1Sdyoung# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
1201.1Sdyoung#options 	TCP_COMPAT_42
1211.1Sdyoung
1221.17Salnsn# JIT compiler for bpfilter
1231.17Salnsn#options	SLJIT
1241.17Salnsn#options	BPFJIT
1251.17Salnsn
1261.1Sdyoung# These options enable verbose messages for several subsystems.
1271.1Sdyoung# Warning, these may compile large string tables into the kernel!
1281.1Sdyoung#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1291.1Sdyoung#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1301.1Sdyoung#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1311.1Sdyoung#options 	SCSIVERBOSE	# human readable SCSI error messages
1321.1Sdyoung#options 	USBVERBOSE	# verbose USB device autoconfig messages
1331.1Sdyoung
1341.1Sdyoungoptions 	NFS_BOOT_DHCP
1351.1Sdyoung
1361.1Sdyoung# Pretty much only one device to use for the root file system.
1371.1Sdyoungconfig		netbsd-admsw0	root on admsw0 type nfs
1381.1Sdyoung
1391.1Sdyoungmainbus0 	at root
1401.1Sdyoung
1411.1Sdyoungcpu0 		at mainbus?
1421.1Sdyoung
1431.1Sdyoung# Network pseudo-devices
1441.13Schristospseudo-device	bpfilter			# Berkeley packet filter
1451.1Sdyoungpseudo-device	loop				# network loopback
1461.13Schristos#pseudo-device	ppp				# Point-to-Point Protocol
1471.13Schristos#pseudo-device	sl				# Serial Line IP
1481.13Schristos#pseudo-device	strip				# Starmode Radio IP (Metricom)
1491.13Schristos#pseudo-device	tun				# network tunneling over tty
1501.13Schristos#pseudo-device	gre				# generic L3 over IP tunnel
1511.13Schristos#pseudo-device	ipip				# RFC 2003 IP Encapsulation
1521.1Sdyoung#pseudo-device	gif				# RFC1933 tunnel
1531.13Schristos#pseudo-device	faith				# IPv[46] tcp relay translation
1541.1Sdyoung# Miscellaneous pseudo-devices
1551.1Sdyoungpseudo-device	pty				# pseudo-terminals
1561.14Schristos#pseudo-device	sequencer			# MIDI sequencer
1571.1Sdyoung
1581.1Sdyoung# A pseudo device needed for Coda		# also needs CODA (above)
1591.13Schristos#pseudo-device	vcoda				# coda minicache <-> venus comm.
1601.1Sdyoungpseudo-device	ksyms
1611.1Sdyoung
1621.1Sdyoungobio*		at mainbus?
1631.2Sdyoungextio*		at mainbus?
1641.2Sdyounggpio*		at mainbus?
1651.2Sdyoung
1661.1Sdyounguart*		at obio? addr ?
1671.1Sdyoungadmsw*		at obio? addr ?
1681.2Sdyoung#admflash*	at obio? addr ?
1691.2Sdyoung#options 	VND_COMPRESSION
170