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