OCTEON revision 1.13
11.13Sabs# $NetBSD: OCTEON,v 1.13 2023/02/09 14:09:48 abs 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.13Sabs#ident "OCTEON-$Revision: 1.13 $" 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.1Ssimonb#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 871.1Ssimonb # immutable) behave as system flags. 881.11Ssimonboptions DISKLABEL_EI # disklabel Endian Independent support 891.11Ssimonboptions NFSSERVER # Network File System server 901.1Ssimonb 911.1Ssimonb# Alternate buffer queue strategies for better responsiveness under high 921.1Ssimonb# disk I/O load. 931.1Ssimonb#options BUFQ_READPRIO 941.1Ssimonboptions BUFQ_PRIOCSCAN 951.1Ssimonb 961.1Ssimonb# Networking options 971.10Smrgoptions GATEWAY # IP packet forwarding 981.1Ssimonboptions INET # Internet protocols 991.1Ssimonboptions INET6 # IPV6 1001.1Ssimonb#options IPSEC # IP security 1011.1Ssimonb#options IPSEC_DEBUG # debug for IP security 1021.1Ssimonb#options MROUTING # packet forwarding of multicast packets 1031.1Ssimonb#options PIM # Protocol Independent Multicast 1041.1Ssimonb#options NETATALK # AppleTalk (over Ethernet) protocol 1051.10Smrgoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1061.10Smrgoptions PPP_DEFLATE # Deflate compression support for PPP 1071.10Smrgoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1081.10Smrg 1091.10Smrg#options ALTQ # Manipulate network interfaces' output queues 1101.10Smrg#options ALTQ_BLUE # Stochastic Fair Blue 1111.10Smrg#options ALTQ_CBQ # Class-Based Queueing 1121.10Smrg#options ALTQ_CDNR # Diffserv Traffic Conditioner 1131.10Smrg#options ALTQ_FIFOQ # First-In First-Out Queue 1141.10Smrg#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1151.10Smrg#options ALTQ_HFSC # Hierarchical Fair Service Curve 1161.10Smrg#options ALTQ_LOCALQ # Local queueing discipline 1171.10Smrg#options ALTQ_PRIQ # Priority Queueing 1181.10Smrg#options ALTQ_RED # Random Early Detection 1191.10Smrg#options ALTQ_RIO # RED with IN/OUT 1201.10Smrg#options ALTQ_WFQ # Weighted Fair Queueing 1211.10Smrg 1221.10Smrg# JIT compiler for bpfilter 1231.1Ssimonboptions BPFJIT 1241.1Ssimonboptions SLJIT 1251.1Ssimonb 1261.1Ssimonb# These options enable verbose messages for several subsystems. 1271.1Ssimonb# Warning, these may compile large string tables into the kernel! 1281.1Ssimonboptions MIIVERBOSE # verbose PHY autoconfig messages 1291.1Ssimonb 1301.1Ssimonboptions NFS_BOOT_DHCP 1311.1Ssimonb 1321.1Ssimonbconfig netbsd root on ? type ? 1331.1Ssimonb#config netbsd root on cnmac0 type nfs 1341.1Ssimonb 1351.1Ssimonbmainbus0 at root 1361.1Ssimonbcpunode0 at mainbus? 1371.1Ssimonbcpu* at cpunode? core ? 1381.1Ssimonbwdog0 at cpunode0 flags 0 # flags 1 will enable it on boot 1391.1Ssimonb 1401.1Ssimonbiobus0 at mainbus? 1411.1Ssimonbbootbus0 at mainbus? 1421.2Sjmcneillsimplebus* at fdt? pass 0 1431.2Sjmcneill 1441.2Sjmcneilloctintc* at fdt? pass 1 1451.4Sjmcneilloctcib* at fdt? pass 2 1461.1Ssimonb 1471.1Ssimonbcom* at iobus? 1481.2Sjmcneillcom* at fdt? 1491.1Ssimonb 1501.1Ssimonboctsmi* at iobus? # MDIO controller 1511.4Sjmcneilloctsmi* at fdt? pass 3 1521.1Ssimonboctpip* at iobus? # PIP packet processing controller 1531.4Sjmcneilloctpip* at fdt? pass 4 1541.1Ssimonb 1551.1Ssimonboctgmx* at octpip? 1561.1Ssimonbcnmac* at octgmx? 1571.1Ssimonb 1581.1Ssimonboctrnm* at iobus? # Random Number Memory (and generator) 1591.1Ssimonb 1601.1Ssimonbdwctwo* at iobus? 1611.5Sjmcneillxhci* at fdt? 1621.1Ssimonb 1631.1Ssimonbusb* at dwctwo? 1641.5Sjmcneillusb* at xhci? 1651.1Ssimonb 1661.1Ssimonbuhub* at usb? 1671.1Ssimonb 1681.1Ssimonb# USB Mass Storage 1691.1Ssimonbumass* at uhub? port ? configuration ? interface ? 1701.1Ssimonbscsibus* at umass? channel ? 1711.1Ssimonbsd* at scsibus? target ? lun ? # SCSI disk drives 1721.1Ssimonb 1731.1Ssimonb# Ethernet PHYs 1741.1Ssimonbatphy* at mii? phy ? # Attansic/Atheros PHYs 1751.1Ssimonbukphy* at mii? phy ? # generic unknown PHYs 1761.1Ssimonb 1771.1Ssimonb# Pseudo-devices 1781.1Ssimonb 1791.1Ssimonb# Disk/mass storage pseudo-devices 1801.1Ssimonb#pseudo-device ccd # concatenated disk devices 1811.1Ssimonb#pseudo-device raid # RAIDframe disk driver 1821.1Ssimonb#pseudo-device fss # file system snapshot device 1831.1Ssimonb#pseudo-device md # memory disk device (ramdisk) 1841.1Ssimonb#pseudo-device vnd # disk-like interface to files 1851.1Ssimonb 1861.1Ssimonb# Network pseudo-devices 1871.1Ssimonbpseudo-device bpfilter # Berkeley packet filter 1881.1Ssimonbpseudo-device carp # Common Address Redundancy Protocol 1891.1Ssimonbpseudo-device npf # NPF packet filter 1901.1Ssimonbpseudo-device loop # network loopback 1911.1Ssimonbpseudo-device ppp # Point-to-Point Protocol 1921.1Ssimonbpseudo-device pppoe # Point-to-Point Protocol over Ethernet 1931.1Ssimonb#pseudo-device sl # Serial Line IP 1941.1Ssimonbpseudo-device tun # network tunneling over tty 1951.1Ssimonbpseudo-device tap # virtual Ethernet 1961.1Ssimonb#pseudo-device gre # generic L3 over IP tunnel 1971.1Ssimonb#pseudo-device ipip # RFC 2003 IP Encapsulation 1981.1Ssimonbpseudo-device gif # RFC1933 tunnel 1991.1Ssimonb#pseudo-device faith # IPv[46] tcp relay translation 2001.1Ssimonb#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2011.1Ssimonbpseudo-device vlan # IEEE 802.1q encapsulation 2021.1Ssimonbpseudo-device bridge # simple inter-network bridging 2031.9Sroypseudo-device vether # Virtual Ethernet for bridge 2041.1Ssimonb 2051.1Ssimonb# Miscellaneous pseudo-devices 2061.1Ssimonbpseudo-device pty # pseudo-terminals 2071.1Ssimonbpseudo-device clockctl # user control of clock subsystem 2081.1Ssimonbpseudo-device ksyms # /dev/ksyms 2091.1Ssimonbpseudo-device drvctl # driver control 2101.8Sjmcneillpseudo-device openfirm # /dev/openfirm 2111.10Smrgpseudo-device putter # for puffs and pud 2121.12Sriastradpseudo-device swwdog # software watchdog timer -- swwdog(4) 2131.1Ssimonb 2141.1Ssimonb# A pseudo device needed for Coda # also needs CODA (above) 2151.1Ssimonb#pseudo-device vcoda # coda minicache <-> venus comm. 2161.1Ssimonb 2171.1Ssimonbinclude "dev/veriexec.config" 2181.1Ssimonb 2191.13Sabs# Pull in optional local configuration - always at end 2201.1Ssimonbcinclude "arch/evbmips/conf/OCTEON.local" 221