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