OCTEON revision 1.17
11.17Snia# $NetBSD: OCTEON,v 1.17 2025/12/08 21:33:21 nia Exp $ 21.1Ssimonb 31.1Ssimonbinclude "arch/mips/conf/std.octeon" 41.1Ssimonbinclude "arch/evbmips/conf/files.octeon" 51.1Ssimonb 61.1Ssimonb#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 71.1Ssimonb 81.17Snia#ident "OCTEON-$Revision: 1.17 $" 91.1Ssimonb 101.1Ssimonbmaxusers 32 111.1Ssimonb 121.2Sjmcneilloptions FDT 131.3Sjmcneilloptions FDT_DEFAULT_STDOUT_PATH="\"uart0:115200n8\"" 141.2Sjmcneill 151.1Ssimonb# Options for necessary to use MD 161.1Ssimonb#options MEMORY_DISK_HOOKS 171.1Ssimonb#options MEMORY_DISK_IS_ROOT # force root on memory disk 181.1Ssimonb#options MEMORY_DISK_SERVER=0 # no userspace memory disk support 191.1Ssimonb#options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks 201.1Ssimonb#options MEMORY_DISK_ROOT_SIZE=16384 # size of memory disk, in blocks 211.1Ssimonb#options MEMORY_DISK_ROOT_SIZE=7300 221.1Ssimonb 231.1Ssimonb# Size reduction options 241.1Ssimonb#options VNODE_OP_NOINLINE 251.1Ssimonb#options PIPE_SOCKETPAIR 261.1Ssimonb#options SOSEND_NO_LOAN 271.1Ssimonb 281.1Ssimonb# Standard system options 291.1Ssimonboptions KTRACE # system call tracing support 301.1Ssimonboptions SYSVMSG # System V message queues 311.1Ssimonboptions SYSVSEM # System V semaphores 321.1Ssimonboptions SYSVSHM # System V shared memory 331.1Ssimonboptions NTP # network time protocol 341.1Ssimonb 351.1Ssimonb# Debugging options 361.1Ssimonboptions DIAGNOSTIC # extra kernel sanity checking 371.1Ssimonb#options DEBUG # extra kernel debugging support 381.1Ssimonb#options USERCONF # userconf(4) support 391.1Ssimonb#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 401.1Ssimonboptions DDB # kernel dynamic debugger 411.1Ssimonboptions DDB_HISTORY_SIZE=100 # enable history editing in DDB 421.1Ssimonbmakeoptions DEBUG="-g" # compile full symbol table 431.1Ssimonbmakeoptions COPY_SYMTAB=1 # size for embedded symbol table 441.1Ssimonb 451.1Ssimonb# Compatibility options 461.1Ssimonb 471.1Ssimonbinclude "conf/compat_netbsd50.config" 481.1Ssimonb 491.1Ssimonb#options EXEC_ECOFF # exec ECOFF binaries 501.1Ssimonb#options COMPAT_ULTRIX # binary compatibility with Ultrix 511.1Ssimonb 521.6Sjmcneill# Wedge support 531.6Sjmcneilloptions DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 541.6Sjmcneilloptions DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 551.6Sjmcneill 561.1Ssimonb# File systems 571.1Ssimonbfile-system FFS # Berkeley Fast Filesystem 581.1Ssimonbfile-system MFS # memory-based filesystem 591.10Smrgfile-system NFS # Sun NFS-compatible filesystem client 601.10Smrgfile-system LFS # Log-based filesystem (still experimental) 611.1Ssimonbfile-system EXT2FS # second extended file system (linux) 621.10Smrgfile-system CD9660 # ISO 9660 + Rock Ridge file system 631.10Smrg#file-system FDESC # user file descriptor filesystem 641.1Ssimonbfile-system KERNFS # kernel data-structure filesystem 651.1Ssimonbfile-system NULLFS # NULL layered filesystem 661.10Smrgfile-system OVERLAY # overlay file system 671.10Smrgfile-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 681.1Ssimonbfile-system PROCFS # /proc 691.10Smrgfile-system UMAPFS # uid/gid remapping filesystem 701.10Smrgfile-system UNION # union file system 711.10Smrgfile-system TMPFS # Efficient memory file-system 721.10Smrgfile-system PTYFS # /dev/pts/N support 731.1Ssimonbfile-system MSDOSFS # MS-DOS FAT filesystem(s). 741.1Ssimonb#file-system CODA # Coda File System; also needs vcoda (below) 751.10Smrg#file-system UDF # experimental - OSTA UDF CD/DVD file-system 761.1Ssimonb 771.1Ssimonb# File system options 781.11Ssimonboptions FFS_EI # FFS Endian Independent support 791.11Ssimonb#options FFS_NO_SNAPSHOT # No FFS snapshot support 801.1Ssimonb#options QUOTA # legacy UFS quotas 811.1Ssimonb#options QUOTA2 # new, in-filesystem UFS quotas 821.11Ssimonboptions UFS_DIRHASH # UFS Large Directory Hashing 831.11Ssimonboptions UFS_EXTATTR # Extended attribute support for UFS1 841.1Ssimonboptions WAPBL # File system journaling support 851.11Ssimonboptions LFS_DIRHASH # LFS version of UFS_DIRHASH - experimental 861.11Ssimonboptions DISKLABEL_EI # disklabel Endian Independent support 871.11Ssimonboptions NFSSERVER # Network File System server 881.1Ssimonb 891.1Ssimonb# Alternate buffer queue strategies for better responsiveness under high 901.1Ssimonb# disk I/O load. 911.1Ssimonb#options BUFQ_READPRIO 921.1Ssimonboptions BUFQ_PRIOCSCAN 931.1Ssimonb 941.1Ssimonb# Networking options 951.10Smrgoptions GATEWAY # IP packet forwarding 961.1Ssimonboptions INET # Internet protocols 971.1Ssimonboptions INET6 # IPV6 981.1Ssimonb#options IPSEC # IP security 991.1Ssimonb#options IPSEC_DEBUG # debug for IP security 1001.1Ssimonb#options MROUTING # packet forwarding of multicast packets 1011.1Ssimonb#options PIM # Protocol Independent Multicast 1021.1Ssimonb#options NETATALK # AppleTalk (over Ethernet) protocol 1031.10Smrgoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1041.10Smrgoptions PPP_DEFLATE # Deflate compression support for PPP 1051.10Smrgoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1061.10Smrg 1071.10Smrg#options ALTQ # Manipulate network interfaces' output queues 1081.10Smrg#options ALTQ_BLUE # Stochastic Fair Blue 1091.10Smrg#options ALTQ_CBQ # Class-Based Queueing 1101.10Smrg#options ALTQ_CDNR # Diffserv Traffic Conditioner 1111.10Smrg#options ALTQ_FIFOQ # First-In First-Out Queue 1121.10Smrg#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1131.10Smrg#options ALTQ_HFSC # Hierarchical Fair Service Curve 1141.10Smrg#options ALTQ_LOCALQ # Local queueing discipline 1151.10Smrg#options ALTQ_PRIQ # Priority Queueing 1161.10Smrg#options ALTQ_RED # Random Early Detection 1171.10Smrg#options ALTQ_RIO # RED with IN/OUT 1181.10Smrg#options ALTQ_WFQ # Weighted Fair Queueing 1191.10Smrg 1201.10Smrg# JIT compiler for bpfilter 1211.1Ssimonboptions BPFJIT 1221.1Ssimonboptions SLJIT 1231.1Ssimonb 1241.1Ssimonb# These options enable verbose messages for several subsystems. 1251.1Ssimonb# Warning, these may compile large string tables into the kernel! 1261.1Ssimonboptions MIIVERBOSE # verbose PHY autoconfig messages 1271.1Ssimonb 1281.1Ssimonboptions NFS_BOOT_DHCP 1291.1Ssimonb 1301.1Ssimonbconfig netbsd root on ? type ? 1311.1Ssimonb#config netbsd root on cnmac0 type nfs 1321.1Ssimonb 1331.1Ssimonbmainbus0 at root 1341.1Ssimonbcpunode0 at mainbus? 1351.1Ssimonbcpu* at cpunode? core ? 1361.1Ssimonbwdog0 at cpunode0 flags 0 # flags 1 will enable it on boot 1371.1Ssimonb 1381.1Ssimonbiobus0 at mainbus? 1391.1Ssimonbbootbus0 at mainbus? 1401.2Sjmcneillsimplebus* at fdt? pass 0 1411.2Sjmcneill 1421.2Sjmcneilloctintc* at fdt? pass 1 1431.4Sjmcneilloctcib* at fdt? pass 2 1441.1Ssimonb 1451.1Ssimonbcom* at iobus? 1461.2Sjmcneillcom* at fdt? 1471.1Ssimonb 1481.1Ssimonboctsmi* at iobus? # MDIO controller 1491.4Sjmcneilloctsmi* at fdt? pass 3 1501.1Ssimonboctpip* at iobus? # PIP packet processing controller 1511.4Sjmcneilloctpip* at fdt? pass 4 1521.1Ssimonb 1531.1Ssimonboctgmx* at octpip? 1541.1Ssimonbcnmac* at octgmx? 1551.1Ssimonb 1561.1Ssimonboctrnm* at iobus? # Random Number Memory (and generator) 1571.1Ssimonb 1581.1Ssimonbdwctwo* at iobus? 1591.5Sjmcneillxhci* at fdt? 1601.1Ssimonb 1611.1Ssimonbusb* at dwctwo? 1621.5Sjmcneillusb* at xhci? 1631.1Ssimonb 1641.1Ssimonbuhub* at usb? 1651.1Ssimonb 1661.1Ssimonb# USB Mass Storage 1671.1Ssimonbumass* at uhub? port ? configuration ? interface ? 1681.1Ssimonbscsibus* at umass? channel ? 1691.1Ssimonbsd* at scsibus? target ? lun ? # SCSI disk drives 1701.1Ssimonb 1711.1Ssimonb# Ethernet PHYs 1721.1Ssimonbatphy* at mii? phy ? # Attansic/Atheros PHYs 1731.1Ssimonbukphy* at mii? phy ? # generic unknown PHYs 1741.1Ssimonb 1751.1Ssimonb# Pseudo-devices 1761.1Ssimonb 1771.1Ssimonb# Disk/mass storage pseudo-devices 1781.1Ssimonb#pseudo-device ccd # concatenated disk devices 1791.1Ssimonb#pseudo-device raid # RAIDframe disk driver 1801.1Ssimonb#pseudo-device fss # file system snapshot device 1811.1Ssimonb#pseudo-device md # memory disk device (ramdisk) 1821.1Ssimonb#pseudo-device vnd # disk-like interface to files 1831.1Ssimonb 1841.1Ssimonb# Network pseudo-devices 1851.1Ssimonbpseudo-device bpfilter # Berkeley packet filter 1861.1Ssimonbpseudo-device carp # Common Address Redundancy Protocol 1871.1Ssimonbpseudo-device npf # NPF packet filter 1881.1Ssimonbpseudo-device loop # network loopback 1891.1Ssimonbpseudo-device ppp # Point-to-Point Protocol 1901.1Ssimonbpseudo-device pppoe # Point-to-Point Protocol over Ethernet 1911.1Ssimonb#pseudo-device sl # Serial Line IP 1921.1Ssimonbpseudo-device tun # network tunneling over tty 1931.1Ssimonbpseudo-device tap # virtual Ethernet 1941.1Ssimonb#pseudo-device gre # generic L3 over IP tunnel 1951.1Ssimonb#pseudo-device ipip # RFC 2003 IP Encapsulation 1961.1Ssimonbpseudo-device gif # RFC1933 tunnel 1971.1Ssimonb#pseudo-device faith # IPv[46] tcp relay translation 1981.1Ssimonb#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 1991.1Ssimonbpseudo-device vlan # IEEE 802.1q encapsulation 2001.1Ssimonbpseudo-device bridge # simple inter-network bridging 2011.9Sroypseudo-device vether # Virtual Ethernet for bridge 2021.1Ssimonb 2031.1Ssimonb# Miscellaneous pseudo-devices 2041.1Ssimonbpseudo-device pty # pseudo-terminals 2051.1Ssimonbpseudo-device clockctl # user control of clock subsystem 2061.1Ssimonbpseudo-device ksyms # /dev/ksyms 2071.1Ssimonbpseudo-device drvctl # driver control 2081.8Sjmcneillpseudo-device openfirm # /dev/openfirm 2091.10Smrgpseudo-device putter # for puffs and pud 2101.12Sriastradpseudo-device swwdog # software watchdog timer -- swwdog(4) 2111.1Ssimonb 2121.1Ssimonb# A pseudo device needed for Coda # also needs CODA (above) 2131.1Ssimonb#pseudo-device vcoda # coda minicache <-> venus comm. 2141.1Ssimonb 2151.1Ssimonbinclude "dev/veriexec.config" 2161.1Ssimonb 2171.13Sabs# Pull in optional local configuration - always at end 2181.1Ssimonbcinclude "arch/evbmips/conf/OCTEON.local" 219