1 1.14 christos # $NetBSD: OCTEON,v 1.14 2024/01/29 18:27:11 christos 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.14 christos #ident "OCTEON-$Revision: 1.14 $" 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.11 simonb options FFS_EI # FFS Endian Independent support 79 1.11 simonb #options FFS_NO_SNAPSHOT # No FFS snapshot support 80 1.1 simonb #options QUOTA # legacy UFS quotas 81 1.1 simonb #options QUOTA2 # new, in-filesystem UFS quotas 82 1.11 simonb options UFS_DIRHASH # UFS Large Directory Hashing 83 1.11 simonb options UFS_EXTATTR # Extended attribute support for UFS1 84 1.1 simonb options WAPBL # File system journaling support 85 1.11 simonb options LFS_DIRHASH # LFS version of UFS_DIRHASH - experimental 86 1.11 simonb options DISKLABEL_EI # disklabel Endian Independent support 87 1.11 simonb options NFSSERVER # Network File System server 88 1.1 simonb 89 1.1 simonb # Alternate buffer queue strategies for better responsiveness under high 90 1.1 simonb # disk I/O load. 91 1.1 simonb #options BUFQ_READPRIO 92 1.1 simonb options BUFQ_PRIOCSCAN 93 1.1 simonb 94 1.1 simonb # Networking options 95 1.10 mrg options GATEWAY # IP packet forwarding 96 1.1 simonb options INET # Internet protocols 97 1.1 simonb options INET6 # IPV6 98 1.1 simonb #options IPSEC # IP security 99 1.1 simonb #options IPSEC_DEBUG # debug for IP security 100 1.1 simonb #options MROUTING # packet forwarding of multicast packets 101 1.1 simonb #options PIM # Protocol Independent Multicast 102 1.1 simonb #options NETATALK # AppleTalk (over Ethernet) protocol 103 1.10 mrg options PPP_BSDCOMP # BSD-Compress compression support for PPP 104 1.10 mrg options PPP_DEFLATE # Deflate compression support for PPP 105 1.10 mrg options PPP_FILTER # Active filter support for PPP (requires bpf) 106 1.10 mrg 107 1.10 mrg #options ALTQ # Manipulate network interfaces' output queues 108 1.10 mrg #options ALTQ_BLUE # Stochastic Fair Blue 109 1.10 mrg #options ALTQ_CBQ # Class-Based Queueing 110 1.10 mrg #options ALTQ_CDNR # Diffserv Traffic Conditioner 111 1.10 mrg #options ALTQ_FIFOQ # First-In First-Out Queue 112 1.10 mrg #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 113 1.10 mrg #options ALTQ_HFSC # Hierarchical Fair Service Curve 114 1.10 mrg #options ALTQ_LOCALQ # Local queueing discipline 115 1.10 mrg #options ALTQ_PRIQ # Priority Queueing 116 1.10 mrg #options ALTQ_RED # Random Early Detection 117 1.10 mrg #options ALTQ_RIO # RED with IN/OUT 118 1.10 mrg #options ALTQ_WFQ # Weighted Fair Queueing 119 1.10 mrg 120 1.10 mrg # JIT compiler for bpfilter 121 1.1 simonb options BPFJIT 122 1.1 simonb options SLJIT 123 1.1 simonb 124 1.1 simonb # These options enable verbose messages for several subsystems. 125 1.1 simonb # Warning, these may compile large string tables into the kernel! 126 1.1 simonb options MIIVERBOSE # verbose PHY autoconfig messages 127 1.1 simonb 128 1.1 simonb options NFS_BOOT_DHCP 129 1.1 simonb 130 1.1 simonb config netbsd root on ? type ? 131 1.1 simonb #config netbsd root on cnmac0 type nfs 132 1.1 simonb 133 1.1 simonb mainbus0 at root 134 1.1 simonb cpunode0 at mainbus? 135 1.1 simonb cpu* at cpunode? core ? 136 1.1 simonb wdog0 at cpunode0 flags 0 # flags 1 will enable it on boot 137 1.1 simonb 138 1.1 simonb iobus0 at mainbus? 139 1.1 simonb bootbus0 at mainbus? 140 1.2 jmcneill simplebus* at fdt? pass 0 141 1.2 jmcneill 142 1.2 jmcneill octintc* at fdt? pass 1 143 1.4 jmcneill octcib* at fdt? pass 2 144 1.1 simonb 145 1.1 simonb com* at iobus? 146 1.2 jmcneill com* at fdt? 147 1.1 simonb 148 1.1 simonb octsmi* at iobus? # MDIO controller 149 1.4 jmcneill octsmi* at fdt? pass 3 150 1.1 simonb octpip* at iobus? # PIP packet processing controller 151 1.4 jmcneill octpip* at fdt? pass 4 152 1.1 simonb 153 1.1 simonb octgmx* at octpip? 154 1.1 simonb cnmac* at octgmx? 155 1.1 simonb 156 1.1 simonb octrnm* at iobus? # Random Number Memory (and generator) 157 1.1 simonb 158 1.1 simonb dwctwo* at iobus? 159 1.5 jmcneill xhci* at fdt? 160 1.1 simonb 161 1.1 simonb usb* at dwctwo? 162 1.5 jmcneill usb* at xhci? 163 1.1 simonb 164 1.1 simonb uhub* at usb? 165 1.1 simonb 166 1.1 simonb # USB Mass Storage 167 1.1 simonb umass* at uhub? port ? configuration ? interface ? 168 1.1 simonb scsibus* at umass? channel ? 169 1.1 simonb sd* at scsibus? target ? lun ? # SCSI disk drives 170 1.1 simonb 171 1.1 simonb # Ethernet PHYs 172 1.1 simonb atphy* at mii? phy ? # Attansic/Atheros PHYs 173 1.1 simonb ukphy* at mii? phy ? # generic unknown PHYs 174 1.1 simonb 175 1.1 simonb # Pseudo-devices 176 1.1 simonb 177 1.1 simonb # Disk/mass storage pseudo-devices 178 1.1 simonb #pseudo-device ccd # concatenated disk devices 179 1.1 simonb #pseudo-device raid # RAIDframe disk driver 180 1.1 simonb #pseudo-device fss # file system snapshot device 181 1.1 simonb #pseudo-device md # memory disk device (ramdisk) 182 1.1 simonb #pseudo-device vnd # disk-like interface to files 183 1.1 simonb 184 1.1 simonb # Network pseudo-devices 185 1.1 simonb pseudo-device bpfilter # Berkeley packet filter 186 1.1 simonb pseudo-device carp # Common Address Redundancy Protocol 187 1.1 simonb pseudo-device npf # NPF packet filter 188 1.1 simonb pseudo-device loop # network loopback 189 1.1 simonb pseudo-device ppp # Point-to-Point Protocol 190 1.1 simonb pseudo-device pppoe # Point-to-Point Protocol over Ethernet 191 1.1 simonb #pseudo-device sl # Serial Line IP 192 1.1 simonb pseudo-device tun # network tunneling over tty 193 1.1 simonb pseudo-device tap # virtual Ethernet 194 1.1 simonb #pseudo-device gre # generic L3 over IP tunnel 195 1.1 simonb #pseudo-device ipip # RFC 2003 IP Encapsulation 196 1.1 simonb pseudo-device gif # RFC1933 tunnel 197 1.1 simonb #pseudo-device faith # IPv[46] tcp relay translation 198 1.1 simonb #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 199 1.1 simonb pseudo-device vlan # IEEE 802.1q encapsulation 200 1.1 simonb pseudo-device bridge # simple inter-network bridging 201 1.9 roy pseudo-device vether # Virtual Ethernet for bridge 202 1.1 simonb 203 1.1 simonb # Miscellaneous pseudo-devices 204 1.1 simonb pseudo-device pty # pseudo-terminals 205 1.1 simonb pseudo-device clockctl # user control of clock subsystem 206 1.1 simonb pseudo-device ksyms # /dev/ksyms 207 1.1 simonb pseudo-device drvctl # driver control 208 1.8 jmcneill pseudo-device openfirm # /dev/openfirm 209 1.10 mrg pseudo-device putter # for puffs and pud 210 1.12 riastrad pseudo-device swwdog # software watchdog timer -- swwdog(4) 211 1.1 simonb 212 1.1 simonb # A pseudo device needed for Coda # also needs CODA (above) 213 1.1 simonb #pseudo-device vcoda # coda minicache <-> venus comm. 214 1.1 simonb 215 1.1 simonb include "dev/veriexec.config" 216 1.1 simonb 217 1.13 abs # Pull in optional local configuration - always at end 218 1.1 simonb cinclude "arch/evbmips/conf/OCTEON.local" 219