OCTEON revision 1.1 1 # $NetBSD: OCTEON,v 1.1 2020/07/15 12:15:30 simonb 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.1 $"
9
10 maxusers 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
26 options KTRACE # system call tracing support
27 options SYSVMSG # System V message queues
28 options SYSVSEM # System V semaphores
29 options SYSVSHM # System V shared memory
30 options NTP # network time protocol
31
32 # Debugging options
33 options 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
37 options DDB # kernel dynamic debugger
38 options DDB_HISTORY_SIZE=100 # enable history editing in DDB
39 makeoptions DEBUG="-g" # compile full symbol table
40 makeoptions COPY_SYMTAB=1 # size for embedded symbol table
41
42 # Compatibility options
43
44 include "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
51 file-system FFS # Berkeley Fast Filesystem
52 file-system MFS # memory-based filesystem
53 file-system EXT2FS # second extended file system (linux)
54 file-system NFS # Sun NFS-compatible filesystem client
55 file-system TMPFS # Efficient memory file-system
56 file-system KERNFS # kernel data-structure filesystem
57 file-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)
62 file-system PROCFS # /proc
63 file-system CD9660 # ISO 9660 + Rock Ridge file system
64 #file-system UNION # union file system
65 file-system MSDOSFS # MS-DOS FAT filesystem(s).
66 #file-system CODA # Coda File System; also needs vcoda (below)
67 file-system PTYFS # /dev/pts/N support
68
69 # File system options
70 options 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
75 options 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
83 options BUFQ_PRIOCSCAN
84
85 # Networking options
86 #options GATEWAY # IP packet forwarding
87 options INET # Internet protocols
88 options 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)
97 options BPFJIT
98 options SLJIT
99
100 # These options enable verbose messages for several subsystems.
101 # Warning, these may compile large string tables into the kernel!
102 options MIIVERBOSE # verbose PHY autoconfig messages
103
104 options NFS_BOOT_DHCP
105
106 config netbsd root on ? type ?
107 #config netbsd root on cnmac0 type nfs
108
109 mainbus0 at root
110 cpunode0 at mainbus?
111 cpu* at cpunode? core ?
112 wdog0 at cpunode0 flags 0 # flags 1 will enable it on boot
113
114 iobus0 at mainbus?
115 bootbus0 at mainbus?
116
117 com* at iobus?
118
119 octsmi* at iobus? # MDIO controller
120 octpip* at iobus? # PIP packet processing controller
121
122 octgmx* at octpip?
123 cnmac* at octgmx?
124
125 octrnm* at iobus? # Random Number Memory (and generator)
126
127 dwctwo* at iobus?
128
129 usb* at dwctwo?
130
131 uhub* at usb?
132
133 # USB Mass Storage
134 umass* at uhub? port ? configuration ? interface ?
135 scsibus* at umass? channel ?
136 sd* at scsibus? target ? lun ? # SCSI disk drives
137
138 # Ethernet PHYs
139 atphy* at mii? phy ? # Attansic/Atheros PHYs
140 ukphy* 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
152 pseudo-device bpfilter # Berkeley packet filter
153 pseudo-device carp # Common Address Redundancy Protocol
154 pseudo-device npf # NPF packet filter
155 pseudo-device loop # network loopback
156 pseudo-device ppp # Point-to-Point Protocol
157 pseudo-device pppoe # Point-to-Point Protocol over Ethernet
158 #pseudo-device sl # Serial Line IP
159 pseudo-device tun # network tunneling over tty
160 pseudo-device tap # virtual Ethernet
161 #pseudo-device gre # generic L3 over IP tunnel
162 #pseudo-device ipip # RFC 2003 IP Encapsulation
163 pseudo-device gif # RFC1933 tunnel
164 #pseudo-device faith # IPv[46] tcp relay translation
165 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
166 pseudo-device vlan # IEEE 802.1q encapsulation
167 pseudo-device bridge # simple inter-network bridging
168
169 # Miscellaneous pseudo-devices
170 pseudo-device pty # pseudo-terminals
171 pseudo-device clockctl # user control of clock subsystem
172 pseudo-device ksyms # /dev/ksyms
173 pseudo-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
178 include "dev/veriexec.config"
179
180 cinclude "arch/evbmips/conf/OCTEON.local"
181