Sun Apr 18 10:45:22 2021 UTC ()
enable a few more "generic" items in this configuration, mostly
from what pmax GENERIC enables, but not nearly all of it:

- enable OVERLAY, UMAPFS, FDESC, LFS, UNION, PUFFS (and putter),
  and add some more commented out entries
- enable DISKLABEL_EI and FFS_EI
- turn on GATEWAY and ppp(4) options
- add commented ALTQ section


(mrg)
diff -r1.9 -r1.10 src/sys/arch/evbmips/conf/OCTEON

cvs diff -r1.9 -r1.10 src/sys/arch/evbmips/conf/OCTEON (expand / switch to unified diff)

--- src/sys/arch/evbmips/conf/OCTEON 2020/09/27 13:48:50 1.9
+++ src/sys/arch/evbmips/conf/OCTEON 2021/04/18 10:45:22 1.10
@@ -1,21 +1,21 @@ @@ -1,21 +1,21 @@
1# $NetBSD: OCTEON,v 1.9 2020/09/27 13:48:50 roy Exp $ 1# $NetBSD: OCTEON,v 1.10 2021/04/18 10:45:22 mrg Exp $
2 2
3include "arch/mips/conf/std.octeon" 3include "arch/mips/conf/std.octeon"
4include "arch/evbmips/conf/files.octeon" 4include "arch/evbmips/conf/files.octeon"
5 5
6#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 6#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
7 7
8#ident "OCTEON-$Revision: 1.9 $" 8#ident "OCTEON-$Revision: 1.10 $"
9 9
10maxusers 32 10maxusers 32
11 11
12options FDT 12options FDT
13options FDT_DEFAULT_STDOUT_PATH="\"uart0:115200n8\"" 13options FDT_DEFAULT_STDOUT_PATH="\"uart0:115200n8\""
14 14
15# Options for necessary to use MD 15# Options for necessary to use MD
16#options MEMORY_DISK_HOOKS 16#options MEMORY_DISK_HOOKS
17#options MEMORY_DISK_IS_ROOT # force root on memory disk 17#options MEMORY_DISK_IS_ROOT # force root on memory disk
18#options MEMORY_DISK_SERVER=0 # no userspace memory disk support 18#options MEMORY_DISK_SERVER=0 # no userspace memory disk support
19#options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks 19#options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks
20#options MEMORY_DISK_ROOT_SIZE=16384 # size of memory disk, in blocks 20#options MEMORY_DISK_ROOT_SIZE=16384 # size of memory disk, in blocks
21#options MEMORY_DISK_ROOT_SIZE=7300 21#options MEMORY_DISK_ROOT_SIZE=7300
@@ -35,82 +35,98 @@ options NTP # network time protocol @@ -35,82 +35,98 @@ options NTP # network time protocol
35# Debugging options 35# Debugging options
36options DIAGNOSTIC # extra kernel sanity checking 36options DIAGNOSTIC # extra kernel sanity checking
37#options DEBUG # extra kernel debugging support 37#options DEBUG # extra kernel debugging support
38#options USERCONF # userconf(4) support 38#options USERCONF # userconf(4) support
39#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 39#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
40options DDB # kernel dynamic debugger 40options DDB # kernel dynamic debugger
41options DDB_HISTORY_SIZE=100 # enable history editing in DDB 41options DDB_HISTORY_SIZE=100 # enable history editing in DDB
42makeoptions DEBUG="-g" # compile full symbol table 42makeoptions DEBUG="-g" # compile full symbol table
43makeoptions COPY_SYMTAB=1 # size for embedded symbol table 43makeoptions COPY_SYMTAB=1 # size for embedded symbol table
44 44
45# Compatibility options 45# Compatibility options
46 46
47include "conf/compat_netbsd50.config" 47include "conf/compat_netbsd50.config"
48#options COMPAT_386BSD_MBRPART # recognize old partition ID 
49 48
50#options EXEC_ECOFF # exec ECOFF binaries 49#options EXEC_ECOFF # exec ECOFF binaries
51#options COMPAT_ULTRIX # binary compatibility with Ultrix 50#options COMPAT_ULTRIX # binary compatibility with Ultrix
52 51
53# Wedge support 52# Wedge support
54options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 53options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances
55options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 54options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges
56 55
57# File systems 56# File systems
58file-system FFS # Berkeley Fast Filesystem 57file-system FFS # Berkeley Fast Filesystem
59file-system MFS # memory-based filesystem 58file-system MFS # memory-based filesystem
60file-system EXT2FS # second extended file system (linux) 
61file-system NFS # Sun NFS-compatible filesystem client 59file-system NFS # Sun NFS-compatible filesystem client
62file-system TMPFS # Efficient memory file-system 60file-system LFS # Log-based filesystem (still experimental)
 61file-system EXT2FS # second extended file system (linux)
 62file-system CD9660 # ISO 9660 + Rock Ridge file system
 63#file-system FDESC # user file descriptor filesystem
