ADM5120-NB revision 1.31
1#	$NetBSD: ADM5120-NB,v 1.31 2022/08/07 02:52:25 simonb Exp $
2#
3# Kernel config for the ADM5120 based boards and routers,
4# including the RouterBOARD 100 series.
5
6include 	"arch/evbmips/conf/std.adm5120"
7
8#ident 		"GENERIC-$Revision: 1.31 $"
9
10maxusers	32
11
12options 	MIPS32
13options 	NOFPU		# No FPU
14options 	FPEMUL		# emulate FPU insn
15#options 	CONSPEED=115200	# YAMON default
16#options 	HZ=512		# for profiling
17options 	MEMSIZE="(16*1024*1024)"
18
19#options 	LOCKDEBUG
20options 	SOSEND_COUNTERS
21options 	INET_CSUM_COUNTERS
22options 	TCP_CSUM_COUNTERS
23options 	UDP_CSUM_COUNTERS
24options 	TCP_OUTPUT_COUNTERS
25
26#options 	NTP		# network time protocol
27
28# Debugging options
29##options 	DIAGNOSTIC	# extra kernel sanity checking
30##options 	DEBUG		# extra kernel debugging support
31options 	DDB		# kernel dynamic debugger
32options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
33makeoptions 	DEBUG="-g"	# compile full symbol table
34makeoptions 	CPUFLAGS="-march=4kc"
35makeoptions	COPY_SYMTAB=1	# size for embedded symbol table
36
37#options 	MEMORY_DISK_HOOKS
38#options 	MEMORY_DISK_IS_ROOT	# Force root on ram-disk
39#options 	MEMORY_DISK_ROOT_SIZE=16384	# size of memory disk, in blocks
40
41# Compatibility options
42include         "conf/compat_netbsd50.config"
43#options 	EXEC_ECOFF	# exec ECOFF binaries
44#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
45
46# File systems
47file-system	FFS		# Berkeley Fast Filesystem
48#file-system	MFS		# memory-based filesystem
49#file-system 	EXT2FS		# second extended file system (linux)
50file-system	NFS		# Sun NFS-compatible filesystem client
51#file-system	KERNFS		# kernel data-structure filesystem
52#file-system	NULLFS		# NULL layered filesystem
53#file-system 	OVERLAY		# overlay file system
54#file-system	FDESC		# user file descriptor filesystem
55#file-system	UMAPFS		# uid/gid remapping filesystem
56#file-system	LFS		# Log-based filesystem (still experimental)
57#file-system	PROCFS		# /proc
58#file-system	CD9660		# ISO 9660 + Rock Ridge file system
59#file-system	UNION		# union file system
60#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
61#file-system 	CODA		# Coda File System; also needs vcoda (below)
62
63# File system options
64#options 	FFS_EI		# FFS Endian Independent support
65#options 	QUOTA		# legacy UFS quotas
66#options 	QUOTA2		# new, in-filesystem UFS quotas
67#options 	UFS_DIRHASH	# UFS Large Directory Hashing
68#options 	UFS_EXTATTR	# Extended attribute support for UFS1
69#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
70				# immutable) behave as system flags.
71#options 	DISKLABEL_EI	# disklabel Endian Independent support
72#options 	NFSSERVER	# Network File System server
73
74# Alternate buffer queue strategies for better responsiveness under high
75# disk I/O load.
76#options 	BUFQ_READPRIO
77options 	BUFQ_PRIOCSCAN
78
79# Networking options
80options 	GATEWAY		# IP packet forwarding
81options 	INET		# Internet protocols
82options 	NETGRAPH	# Netgraph
83options 	NETGRAPH_ASYNC
84options 	NETGRAPH_BPF
85options 	NETGRAPH_CISCO
86options 	NETGRAPH_ECHO
87options 	NETGRAPH_EIFACE
88options 	NETGRAPH_ETF
89options 	NETGRAPH_ETHER
90options 	NETGRAPH_FRAME_RELAY
91options 	NETGRAPH_HOLE
92options 	NETGRAPH_HUB
93options 	NETGRAPH_IFACE
94options 	NETGRAPH_KSOCKET
95options 	NETGRAPH_L2TP
96options 	NETGRAPH_LMI
97options 	NETGRAPH_ONE2MANY
98options 	NETGRAPH_PPP
99options 	NETGRAPH_PPPOE
100options 	NETGRAPH_PPTPGRE
101options 	NETGRAPH_RFC1490
102options 	NETGRAPH_TEE
103options 	NETGRAPH_UI
104options 	NETGRAPH_VJC
105options 	NETGRAPH_VLAN
106#options 	INET6		# IPV6
107#options 	IPSEC		# IP security
108#options 	IPSEC_DEBUG	# debug for IP security
109#options 	MROUTING	# packet forwarding of multicast packets
110#options 	NETATALK	# AppleTalk (over Ethernet) protocol
111#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
112#options 	PPP_DEFLATE	# Deflate compression support for PPP
113#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
114
115# JIT compiler for bpfilter
116#options	SLJIT
117#options	BPFJIT
118
119# These options enable verbose messages for several subsystems.
120# Warning, these may compile large string tables into the kernel!
121#options 	MIIVERBOSE	# verbose PHY autoconfig messages
122#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
123#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
124#options 	SCSIVERBOSE	# human readable SCSI error messages
125#options 	USBVERBOSE	# verbose USB device autoconfig messages
126
127options 	NFS_BOOT_DHCP
128
129# Pretty much only one device to use for the root file system.
130config		netbsd-admsw0	root on admsw0 type nfs
131
132mainbus0 	at root
133
134cpu0 		at mainbus?
135
136# Network pseudo-devices
137pseudo-device	bpfilter			# Berkeley packet filter
138pseudo-device 	carp				# Common Address Redundancy Protocol
139pseudo-device	loop				# network loopback
140#pseudo-device	ppp				# Point-to-Point Protocol
141#pseudo-device	sl				# Serial Line IP
142#pseudo-device	tun				# network tunneling over tty
143#pseudo-device	gre				# generic L3 over IP tunnel
144#pseudo-device	ipip				# RFC 2003 IP Encapsulation
145#pseudo-device	gif				# RFC1933 tunnel
146#pseudo-device	faith				# IPv[46] tcp relay translation
147# Miscellaneous pseudo-devices
148pseudo-device	pty				# pseudo-terminals
149#pseudo-device	sequencer			# MIDI sequencer
150
151# A pseudo device needed for Coda		# also needs CODA (above)
152#pseudo-device	vcoda				# coda minicache <-> venus comm.
153pseudo-device	ksyms
154
155obio*		at mainbus?
156extio*		at mainbus?
157gpio*		at mainbus?
158
159uart*		at obio? addr ?
160admsw*		at obio? addr ?
161#admflash*	at obio? addr ?
162#options 	VND_COMPRESSION
163
164include "dev/veriexec.config"
165