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