63file-system KERNFS # kernel data-structure filesystem 64file-system KERNFS # kernel data-structure filesystem
64file-system NULLFS # NULL layered filesystem 65file-system NULLFS # NULL layered filesystem
65#file-system OVERLAY # overlay file system 66file-system OVERLAY # overlay file system
66#file-system FDESC # user file descriptor filesystem 67file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
67#file-system UMAPFS # uid/gid remapping filesystem 
68#file-system LFS # Log-based filesystem (still experimental) 
69file-system PROCFS # /proc 68file-system PROCFS # /proc
70file-system CD9660 # ISO 9660 + Rock Ridge file system 69file-system UMAPFS # uid/gid remapping filesystem
71#file-system UNION # union file system 70file-system UNION # union file system
 71file-system TMPFS # Efficient memory file-system
 72file-system PTYFS # /dev/pts/N support
72file-system MSDOSFS # MS-DOS FAT filesystem(s). 73file-system MSDOSFS # MS-DOS FAT filesystem(s).
73#file-system CODA # Coda File System; also needs vcoda (below) 74#file-system CODA # Coda File System; also needs vcoda (below)
74file-system PTYFS # /dev/pts/N support 75#file-system UDF # experimental - OSTA UDF CD/DVD file-system
75 76
76# File system options 77# File system options
77options NFSSERVER # Sun NFS-compatible filesystem server 78options NFSSERVER # Sun NFS-compatible filesystem server
78#options QUOTA # legacy UFS quotas 79#options QUOTA # legacy UFS quotas
79#options QUOTA2 # new, in-filesystem UFS quotas 80#options QUOTA2 # new, in-filesystem UFS quotas
80#options DISKLABEL_EI # disklabel Endian Independent support 81options DISKLABEL_EI # disklabel Endian Independent support
81#options FFS_EI # FFS Endian Independent support 82options FFS_EI # FFS Endian Independent support
82options WAPBL # File system journaling support 83options WAPBL # File system journaling support
83#options FFS_NO_SNAPSHOT # No FFS snapshot support 84#options FFS_NO_SNAPSHOT # No FFS snapshot support
84#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 85#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
85 # immutable) behave as system flags. 86 # immutable) behave as system flags.
86 87
87# Alternate buffer queue strategies for better responsiveness under high 88# Alternate buffer queue strategies for better responsiveness under high
88# disk I/O load. 89# disk I/O load.
89#options BUFQ_READPRIO 90#options BUFQ_READPRIO
90options BUFQ_PRIOCSCAN 91options BUFQ_PRIOCSCAN
91 92
92# Networking options 93# Networking options
93#options GATEWAY # IP packet forwarding 94options GATEWAY # IP packet forwarding
94options INET # Internet protocols 95options INET # Internet protocols
95options INET6 # IPV6 96options INET6 # IPV6
96#options IPSEC # IP security 97#options IPSEC # IP security
97#options IPSEC_DEBUG # debug for IP security 98#options IPSEC_DEBUG # debug for IP security
98#options MROUTING # packet forwarding of multicast packets 99#options MROUTING # packet forwarding of multicast packets
99#options PIM # Protocol Independent Multicast 100#options PIM # Protocol Independent Multicast
100#options NETATALK # AppleTalk (over Ethernet) protocol 101#options NETATALK # AppleTalk (over Ethernet) protocol
101#options PPP_BSDCOMP # BSD-Compress compression support for PPP 102options PPP_BSDCOMP # BSD-Compress compression support for PPP
102#options PPP_DEFLATE # Deflate compression support for PPP 103options PPP_DEFLATE # Deflate compression support for PPP
103#options PPP_FILTER # Active filter support for PPP (requires bpf) 104options PPP_FILTER # Active filter support for PPP (requires bpf)
 105
 106#options ALTQ # Manipulate network interfaces' output queues
 107#options ALTQ_BLUE # Stochastic Fair Blue
 108#options ALTQ_CBQ # Class-Based Queueing
 109#options ALTQ_CDNR # Diffserv Traffic Conditioner
 110#options ALTQ_FIFOQ # First-In First-Out Queue
 111#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
 112#options ALTQ_HFSC # Hierarchical Fair Service Curve
 113#options ALTQ_LOCALQ # Local queueing discipline
 114#options ALTQ_PRIQ # Priority Queueing
 115#options ALTQ_RED # Random Early Detection
 116#options ALTQ_RIO # RED with IN/OUT
 117#options ALTQ_WFQ # Weighted Fair Queueing
 118
 119# JIT compiler for bpfilter
