1 1.10 mrg # $NetBSD: OCTEON,v 1.10 2021/04/18 10:45:22 mrg Exp $ 2 1.1 simonb 3 1.1 simonb include "arch/mips/conf/std.octeon" 4 1.1 simonb include "arch/evbmips/conf/files.octeon" 5 1.1 simonb 6 1.1 simonb #options INCLUDE_CONFIG_FILE # embed config file in kernel binary 7 1.1 simonb 8 1.10 mrg #ident "OCTEON-$Revision: 1.10 $" 9 1.1 simonb 10 1.1 simonb maxusers 32 11 1.1 simonb 12 1.2 jmcneill options FDT 13 1.3 jmcneill options FDT_DEFAULT_STDOUT_PATH="\"uart0:115200n8\"" 14 1.2 jmcneill 15 1.1 simonb # Options for necessary to use MD 16 1.1 simonb #options MEMORY_DISK_HOOKS 17 1.1 simonb #options MEMORY_DISK_IS_ROOT # force root on memory disk 18 1.1 simonb #options MEMORY_DISK_SERVER=0 # no userspace memory disk support 19 1.1 simonb #options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks 20 1.1 simonb #options MEMORY_DISK_ROOT_SIZE=16384 # size of memory disk, in blocks 21 1.1 simonb #options MEMORY_DISK_ROOT_SIZE=7300 22 1.1 simonb 23 1.1 simonb # Size reduction options 24 1.1 simonb #options VNODE_OP_NOINLINE 25 1.1 simonb #options PIPE_SOCKETPAIR 26 1.1 simonb #options SOSEND_NO_LOAN 27 1.1 simonb 28 1.1 simonb # Standard system options 29 1.1 simonb options KTRACE # system call tracing support 30 1.1 simonb options SYSVMSG # System V message queues 31 1.1 simonb options SYSVSEM # System V semaphores 32 1.1 simonb options SYSVSHM # System V shared memory 33 1.1 simonb options NTP # network time protocol 34 1.1 simonb 35 1.1 simonb # Debugging options 36 1.1 simonb options DIAGNOSTIC # extra kernel sanity checking 37 1.1 simonb #options DEBUG # extra kernel debugging support 38 1.1 simonb #options USERCONF # userconf(4) support 39 1.1 simonb #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 40 1.1 simonb options DDB # kernel dynamic debugger 41 1.1 simonb options DDB_HISTORY_SIZE=100 # enable history editing in DDB 42 1.1 simonb makeoptions DEBUG="-g" # compile full symbol table 43 1.1 simonb makeoptions COPY_SYMTAB=1 # size for embedded symbol table 44 1.1 simonb 45 1.1 simonb # Compatibility options 46 1.1 simonb 47 1.1 simonb include "conf/compat_netbsd50.config" 48 1.1 simonb 49 1.1 simonb #options EXEC_ECOFF # exec ECOFF binaries 50 1.1 simonb #options COMPAT_ULTRIX # binary compatibility with Ultrix 51 1.1 simonb 52 1.6 jmcneill # Wedge support 53 1.6 jmcneill options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 54 1.6 jmcneill options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 55 1.6 jmcneill 56 1.1 simonb # File systems 57 1.1 simonb file-system FFS # Berkeley Fast Filesystem 58 1.1 simonb file-system MFS # memory-based filesystem 59 1.10 mrg file-system NFS # Sun NFS-compatible filesystem client 60 1.10 mrg file-system LFS # Log-based filesystem (still experimental) 61 1.1 simonb file-system EXT2FS # second extended file system (linux) 62 1.10 mrg file-system CD9660 # ISO 9660 + Rock Ridge file system 63 1.10 mrg #file-system FDESC # user file descriptor filesystem 64 1.1 simonb file-system KERNFS # kernel data-structure filesystem 65 1.1 simonb file-system NULLFS # NULL layered filesystem 66 1.10 mrg file-system OVERLAY # overlay file system 67 1.10 mrg file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 68 1.1 simonb file-system PROCFS # /proc 69 1.10 mrg file-system UMAPFS # uid/gid remapping filesystem 70 1.10 mrg file-system UNION # union file system 71 1.10 mrg file-system TMPFS # Efficient memory file-system 72 1.10 mrg file-system PTYFS # /dev/pts/N support 73 1.1 simonb file-system MSDOSFS # MS-DOS FAT filesystem(s). 74 1.1 simonb #file-system CODA # Coda File System; also needs vcoda (below) 75 1.10 mrg #file-system UDF # experimental - OSTA UDF CD/DVD file-system 76 1.1 simonb 77 1.1 simonb # File system options 78 1.1 simonb options NFSSERVER # Sun NFS-compatible filesystem server 79 1.1 simonb #options QUOTA # legacy UFS quotas 80 1.1 simonb #options QUOTA2 # new, in-filesystem UFS quotas 81 1.10 mrg options DISKLABEL_EI # disklabel Endian Independent support 82 1.10 mrg options FFS_EI # FFS Endian Independent support 83 1.1 simonb options WAPBL # File system journaling support 84 1.1 simonb #options FFS_NO_SNAPSHOT # No FFS snapshot support 85 1.1 simonb #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 86 1.1 simonb # immutable) behave as system flags. 87 1.1 simonb 88 1.1 simonb # Alternate buffer queue strategies for better responsiveness under high 89 1.1 simonb # disk I/O load. 90 1.1 simonb #options BUFQ_READPRIO 91 1.1 simonb options BUFQ_PRIOCSCAN 92 1.1 simonb 93 1.1 simonb # Networking options 94 1.10 mrg options GATEWAY # IP packet forwarding 95 1.1 simonb options INET # Internet protocols 96 1.1 simonb options INET6 # IPV6 97 1.1 simonb #options IPSEC # IP security 98 1.1 simonb #options IPSEC_DEBUG # debug for IP security 99 1.1 simonb #options MROUTING # packet forwarding of multicast packets 100 1.1 simonb #options PIM # Protocol Independent Multicast 101 1.1 simonb #options NETATALK # AppleTalk (over Ethernet) protocol 102 1.10 mrg options PPP_BSDCOMP # BSD-Compress compression support for PPP 103 1.10 mrg options PPP_DEFLATE # Deflate compression support for PPP 104 1.10 mrg options PPP_FILTER # Active filter support for PPP (requires bpf) 105 1.10 mrg 106 1.10 mrg #options ALTQ # Manipulate network interfaces' output queues 107 1.10 mrg #options ALTQ_BLUE # Stochastic Fair Blue 108 1.10 mrg #options ALTQ_CBQ # Class-Based Queueing 109 1.10 mrg #options ALTQ_CDNR # Diffserv Traffic Conditioner 110 1.10 mrg #options ALTQ_FIFOQ # First-In First-Out Queue 111 1.10 mrg #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 112 1.10 mrg #options ALTQ_HFSC # Hierarchical Fair Service Curve 113 1.10 mrg #options ALTQ_LOCALQ # Local queueing discipline 114 1.10 mrg #options ALTQ_PRIQ # Priority Queueing 115 1.10 mrg #options ALTQ_RED # Random Early Detection 116 1.10 mrg #options ALTQ_RIO # RED with IN/OUT 117 1.10 mrg #options ALTQ_WFQ # Weighted Fair Queueing 118 1.10 mrg 119 1.10 mrg # JIT compiler for bpfilter 120 1.1 simonb options BPFJIT 121 1.1 simonb options SLJIT 122 1.1 simonb 123 1.1 simonb # These options enable verbose messages for several subsystems. 124 1.1 simonb # Warning, these may compile large string tables into the kernel! 125 1.1 simonb options MIIVERBOSE # verbose PHY autoconfig messages 126 1.1 simonb 127 1.1 simonb options NFS_BOOT_DHCP 128 1.1 simonb 129 1.1 simonb config netbsd root on ? type ? 130 1.1 simonb #config netbsd root on cnmac0 type nfs 131 1.1 simonb 132 1.1 simonb mainbus0 at root 133 1.1 simonb cpunode0 at mainbus? 134 1.1 simonb cpu* at cpunode? core ? 135 1.1 simonb wdog0 at cpunode0 flags 0 # flags 1 will enable it on boot 136 1.1 simonb 137 1.1 simonb iobus0 at mainbus? 138 1.1 simonb bootbus0 at mainbus? 139 1.2 jmcneill simplebus* at fdt? pass 0 140 1.2 jmcneill 141 1.2 jmcneill octintc* at fdt? pass 1 142 1.4 jmcneill octcib* at fdt? pass 2 143 1.1 simonb 144 1.1 simonb com* at iobus? 145 1.2 jmcneill com* at fdt? 146 1.1 simonb 147 1.1 simonb octsmi* at iobus? # MDIO controller 148 1.4 jmcneill octsmi* at fdt? pass 3 149 1.1 simonb octpip* at iobus? # PIP packet processing controller 150 1.4 jmcneill octpip* at fdt? pass 4 151 1.1 simonb 152 1.1 simonb octgmx* at octpip? 153 1.1 simonb cnmac* at octgmx? 154 1.1 simonb 155 1.1 simonb octrnm* at iobus? # Random Number Memory (and generator) 156 1.1 simonb 157 1.1 simonb dwctwo* at iobus? 158 1.5 jmcneill xhci* at fdt? 159 1.1 simonb 160 1.1 simonb usb* at dwctwo? 161 1.5 jmcneill usb* at xhci? 162 1.1 simonb 163 1.1 simonb uhub* at usb? 164 1.1 simonb 165 1.1 simonb # USB Mass Storage 166 1.1 simonb umass* at uhub? port ? configuration ? interface ? 167 1.1 simonb scsibus* at umass? channel ? 168 1.1 simonb sd* at scsibus? target ? lun ? # SCSI disk drives 169 1.1 simonb 170 1.1 simonb # Ethernet PHYs 171 1.1 simonb atphy* at mii? phy ? # Attansic/Atheros PHYs 172 1.1 simonb ukphy* at mii? phy ? # generic unknown PHYs 173 1.1 simonb 174 1.1 simonb # Pseudo-devices 175 1.1 simonb 176 1.1 simonb # Disk/mass storage pseudo-devices 177 1.1 simonb #pseudo-device ccd # concatenated disk devices 178 1.1 simonb #pseudo-device raid # RAIDframe disk driver 179 1.1 simonb #pseudo-device fss # file system snapshot device 180 1.1 simonb #pseudo-device md # memory disk device (ramdisk) 181 1.1 simonb #pseudo-device vnd # disk-like interface to files 182 1.1 simonb 183 1.1 simonb # Network pseudo-devices 184 1.1 simonb pseudo-device bpfilter # Berkeley packet filter 185 1.1 simonb pseudo-device carp # Common Address Redundancy Protocol 186 1.1 simonb pseudo-device npf # NPF packet filter 187 1.1 simonb pseudo-device loop # network loopback 188 1.1 simonb pseudo-device ppp # Point-to-Point Protocol 189 1.1 simonb pseudo-device pppoe # Point-to-Point Protocol over Ethernet 190 1.1 simonb #pseudo-device sl # Serial Line IP 191 1.1 simonb pseudo-device tun # network tunneling over tty 192 1.1 simonb pseudo-device tap # virtual Ethernet 193 1.1 simonb #pseudo-device gre # generic L3 over IP tunnel 194 1.1 simonb #pseudo-device ipip # RFC 2003 IP Encapsulation 195 1.1 simonb pseudo-device gif # RFC1933 tunnel 196 1.1 simonb #pseudo-device faith # IPv[46] tcp relay translation 197 1.1 simonb #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 198 1.1 simonb pseudo-device vlan # IEEE 802.1q encapsulation 199 1.1 simonb pseudo-device bridge # simple inter-network bridging 200 1.9 roy pseudo-device vether # Virtual Ethernet for bridge 201 1.1 simonb 202 1.1 simonb # Miscellaneous pseudo-devices 203 1.1 simonb pseudo-device pty # pseudo-terminals 204 1.1 simonb pseudo-device clockctl # user control of clock subsystem 205 1.1 simonb pseudo-device ksyms # /dev/ksyms 206 1.1 simonb pseudo-device drvctl # driver control 207 1.8 jmcneill pseudo-device openfirm # /dev/openfirm 208 1.10 mrg pseudo-device putter # for puffs and pud 209 1.1 simonb 210 1.1 simonb # A pseudo device needed for Coda # also needs CODA (above) 211 1.1 simonb #pseudo-device vcoda # coda minicache <-> venus comm. 212 1.1 simonb 213 1.1 simonb include "dev/veriexec.config" 214 1.1 simonb 215 1.1 simonb cinclude "arch/evbmips/conf/OCTEON.local" 216