OCTEON revision 1.13
1#	$NetBSD: OCTEON,v 1.13 2023/02/09 14:09:48 abs 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 		"OCTEON-$Revision: 1.13 $"
9
10maxusers	32
11
12options 	FDT
13options 	FDT_DEFAULT_STDOUT_PATH="\"uart0:115200n8\""
14
15# Options for necessary to use MD
16#options 	MEMORY_DISK_HOOKS
17#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
18#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
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
21#options 	MEMORY_DISK_ROOT_SIZE=7300
22
23# Size reduction options
24#options 	VNODE_OP_NOINLINE
25#options 	PIPE_SOCKETPAIR
26#options 	SOSEND_NO_LOAN
27
28# Standard system options
29options 	KTRACE		# system call tracing support
30options 	SYSVMSG		# System V message queues
31options 	SYSVSEM		# System V semaphores
32options 	SYSVSHM		# System V shared memory
33options 	NTP		# network time protocol
34
35# Debugging options
36options 	DIAGNOSTIC	# extra kernel sanity checking
37#options 	DEBUG		# extra kernel debugging support
38#options 	USERCONF	# userconf(4) support
39#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
40options 	DDB		# kernel dynamic debugger
41options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
42makeoptions 	DEBUG="-g"	# compile full symbol table
43makeoptions	COPY_SYMTAB=1	# size for embedded symbol table
44
45# Compatibility options
46
47include         "conf/compat_netbsd50.config"
48
49#options 	EXEC_ECOFF	# exec ECOFF binaries
50#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
51
52# Wedge support
53options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
54options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
55
56# File systems
57file-system	FFS		# Berkeley Fast Filesystem
58file-system	MFS		# memory-based filesystem
59file-system	NFS		# Sun NFS-compatible filesystem client
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
64file-system	KERNFS		# kernel data-structure filesystem
65file-system	NULLFS		# NULL layered filesystem
66file-system	OVERLAY		# overlay file system
67file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
68file-system	PROCFS		# /proc
69file-system	UMAPFS		# uid/gid remapping filesystem
70file-system	UNION		# union file system
71file-system	TMPFS		# Efficient memory file-system
72file-system	PTYFS		# /dev/pts/N support
73file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
74#file-system	CODA		# Coda File System; also needs vcoda (below)
75#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
76
77# File system options
78options 	FFS_EI		# FFS Endian Independent support
79#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
80#options 	QUOTA		# legacy UFS quotas
81#options 	QUOTA2		# new, in-filesystem UFS quotas
82options 	UFS_DIRHASH	# UFS Large Directory Hashing
83options 	UFS_EXTATTR	# Extended attribute support for UFS1
84options 	WAPBL		# File system journaling support
85options 	LFS_DIRHASH	# LFS version of UFS_DIRHASH - experimental
86#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
87				# immutable) behave as system flags.
88options 	DISKLABEL_EI	# disklabel Endian Independent support
89options 	NFSSERVER	# Network File System server
90
91# Alternate buffer queue strategies for better responsiveness under high
92# disk I/O load.
93#options 	BUFQ_READPRIO
94options 	BUFQ_PRIOCSCAN
95
96# Networking options
97options 	GATEWAY		# IP packet forwarding
98options 	INET		# Internet protocols
99options 	INET6		# IPV6
100#options 	IPSEC		# IP security
101#options 	IPSEC_DEBUG	# debug for IP security
102#options 	MROUTING	# packet forwarding of multicast packets
103#options 	PIM		# Protocol Independent Multicast
104#options 	NETATALK	# AppleTalk (over Ethernet) protocol
105options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
106options 	PPP_DEFLATE	# Deflate compression support for PPP
107options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
108
109#options 	ALTQ		# Manipulate network interfaces' output queues
110#options 	ALTQ_BLUE	# Stochastic Fair Blue
111#options 	ALTQ_CBQ	# Class-Based Queueing
112#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
113#options 	ALTQ_FIFOQ	# First-In First-Out Queue
114#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
115#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
116#options 	ALTQ_LOCALQ	# Local queueing discipline
117#options 	ALTQ_PRIQ	# Priority Queueing
118#options 	ALTQ_RED	# Random Early Detection
119#options 	ALTQ_RIO	# RED with IN/OUT
120#options 	ALTQ_WFQ	# Weighted Fair Queueing
121
122# JIT compiler for bpfilter
123options 	BPFJIT
124options 	SLJIT
125
126# These options enable verbose messages for several subsystems.
127# Warning, these may compile large string tables into the kernel!
128options 	MIIVERBOSE	# verbose PHY autoconfig messages
129
130options 	NFS_BOOT_DHCP
131
132config		netbsd	root on ? type ?
133#config		netbsd	root on cnmac0 type nfs
134
135mainbus0	at root
136cpunode0	at mainbus?
137cpu*		at cpunode? core ?
138wdog0		at cpunode0 flags 0		# flags 1 will enable it on boot
139
140iobus0		at mainbus?
141bootbus0	at mainbus?
142simplebus*	at fdt? pass 0
143
144octintc*	at fdt? pass 1
145octcib*		at fdt? pass 2
146
147com*		at iobus?
148com*		at fdt?
149
150octsmi*		at iobus?		# MDIO controller
151octsmi*		at fdt? pass 3
152octpip*		at iobus?		# PIP packet processing controller
153octpip*		at fdt? pass 4
154
155octgmx*		at octpip?
156cnmac*		at octgmx?
157
158octrnm*		at iobus?		# Random Number Memory (and generator)
159
160dwctwo*		at iobus?
161xhci*		at fdt?
162
163usb*		at dwctwo?
164usb*		at xhci?
165
166uhub*		at usb?
167
168# USB Mass Storage
169umass*		at uhub? port ? configuration ? interface ?
170scsibus*	at umass? channel ?
171sd*		at scsibus? target ? lun ?	# SCSI disk drives
172
173# Ethernet PHYs
174atphy*		at mii? phy ?		# Attansic/Atheros PHYs
175ukphy*		at mii? phy ?		# generic unknown PHYs
176
177# Pseudo-devices
178
179# Disk/mass storage pseudo-devices
180#pseudo-device	ccd				# concatenated disk devices
181#pseudo-device	raid				# RAIDframe disk driver
182#pseudo-device	fss				# file system snapshot device
183#pseudo-device	md				# memory disk device (ramdisk)
184#pseudo-device	vnd				# disk-like interface to files
185
186# Network pseudo-devices
187pseudo-device	bpfilter			# Berkeley packet filter
188pseudo-device 	carp				# Common Address Redundancy Protocol
189pseudo-device	npf				# NPF packet filter
190pseudo-device	loop				# network loopback
191pseudo-device	ppp				# Point-to-Point Protocol
192pseudo-device	pppoe				# Point-to-Point Protocol over Ethernet
193#pseudo-device	sl				# Serial Line IP
194pseudo-device	tun				# network tunneling over tty
195pseudo-device	tap				# virtual Ethernet
196#pseudo-device	gre				# generic L3 over IP tunnel
197#pseudo-device	ipip				# RFC 2003 IP Encapsulation
198pseudo-device	gif				# RFC1933 tunnel
199#pseudo-device	faith				# IPv[46] tcp relay translation
200#pseudo-device	stf				# 6to4 IPv6 over IPv4 encapsulation
201pseudo-device	vlan				# IEEE 802.1q encapsulation
202pseudo-device	bridge				# simple inter-network bridging
203pseudo-device	vether				# Virtual Ethernet for bridge
204
205# Miscellaneous pseudo-devices
206pseudo-device	pty				# pseudo-terminals
207pseudo-device	clockctl			# user control of clock subsystem
208pseudo-device	ksyms				# /dev/ksyms
209pseudo-device	drvctl				# driver control
210pseudo-device	openfirm			# /dev/openfirm
211pseudo-device	putter				# for puffs and pud
212pseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
213
214# A pseudo device needed for Coda		# also needs CODA (above)
215#pseudo-device	vcoda				# coda minicache <-> venus comm.
216
217include "dev/veriexec.config"
218
219# Pull in optional local configuration - always at end
220cinclude 	"arch/evbmips/conf/OCTEON.local"
221