104options BPFJIT 120options BPFJIT
105options SLJIT 121options SLJIT
106 122
107# These options enable verbose messages for several subsystems. 123# These options enable verbose messages for several subsystems.
108# Warning, these may compile large string tables into the kernel! 124# Warning, these may compile large string tables into the kernel!
109options MIIVERBOSE # verbose PHY autoconfig messages 125options MIIVERBOSE # verbose PHY autoconfig messages
110 126
111options NFS_BOOT_DHCP 127options NFS_BOOT_DHCP
112 128
113config netbsd root on ? type ? 129config netbsd root on ? type ?
114#config netbsd root on cnmac0 type nfs 130#config netbsd root on cnmac0 type nfs
115 131
116mainbus0 at root 132mainbus0 at root
@@ -179,20 +195,21 @@ pseudo-device tap # virtual Ethernet @@ -179,20 +195,21 @@ pseudo-device tap # virtual Ethernet
179pseudo-device gif # RFC1933 tunnel 195pseudo-device gif # RFC1933 tunnel
180#pseudo-device faith # IPv[46] tcp relay translation 196#pseudo-device faith # IPv[46] tcp relay translation
181#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 197#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
182pseudo-device vlan # IEEE 802.1q encapsulation 198pseudo-device vlan # IEEE 802.1q encapsulation
183pseudo-device bridge # simple inter-network bridging 199pseudo-device bridge # simple inter-network bridging
184pseudo-device vether # Virtual Ethernet for bridge 200pseudo-device vether # Virtual Ethernet for bridge
185 201
186# Miscellaneous pseudo-devices 202# Miscellaneous pseudo-devices
187pseudo-device pty # pseudo-terminals 203pseudo-device pty # pseudo-terminals
188pseudo-device clockctl # user control of clock subsystem 204pseudo-device clockctl # user control of clock subsystem
189pseudo-device ksyms # /dev/ksyms 205pseudo-device ksyms # /dev/ksyms
190pseudo-device drvctl # driver control 206pseudo-device drvctl # driver control
191pseudo-device openfirm # /dev/openfirm 207pseudo-device openfirm # /dev/openfirm
 208pseudo-device putter # for puffs and pud
192 209
193# A pseudo device needed for Coda # also needs CODA (above) 210# A pseudo device needed for Coda # also needs CODA (above)
194#pseudo-device vcoda # coda minicache <-> venus comm. 211#pseudo-device vcoda # coda minicache <-> venus comm.
195 212
196include "dev/veriexec.config" 213include "dev/veriexec.config"
197 214
198cinclude "arch/evbmips/conf/OCTEON.local" 215cinclude "arch/evbmips/conf/OCTEON.local"