OCTEON revision 1.1
1# $NetBSD: OCTEON,v 1.1 2020/07/15 12:15:30 simonb Exp $ 2 3include "arch/mips/conf/std.octeon" 4include "arch/evbmips/conf/files.octeon" 5 6#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 7 8#ident "ERLITE-$Revision: 1.1 $" 9 10maxusers 32 11 12# Options for necessary to use MD 13#options MEMORY_DISK_HOOKS 14#options MEMORY_DISK_IS_ROOT # force root on memory disk 15#options MEMORY_DISK_SERVER=0 # no userspace memory disk support 16#options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks 17#options MEMORY_DISK_ROOT_SIZE=16384 # size of memory disk, in blocks 18#options MEMORY_DISK_ROOT_SIZE=7300 19 20# Size reduction options 21#options VNODE_OP_NOINLINE 22#options PIPE_SOCKETPAIR 23#options SOSEND_NO_LOAN 24 25# Standard system options 26options KTRACE # system call tracing support 27options SYSVMSG # System V message queues 28options SYSVSEM # System V semaphores 29options SYSVSHM # System V shared memory 30options NTP # network time protocol 31 32# Debugging options 33options DIAGNOSTIC # extra kernel sanity checking 34#options DEBUG # extra kernel debugging support 35#options USERCONF # userconf(4) support 36#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 37options DDB # kernel dynamic debugger 38options DDB_HISTORY_SIZE=100 # enable history editing in DDB 39makeoptions DEBUG="-g" # compile full symbol table 40makeoptions COPY_SYMTAB=1 # size for embedded symbol table 41 42# Compatibility options 43 44include "conf/compat_netbsd50.config" 45#options COMPAT_386BSD_MBRPART # recognize old partition ID 46 47#options EXEC_ECOFF # exec ECOFF binaries 48#options COMPAT_ULTRIX # binary compatibility with Ultrix 49 50# File systems 51file-system FFS # Berkeley Fast Filesystem 52file-system MFS # memory-based filesystem 53file-system EXT2FS # second extended file system (linux) 54file-system NFS # Sun NFS-compatible filesystem client 55file-system TMPFS # Efficient memory file-system 56file-system KERNFS # kernel data-structure filesystem 57file-system NULLFS # NULL layered filesystem 58#file-system OVERLAY # overlay file system 59#file-system FDESC # user file descriptor filesystem 60#file-system UMAPFS # uid/gid remapping filesystem 61#file-system LFS # Log-based filesystem (still experimental) 62file-system PROCFS # /proc 63file-system CD9660 # ISO 9660 + Rock Ridge file system 64#file-system UNION # union file system 65file-system MSDOSFS # MS-DOS FAT filesystem(s). 66#file-system CODA # Coda File System; also needs vcoda (below) 67file-system PTYFS # /dev/pts/N support 68 69# File system options 70options NFSSERVER # Sun NFS-compatible filesystem server 71#options QUOTA # legacy UFS quotas 72#options QUOTA2 # new, in-filesystem UFS quotas 73#options DISKLABEL_EI # disklabel Endian Independent support 74#options FFS_EI # FFS Endian Independent support 75options WAPBL # File system journaling support 76#options FFS_NO_SNAPSHOT # No FFS snapshot support 77#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 78 # immutable) behave as system flags. 79 80# Alternate buffer queue strategies for better responsiveness under high 81# disk I/O load. 82#options BUFQ_READPRIO 83options BUFQ_PRIOCSCAN 84 85# Networking options 86#options GATEWAY # IP packet forwarding 87options INET # Internet protocols 88options INET6 # IPV6 89#options IPSEC # IP security 90#options IPSEC_DEBUG # debug for IP security 91#options MROUTING # packet forwarding of multicast packets 92#options PIM # Protocol Independent Multicast 93#options NETATALK # AppleTalk (over Ethernet) protocol 94#options PPP_BSDCOMP # BSD-Compress compression support for PPP 95#options PPP_DEFLATE # Deflate compression support for PPP 96#options PPP_FILTER # Active filter support for PPP (requires bpf) 97options BPFJIT 98options SLJIT 99 100# These options enable verbose messages for several subsystems. 101# Warning, these may compile large string tables into the kernel! 102options MIIVERBOSE # verbose PHY autoconfig messages 103 104options NFS_BOOT_DHCP 105 106config netbsd root on ? type ? 107#config netbsd root on cnmac0 type nfs 108 109mainbus0 at root 110cpunode0 at mainbus? 111cpu* at cpunode? core ? 112wdog0 at cpunode0 flags 0 # flags 1 will enable it on boot 113 114iobus0 at mainbus? 115bootbus0 at mainbus? 116 117com* at iobus? 118 119octsmi* at iobus? # MDIO controller 120octpip* at iobus? # PIP packet processing controller 121 122octgmx* at octpip? 123cnmac* at octgmx? 124 125octrnm* at iobus? # Random Number Memory (and generator) 126 127dwctwo* at iobus? 128 129usb* at dwctwo? 130 131uhub* at usb? 132 133# USB Mass Storage 134umass* at uhub? port ? configuration ? interface ? 135scsibus* at umass? channel ? 136sd* at scsibus? target ? lun ? # SCSI disk drives 137 138# Ethernet PHYs 139atphy* at mii? phy ? # Attansic/Atheros PHYs 140ukphy* at mii? phy ? # generic unknown PHYs 141 142# Pseudo-devices 143 144# Disk/mass storage pseudo-devices 145#pseudo-device ccd # concatenated disk devices 146#pseudo-device raid # RAIDframe disk driver 147#pseudo-device fss # file system snapshot device 148#pseudo-device md # memory disk device (ramdisk) 149#pseudo-device vnd # disk-like interface to files 150 151# Network pseudo-devices 152pseudo-device bpfilter # Berkeley packet filter 153pseudo-device carp # Common Address Redundancy Protocol 154pseudo-device npf # NPF packet filter 155pseudo-device loop # network loopback 156pseudo-device ppp # Point-to-Point Protocol 157pseudo-device pppoe # Point-to-Point Protocol over Ethernet 158#pseudo-device sl # Serial Line IP 159pseudo-device tun # network tunneling over tty 160pseudo-device tap # virtual Ethernet 161#pseudo-device gre # generic L3 over IP tunnel 162#pseudo-device ipip # RFC 2003 IP Encapsulation 163pseudo-device gif # RFC1933 tunnel 164#pseudo-device faith # IPv[46] tcp relay translation 165#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 166pseudo-device vlan # IEEE 802.1q encapsulation 167pseudo-device bridge # simple inter-network bridging 168 169# Miscellaneous pseudo-devices 170pseudo-device pty # pseudo-terminals 171pseudo-device clockctl # user control of clock subsystem 172pseudo-device ksyms # /dev/ksyms 173pseudo-device drvctl # driver control 174 175# A pseudo device needed for Coda # also needs CODA (above) 176#pseudo-device vcoda # coda minicache <-> venus comm. 177 178include "dev/veriexec.config" 179 180cinclude "arch/evbmips/conf/OCTEON.local" 181