1*bffd2b8aSsimonb# $NetBSD: ADM5120-NB,v 1.31 2022/08/07 02:52:25 simonb Exp $ 2320845ddSdyoung# 3d086d2e5Ssimonb# Kernel config for the ADM5120 based boards and routers, 4d086d2e5Ssimonb# including the RouterBOARD 100 series. 5320845ddSdyoung 6320845ddSdyounginclude "arch/evbmips/conf/std.adm5120" 7320845ddSdyoung 8*bffd2b8aSsimonb#ident "GENERIC-$Revision: 1.31 $" 9320845ddSdyoung 10320845ddSdyoungmaxusers 32 11320845ddSdyoung 12320845ddSdyoungoptions MIPS32 13320845ddSdyoungoptions NOFPU # No FPU 14149888dbSmattoptions FPEMUL # emulate FPU insn 15320845ddSdyoung#options CONSPEED=115200 # YAMON default 16883e4f39Ssimonb#options HZ=512 # for profiling 17320845ddSdyoungoptions MEMSIZE="(16*1024*1024)" 18320845ddSdyoung 19320845ddSdyoung#options LOCKDEBUG 20320845ddSdyoungoptions SOSEND_COUNTERS 21320845ddSdyoungoptions INET_CSUM_COUNTERS 22320845ddSdyoungoptions TCP_CSUM_COUNTERS 23320845ddSdyoungoptions UDP_CSUM_COUNTERS 24320845ddSdyoungoptions TCP_OUTPUT_COUNTERS 25320845ddSdyoung 26320845ddSdyoung#options NTP # network time protocol 27320845ddSdyoung 28320845ddSdyoung# Debugging options 29320845ddSdyoung##options DIAGNOSTIC # extra kernel sanity checking 30320845ddSdyoung##options DEBUG # extra kernel debugging support 31320845ddSdyoungoptions DDB # kernel dynamic debugger 32320845ddSdyoungoptions DDB_HISTORY_SIZE=100 # enable history editing in DDB 33320845ddSdyoungmakeoptions DEBUG="-g" # compile full symbol table 34320845ddSdyoungmakeoptions CPUFLAGS="-march=4kc" 3566305185Sjoergmakeoptions COPY_SYMTAB=1 # size for embedded symbol table 36320845ddSdyoung 37320845ddSdyoung#options MEMORY_DISK_HOOKS 38320845ddSdyoung#options MEMORY_DISK_IS_ROOT # Force root on ram-disk 393f3e2751Srin#options MEMORY_DISK_ROOT_SIZE=16384 # size of memory disk, in blocks 40320845ddSdyoung 41320845ddSdyoung# Compatibility options 42abef2832Smrginclude "conf/compat_netbsd50.config" 43320845ddSdyoung#options EXEC_ECOFF # exec ECOFF binaries 44320845ddSdyoung#options COMPAT_ULTRIX # binary compatibility with Ultrix 45320845ddSdyoung 46320845ddSdyoung# File systems 47320845ddSdyoungfile-system FFS # Berkeley Fast Filesystem 48320845ddSdyoung#file-system MFS # memory-based filesystem 49320845ddSdyoung#file-system EXT2FS # second extended file system (linux) 50320845ddSdyoungfile-system NFS # Sun NFS-compatible filesystem client 51320845ddSdyoung#file-system KERNFS # kernel data-structure filesystem 52320845ddSdyoung#file-system NULLFS # NULL layered filesystem 53320845ddSdyoung#file-system OVERLAY # overlay file system 54320845ddSdyoung#file-system FDESC # user file descriptor filesystem 55320845ddSdyoung#file-system UMAPFS # uid/gid remapping filesystem 56320845ddSdyoung#file-system LFS # Log-based filesystem (still experimental) 57320845ddSdyoung#file-system PROCFS # /proc 58320845ddSdyoung#file-system CD9660 # ISO 9660 + Rock Ridge file system 59320845ddSdyoung#file-system UNION # union file system 60320845ddSdyoung#file-system MSDOSFS # MS-DOS FAT filesystem(s). 61320845ddSdyoung#file-system CODA # Coda File System; also needs vcoda (below) 62320845ddSdyoung 63320845ddSdyoung# File system options 64*bffd2b8aSsimonb#options FFS_EI # FFS Endian Independent support 650367ea04Sbouyer#options QUOTA # legacy UFS quotas 660367ea04Sbouyer#options QUOTA2 # new, in-filesystem UFS quotas 67*bffd2b8aSsimonb#options UFS_DIRHASH # UFS Large Directory Hashing 68*bffd2b8aSsimonb#options UFS_EXTATTR # Extended attribute support for UFS1 69320845ddSdyoung#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 70320845ddSdyoung # immutable) behave as system flags. 71*bffd2b8aSsimonb#options DISKLABEL_EI # disklabel Endian Independent support 72*bffd2b8aSsimonb#options NFSSERVER # Network File System server 73320845ddSdyoung 744498fb78Ssevan# Alternate buffer queue strategies for better responsiveness under high 754498fb78Ssevan# disk I/O load. 764498fb78Ssevan#options BUFQ_READPRIO 774498fb78Ssevanoptions BUFQ_PRIOCSCAN 784498fb78Ssevan 79320845ddSdyoung# Networking options 80320845ddSdyoungoptions GATEWAY # IP packet forwarding 81320845ddSdyoungoptions INET # Internet protocols 82320845ddSdyoungoptions NETGRAPH # Netgraph 83320845ddSdyoungoptions NETGRAPH_ASYNC 84320845ddSdyoungoptions NETGRAPH_BPF 85320845ddSdyoungoptions NETGRAPH_CISCO 86320845ddSdyoungoptions NETGRAPH_ECHO 87320845ddSdyoungoptions NETGRAPH_EIFACE 88320845ddSdyoungoptions NETGRAPH_ETF 89320845ddSdyoungoptions NETGRAPH_ETHER 90320845ddSdyoungoptions NETGRAPH_FRAME_RELAY 91320845ddSdyoungoptions NETGRAPH_HOLE 92320845ddSdyoungoptions NETGRAPH_HUB 93320845ddSdyoungoptions NETGRAPH_IFACE 94320845ddSdyoungoptions NETGRAPH_KSOCKET 95320845ddSdyoungoptions NETGRAPH_L2TP 96320845ddSdyoungoptions NETGRAPH_LMI 97320845ddSdyoungoptions NETGRAPH_ONE2MANY 98320845ddSdyoungoptions NETGRAPH_PPP 99320845ddSdyoungoptions NETGRAPH_PPPOE 100320845ddSdyoungoptions NETGRAPH_PPTPGRE 101320845ddSdyoungoptions NETGRAPH_RFC1490 102320845ddSdyoungoptions NETGRAPH_TEE 103320845ddSdyoungoptions NETGRAPH_UI 104320845ddSdyoungoptions NETGRAPH_VJC 105320845ddSdyoungoptions NETGRAPH_VLAN 106320845ddSdyoung#options INET6 # IPV6 107320845ddSdyoung#options IPSEC # IP security 108320845ddSdyoung#options IPSEC_DEBUG # debug for IP security 109320845ddSdyoung#options MROUTING # packet forwarding of multicast packets 110320845ddSdyoung#options NETATALK # AppleTalk (over Ethernet) protocol 111320845ddSdyoung#options PPP_BSDCOMP # BSD-Compress compression support for PPP 112320845ddSdyoung#options PPP_DEFLATE # Deflate compression support for PPP 113320845ddSdyoung#options PPP_FILTER # Active filter support for PPP (requires bpf) 114320845ddSdyoung 115ac25f0ebSalnsn# JIT compiler for bpfilter 116ac25f0ebSalnsn#options SLJIT 117ac25f0ebSalnsn#options BPFJIT 118ac25f0ebSalnsn 119320845ddSdyoung# These options enable verbose messages for several subsystems. 120320845ddSdyoung# Warning, these may compile large string tables into the kernel! 121320845ddSdyoung#options MIIVERBOSE # verbose PHY autoconfig messages 122320845ddSdyoung#options PCIVERBOSE # verbose PCI device autoconfig messages 123320845ddSdyoung#options PCI_CONFIG_DUMP # verbosely dump PCI config space 124320845ddSdyoung#options SCSIVERBOSE # human readable SCSI error messages 125320845ddSdyoung#options USBVERBOSE # verbose USB device autoconfig messages 126320845ddSdyoung 127320845ddSdyoungoptions NFS_BOOT_DHCP 128320845ddSdyoung 129320845ddSdyoung# Pretty much only one device to use for the root file system. 130320845ddSdyoungconfig netbsd-admsw0 root on admsw0 type nfs 131320845ddSdyoung 132320845ddSdyoungmainbus0 at root 133320845ddSdyoung 134320845ddSdyoungcpu0 at mainbus? 135320845ddSdyoung 136320845ddSdyoung# Network pseudo-devices 13761087f64Schristospseudo-device bpfilter # Berkeley packet filter 138ae006bf1Ssevanpseudo-device carp # Common Address Redundancy Protocol 139320845ddSdyoungpseudo-device loop # network loopback 14061087f64Schristos#pseudo-device ppp # Point-to-Point Protocol 14161087f64Schristos#pseudo-device sl # Serial Line IP 14261087f64Schristos#pseudo-device tun # network tunneling over tty 14361087f64Schristos#pseudo-device gre # generic L3 over IP tunnel 14461087f64Schristos#pseudo-device ipip # RFC 2003 IP Encapsulation 145320845ddSdyoung#pseudo-device gif # RFC1933 tunnel 14661087f64Schristos#pseudo-device faith # IPv[46] tcp relay translation 147320845ddSdyoung# Miscellaneous pseudo-devices 148320845ddSdyoungpseudo-device pty # pseudo-terminals 14917265be2Schristos#pseudo-device sequencer # MIDI sequencer 150320845ddSdyoung 151320845ddSdyoung# A pseudo device needed for Coda # also needs CODA (above) 15261087f64Schristos#pseudo-device vcoda # coda minicache <-> venus comm. 153320845ddSdyoungpseudo-device ksyms 154320845ddSdyoung 155320845ddSdyoungobio* at mainbus? 1565770bb4cSdyoungextio* at mainbus? 1575770bb4cSdyounggpio* at mainbus? 1585770bb4cSdyoung 159320845ddSdyounguart* at obio? addr ? 160320845ddSdyoungadmsw* at obio? addr ? 1615770bb4cSdyoung#admflash* at obio? addr ? 1625770bb4cSdyoung#options VND_COMPRESSION 163ae006bf1Ssevan 164ae006bf1Ssevaninclude "dev/veriexec.config" 165