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