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