1 1.8 jmcneill # $NetBSD: OCTEON,v 1.8 2020/07/24 12:07:09 jmcneill 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.8 jmcneill #ident "OCTEON-$Revision: 1.8 $" 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 #options COMPAT_386BSD_MBRPART # recognize old partition ID 49 1.1 simonb 50 1.1 simonb #options EXEC_ECOFF # exec ECOFF binaries 51 1.1 simonb #options COMPAT_ULTRIX # binary compatibility with Ultrix 52 1.1 simonb 53 1.6 jmcneill # Wedge support 54 1.6 jmcneill options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 55 1.6 jmcneill options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 56 1.6 jmcneill 57 1.1 simonb # File systems 58 1.1 simonb file-system FFS # Berkeley Fast Filesystem 59 1.1 simonb file-system MFS # memory-based filesystem 60 1.1 simonb file-system EXT2FS # second extended file system (linux) 61 1.1 simonb file-system NFS # Sun NFS-compatible filesystem client 62 1.1 simonb file-system TMPFS # Efficient memory file-system 63 1.1 simonb file-system KERNFS # kernel data-structure filesystem 64 1.1 simonb file-system NULLFS # NULL layered filesystem 65 1.1 simonb #file-system OVERLAY # overlay file system 66 1.1 simonb #file-system FDESC # user file descriptor filesystem 67 1.1 simonb #file-system UMAPFS # uid/gid remapping filesystem 68 1.1 simonb #file-system LFS # Log-based filesystem (still experimental) 69 1.1 simonb file-system PROCFS # /proc 70 1.1 simonb file-system CD9660 # ISO 9660 + Rock Ridge file system 71 1.1 simonb #file-system UNION # union file system 72 1.1 simonb file-system MSDOSFS # MS-DOS FAT filesystem(s). 73 1.1 simonb #file-system CODA # Coda File System; also needs vcoda (below) 74 1.1 simonb file-system PTYFS # /dev/pts/N support 75 1.1 simonb 76 1.1 simonb # File system options 77 1.1 simonb options NFSSERVER # Sun NFS-compatible filesystem server 78 1.1 simonb #options QUOTA # legacy UFS quotas 79 1.1 simonb #options QUOTA2 # new, in-filesystem UFS quotas 80 1.1 simonb #options DISKLABEL_EI # disklabel Endian Independent support 81 1.1 simonb #options FFS_EI # FFS Endian Independent support 82 1.1 simonb options WAPBL # File system journaling support 83 1.1 simonb #options FFS_NO_SNAPSHOT # No FFS snapshot support 84 1.1 simonb #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 85 1.1 simonb # immutable) behave as system flags. 86 1.1 simonb 87 1.1 simonb # Alternate buffer queue strategies for better responsiveness under high 88 1.1 simonb # disk I/O load. 89 1.1 simonb #options BUFQ_READPRIO 90 1.1 simonb options BUFQ_PRIOCSCAN 91 1.1 simonb 92 1.1 simonb # Networking options 93 1.1 simonb #options GATEWAY # IP packet forwarding 94 1.1 simonb options INET # Internet protocols 95 1.1 simonb options INET6 # IPV6 96 1.1 simonb #options IPSEC # IP security 97 1.1 simonb #options IPSEC_DEBUG # debug for IP security 98 1.1 simonb #options MROUTING # packet forwarding of multicast packets 99 1.1 simonb #options PIM # Protocol Independent Multicast 100 1.1 simonb #options NETATALK # AppleTalk (over Ethernet) protocol 101 1.1 simonb #options PPP_BSDCOMP # BSD-Compress compression support for PPP 102 1.1 simonb #options PPP_DEFLATE # Deflate compression support for PPP 103 1.1 simonb #options PPP_FILTER # Active filter support for PPP (requires bpf) 104 1.1 simonb options BPFJIT 105 1.1 simonb options SLJIT 106 1.1 simonb 107 1.1 simonb # These options enable verbose messages for several subsystems. 108 1.1 simonb # Warning, these may compile large string tables into the kernel! 109 1.1 simonb options MIIVERBOSE # verbose PHY autoconfig messages 110 1.1 simonb 111 1.1 simonb options NFS_BOOT_DHCP 112 1.1 simonb 113 1.1 simonb config netbsd root on ? type ? 114 1.1 simonb #config netbsd root on cnmac0 type nfs 115 1.1 simonb 116 1.1 simonb mainbus0 at root 117 1.1 simonb cpunode0 at mainbus? 118 1.1 simonb cpu* at cpunode? core ? 119 1.1 simonb wdog0 at cpunode0 flags 0 # flags 1 will enable it on boot 120 1.1 simonb 121 1.1 simonb iobus0 at mainbus? 122 1.1 simonb bootbus0 at mainbus? 123 1.2 jmcneill simplebus* at fdt? pass 0 124 1.2 jmcneill 125 1.2 jmcneill octintc* at fdt? pass 1 126 1.4 jmcneill octcib* at fdt? pass 2 127 1.1 simonb 128 1.1 simonb com* at iobus? 129 1.2 jmcneill com* at fdt? 130 1.1 simonb 131 1.1 simonb octsmi* at iobus? # MDIO controller 132 1.4 jmcneill octsmi* at fdt? pass 3 133 1.1 simonb octpip* at iobus? # PIP packet processing controller 134 1.4 jmcneill octpip* at fdt? pass 4 135 1.1 simonb 136 1.1 simonb octgmx* at octpip? 137 1.1 simonb cnmac* at octgmx? 138 1.1 simonb 139 1.1 simonb octrnm* at iobus? # Random Number Memory (and generator) 140 1.1 simonb 141 1.1 simonb dwctwo* at iobus? 142 1.5 jmcneill xhci* at fdt? 143 1.1 simonb 144 1.1 simonb usb* at dwctwo? 145 1.5 jmcneill usb* at xhci? 146 1.1 simonb 147 1.1 simonb uhub* at usb? 148 1.1 simonb 149 1.1 simonb # USB Mass Storage 150 1.1 simonb umass* at uhub? port ? configuration ? interface ? 151 1.1 simonb scsibus* at umass? channel ? 152 1.1 simonb sd* at scsibus? target ? lun ? # SCSI disk drives 153 1.1 simonb 154 1.1 simonb # Ethernet PHYs 155 1.1 simonb atphy* at mii? phy ? # Attansic/Atheros PHYs 156 1.1 simonb ukphy* at mii? phy ? # generic unknown PHYs 157 1.1 simonb 158 1.1 simonb # Pseudo-devices 159 1.1 simonb 160 1.1 simonb # Disk/mass storage pseudo-devices 161 1.1 simonb #pseudo-device ccd # concatenated disk devices 162 1.1 simonb #pseudo-device raid # RAIDframe disk driver 163 1.1 simonb #pseudo-device fss # file system snapshot device 164 1.1 simonb #pseudo-device md # memory disk device (ramdisk) 165 1.1 simonb #pseudo-device vnd # disk-like interface to files 166 1.1 simonb 167 1.1 simonb # Network pseudo-devices 168 1.1 simonb pseudo-device bpfilter # Berkeley packet filter 169 1.1 simonb pseudo-device carp # Common Address Redundancy Protocol 170 1.1 simonb pseudo-device npf # NPF packet filter 171 1.1 simonb pseudo-device loop # network loopback 172 1.1 simonb pseudo-device ppp # Point-to-Point Protocol 173 1.1 simonb pseudo-device pppoe # Point-to-Point Protocol over Ethernet 174 1.1 simonb #pseudo-device sl # Serial Line IP 175 1.1 simonb pseudo-device tun # network tunneling over tty 176 1.1 simonb pseudo-device tap # virtual Ethernet 177 1.1 simonb #pseudo-device gre # generic L3 over IP tunnel 178 1.1 simonb #pseudo-device ipip # RFC 2003 IP Encapsulation 179 1.1 simonb pseudo-device gif # RFC1933 tunnel 180 1.1 simonb #pseudo-device faith # IPv[46] tcp relay translation 181 1.1 simonb #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 182 1.1 simonb pseudo-device vlan # IEEE 802.1q encapsulation 183 1.1 simonb pseudo-device bridge # simple inter-network bridging 184 1.1 simonb 185 1.1 simonb # Miscellaneous pseudo-devices 186 1.1 simonb pseudo-device pty # pseudo-terminals 187 1.1 simonb pseudo-device clockctl # user control of clock subsystem 188 1.1 simonb pseudo-device ksyms # /dev/ksyms 189 1.1 simonb pseudo-device drvctl # driver control 190 1.8 jmcneill pseudo-device openfirm # /dev/openfirm 191 1.1 simonb 192 1.1 simonb # A pseudo device needed for Coda # also needs CODA (above) 193 1.1 simonb #pseudo-device vcoda # coda minicache <-> venus comm. 194 1.1 simonb 195 1.1 simonb include "dev/veriexec.config" 196 1.1 simonb 197 1.1 simonb cinclude "arch/evbmips/conf/OCTEON.local" 198