OCTEON revision 1.2
11.2Sjmcneill# $NetBSD: OCTEON,v 1.2 2020/07/16 11:49:37 jmcneill 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.2Sjmcneill#ident "ERLITE-$Revision: 1.2 $" 91.1Ssimonb 101.1Ssimonbmaxusers 32 111.1Ssimonb 121.2Sjmcneilloptions FDT 131.2Sjmcneill 141.1Ssimonb# Options for necessary to use MD 151.1Ssimonb#options MEMORY_DISK_HOOKS 161.1Ssimonb#options MEMORY_DISK_IS_ROOT # force root on memory disk 171.1Ssimonb#options MEMORY_DISK_SERVER=0 # no userspace memory disk support 181.1Ssimonb#options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks 191.1Ssimonb#options MEMORY_DISK_ROOT_SIZE=16384 # size of memory disk, in blocks 201.1Ssimonb#options MEMORY_DISK_ROOT_SIZE=7300 211.1Ssimonb 221.1Ssimonb# Size reduction options 231.1Ssimonb#options VNODE_OP_NOINLINE 241.1Ssimonb#options PIPE_SOCKETPAIR 251.1Ssimonb#options SOSEND_NO_LOAN 261.1Ssimonb 271.1Ssimonb# Standard system options 281.1Ssimonboptions KTRACE # system call tracing support 291.1Ssimonboptions SYSVMSG # System V message queues 301.1Ssimonboptions SYSVSEM # System V semaphores 311.1Ssimonboptions SYSVSHM # System V shared memory 321.1Ssimonboptions NTP # network time protocol 331.1Ssimonb 341.1Ssimonb# Debugging options 351.1Ssimonboptions DIAGNOSTIC # extra kernel sanity checking 361.1Ssimonb#options DEBUG # extra kernel debugging support 371.1Ssimonb#options USERCONF # userconf(4) support 381.1Ssimonb#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 391.1Ssimonboptions DDB # kernel dynamic debugger 401.1Ssimonboptions DDB_HISTORY_SIZE=100 # enable history editing in DDB 411.1Ssimonbmakeoptions DEBUG="-g" # compile full symbol table 421.1Ssimonbmakeoptions COPY_SYMTAB=1 # size for embedded symbol table 431.1Ssimonb 441.1Ssimonb# Compatibility options 451.1Ssimonb 461.1Ssimonbinclude "conf/compat_netbsd50.config" 471.1Ssimonb#options COMPAT_386BSD_MBRPART # recognize old partition ID 481.1Ssimonb 491.1Ssimonb#options EXEC_ECOFF # exec ECOFF binaries 501.1Ssimonb#options COMPAT_ULTRIX # binary compatibility with Ultrix 511.1Ssimonb 521.1Ssimonb# File systems 531.1Ssimonbfile-system FFS # Berkeley Fast Filesystem 541.1Ssimonbfile-system MFS # memory-based filesystem 551.1Ssimonbfile-system EXT2FS # second extended file system (linux) 561.1Ssimonbfile-system NFS # Sun NFS-compatible filesystem client 571.1Ssimonbfile-system TMPFS # Efficient memory file-system 581.1Ssimonbfile-system KERNFS # kernel data-structure filesystem 591.1Ssimonbfile-system NULLFS # NULL layered filesystem 601.1Ssimonb#file-system OVERLAY # overlay file system 611.1Ssimonb#file-system FDESC # user file descriptor filesystem 621.1Ssimonb#file-system UMAPFS # uid/gid remapping filesystem 631.1Ssimonb#file-system LFS # Log-based filesystem (still experimental) 641.1Ssimonbfile-system PROCFS # /proc 651.1Ssimonbfile-system CD9660 # ISO 9660 + Rock Ridge file system 661.1Ssimonb#file-system UNION # union file system 671.1Ssimonbfile-system MSDOSFS # MS-DOS FAT filesystem(s). 681.1Ssimonb#file-system CODA # Coda File System; also needs vcoda (below) 691.1Ssimonbfile-system PTYFS # /dev/pts/N support 701.1Ssimonb 711.1Ssimonb# File system options 721.1Ssimonboptions NFSSERVER # Sun NFS-compatible filesystem server 731.1Ssimonb#options QUOTA # legacy UFS quotas 741.1Ssimonb#options QUOTA2 # new, in-filesystem UFS quotas 751.1Ssimonb#options DISKLABEL_EI # disklabel Endian Independent support 761.1Ssimonb#options FFS_EI # FFS Endian Independent support 771.1Ssimonboptions WAPBL # File system journaling support 781.1Ssimonb#options FFS_NO_SNAPSHOT # No FFS snapshot support 791.1Ssimonb#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 801.1Ssimonb # immutable) behave as system flags. 811.1Ssimonb 821.1Ssimonb# Alternate buffer queue strategies for better responsiveness under high 831.1Ssimonb# disk I/O load. 841.1Ssimonb#options BUFQ_READPRIO 851.1Ssimonboptions BUFQ_PRIOCSCAN 861.1Ssimonb 871.1Ssimonb# Networking options 881.1Ssimonb#options GATEWAY # IP packet forwarding 891.1Ssimonboptions INET # Internet protocols 901.1Ssimonboptions INET6 # IPV6 911.1Ssimonb#options IPSEC # IP security 921.1Ssimonb#options IPSEC_DEBUG # debug for IP security 931.1Ssimonb#options MROUTING # packet forwarding of multicast packets 941.1Ssimonb#options PIM # Protocol Independent Multicast 951.1Ssimonb#options NETATALK # AppleTalk (over Ethernet) protocol 961.1Ssimonb#options PPP_BSDCOMP # BSD-Compress compression support for PPP 971.1Ssimonb#options PPP_DEFLATE # Deflate compression support for PPP 981.1Ssimonb#options PPP_FILTER # Active filter support for PPP (requires bpf) 991.1Ssimonboptions BPFJIT 1001.1Ssimonboptions SLJIT 1011.1Ssimonb 1021.1Ssimonb# These options enable verbose messages for several subsystems. 1031.1Ssimonb# Warning, these may compile large string tables into the kernel! 1041.1Ssimonboptions MIIVERBOSE # verbose PHY autoconfig messages 1051.1Ssimonb 1061.1Ssimonboptions NFS_BOOT_DHCP 1071.1Ssimonb 1081.1Ssimonbconfig netbsd root on ? type ? 1091.1Ssimonb#config netbsd root on cnmac0 type nfs 1101.1Ssimonb 1111.1Ssimonbmainbus0 at root 1121.1Ssimonbcpunode0 at mainbus? 1131.1Ssimonbcpu* at cpunode? core ? 1141.1Ssimonbwdog0 at cpunode0 flags 0 # flags 1 will enable it on boot 1151.1Ssimonb 1161.1Ssimonbiobus0 at mainbus? 1171.1Ssimonbbootbus0 at mainbus? 1181.2Sjmcneillsimplebus* at fdt? pass 0 1191.2Sjmcneill 1201.2Sjmcneilloctintc* at fdt? pass 1 1211.1Ssimonb 1221.1Ssimonbcom* at iobus? 1231.2Sjmcneillcom* at fdt? 1241.1Ssimonb 1251.1Ssimonboctsmi* at iobus? # MDIO controller 1261.2Sjmcneilloctsmi* at fdt? pass 2 1271.1Ssimonboctpip* at iobus? # PIP packet processing controller 1281.2Sjmcneilloctpip* at fdt? pass 3 1291.1Ssimonb 1301.1Ssimonboctgmx* at octpip? 1311.1Ssimonbcnmac* at octgmx? 1321.1Ssimonb 1331.1Ssimonboctrnm* at iobus? # Random Number Memory (and generator) 1341.1Ssimonb 1351.1Ssimonbdwctwo* at iobus? 1361.1Ssimonb 1371.1Ssimonbusb* at dwctwo? 1381.1Ssimonb 1391.1Ssimonbuhub* at usb? 1401.1Ssimonb 1411.1Ssimonb# USB Mass Storage 1421.1Ssimonbumass* at uhub? port ? configuration ? interface ? 1431.1Ssimonbscsibus* at umass? channel ? 1441.1Ssimonbsd* at scsibus? target ? lun ? # SCSI disk drives 1451.1Ssimonb 1461.1Ssimonb# Ethernet PHYs 1471.1Ssimonbatphy* at mii? phy ? # Attansic/Atheros PHYs 1481.1Ssimonbukphy* at mii? phy ? # generic unknown PHYs 1491.1Ssimonb 1501.1Ssimonb# Pseudo-devices 1511.1Ssimonb 1521.1Ssimonb# Disk/mass storage pseudo-devices 1531.1Ssimonb#pseudo-device ccd # concatenated disk devices 1541.1Ssimonb#pseudo-device raid # RAIDframe disk driver 1551.1Ssimonb#pseudo-device fss # file system snapshot device 1561.1Ssimonb#pseudo-device md # memory disk device (ramdisk) 1571.1Ssimonb#pseudo-device vnd # disk-like interface to files 1581.1Ssimonb 1591.1Ssimonb# Network pseudo-devices 1601.1Ssimonbpseudo-device bpfilter # Berkeley packet filter 1611.1Ssimonbpseudo-device carp # Common Address Redundancy Protocol 1621.1Ssimonbpseudo-device npf # NPF packet filter 1631.1Ssimonbpseudo-device loop # network loopback 1641.1Ssimonbpseudo-device ppp # Point-to-Point Protocol 1651.1Ssimonbpseudo-device pppoe # Point-to-Point Protocol over Ethernet 1661.1Ssimonb#pseudo-device sl # Serial Line IP 1671.1Ssimonbpseudo-device tun # network tunneling over tty 1681.1Ssimonbpseudo-device tap # virtual Ethernet 1691.1Ssimonb#pseudo-device gre # generic L3 over IP tunnel 1701.1Ssimonb#pseudo-device ipip # RFC 2003 IP Encapsulation 1711.1Ssimonbpseudo-device gif # RFC1933 tunnel 1721.1Ssimonb#pseudo-device faith # IPv[46] tcp relay translation 1731.1Ssimonb#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 1741.1Ssimonbpseudo-device vlan # IEEE 802.1q encapsulation 1751.1Ssimonbpseudo-device bridge # simple inter-network bridging 1761.1Ssimonb 1771.1Ssimonb# Miscellaneous pseudo-devices 1781.1Ssimonbpseudo-device pty # pseudo-terminals 1791.1Ssimonbpseudo-device clockctl # user control of clock subsystem 1801.1Ssimonbpseudo-device ksyms # /dev/ksyms 1811.1Ssimonbpseudo-device drvctl # driver control 1821.1Ssimonb 1831.1Ssimonb# A pseudo device needed for Coda # also needs CODA (above) 1841.1Ssimonb#pseudo-device vcoda # coda minicache <-> venus comm. 1851.1Ssimonb 1861.1Ssimonbinclude "dev/veriexec.config" 1871.1Ssimonb 1881.1Ssimonbcinclude "arch/evbmips/conf/OCTEON.local" 189