OCTEON revision 1.7
1#	$NetBSD: OCTEON,v 1.7 2020/07/17 14:57:54 jmcneill 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.7 $"
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#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
49
50#options 	EXEC_ECOFF	# exec ECOFF binaries
51#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
52
53# Wedge support
54options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
55options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
56
57# File systems
58file-system	FFS		# Berkeley Fast Filesystem
59file-system	MFS		# memory-based filesystem
60file-system	EXT2FS		# second extended file system (linux)
61file-system	NFS		# Sun NFS-compatible filesystem client
62file-system	TMPFS		# Efficient memory file-system
63file-system	KERNFS		# kernel data-structure filesystem
64file-system	NULLFS		# NULL layered filesystem
65#file-system	OVERLAY		# overlay file system
66#file-system	FDESC		# user file descriptor filesystem
67#file-system	UMAPFS		# uid/gid remapping filesystem
68#file-system	LFS		# Log-based filesystem (still experimental)
69file-system	PROCFS		# /proc
70file-system	CD9660		# ISO 9660 + Rock Ridge file system
71#file-system	UNION		# union file system
72file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
73#file-system	CODA		# Coda File System; also needs vcoda (below)
74file-system	PTYFS		# /dev/pts/N support
75
76# File system options
77options 	NFSSERVER	# Sun NFS-compatible filesystem server
78#options 	QUOTA		# legacy UFS quotas
79#options 	QUOTA2		# new, in-filesystem UFS quotas
80#options 	DISKLABEL_EI	# disklabel Endian Independent support
81#options 	FFS_EI		# FFS Endian Independent support
82options 	WAPBL		# File system journaling support
83#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
84#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
85				# immutable) behave as system flags.
86
87# Alternate buffer queue strategies for better responsiveness under high
88# disk I/O load.
89#options 	BUFQ_READPRIO
90options 	BUFQ_PRIOCSCAN
91
92# Networking options
93#options 	GATEWAY		# IP packet forwarding
94options 	INET		# Internet protocols
95options 	INET6		# IPV6
96#options 	IPSEC		# IP security
97#options 	IPSEC_DEBUG	# debug for IP security
98#options 	MROUTING	# packet forwarding of multicast packets
99#options 	PIM		# Protocol Independent Multicast
100#options 	NETATALK	# AppleTalk (over Ethernet) protocol
101#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
102#options 	PPP_DEFLATE	# Deflate compression support for PPP
103#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
104options 	BPFJIT
105options 	SLJIT
106
107# These options enable verbose messages for several subsystems.
108# Warning, these may compile large string tables into the kernel!
109options 	MIIVERBOSE	# verbose PHY autoconfig messages
110
111options 	NFS_BOOT_DHCP
112
113config		netbsd	root on ? type ?
114#config		netbsd	root on cnmac0 type nfs
115
116mainbus0	at root
117cpunode0	at mainbus?
118cpu*		at cpunode? core ?
119wdog0		at cpunode0 flags 0		# flags 1 will enable it on boot
120
121iobus0		at mainbus?
122bootbus0	at mainbus?
123simplebus*	at fdt? pass 0
124
125octintc*	at fdt? pass 1
126octcib*		at fdt? pass 2
127
128com*		at iobus?
129com*		at fdt?
130
131octsmi*		at iobus?		# MDIO controller
132octsmi*		at fdt? pass 3
133octpip*		at iobus?		# PIP packet processing controller
134octpip*		at fdt? pass 4
135
136octgmx*		at octpip?
137cnmac*		at octgmx?
138
139octrnm*		at iobus?		# Random Number Memory (and generator)
140
141dwctwo*		at iobus?
142xhci*		at fdt?
143
144usb*		at dwctwo?
145usb*		at xhci?
146
147uhub*		at usb?
148
149# USB Mass Storage
150umass*		at uhub? port ? configuration ? interface ?
151scsibus*	at umass? channel ?
152sd*		at scsibus? target ? lun ?	# SCSI disk drives
153
154# Ethernet PHYs
155atphy*		at mii? phy ?		# Attansic/Atheros PHYs
156ukphy*		at mii? phy ?		# generic unknown PHYs
157
158# Pseudo-devices
159
160# Disk/mass storage pseudo-devices
161#pseudo-device	ccd				# concatenated disk devices
162#pseudo-device	raid				# RAIDframe disk driver
163#pseudo-device	fss				# file system snapshot device
164#pseudo-device	md				# memory disk device (ramdisk)
165#pseudo-device	vnd				# disk-like interface to files
166
167# Network pseudo-devices
168pseudo-device	bpfilter			# Berkeley packet filter
169pseudo-device 	carp				# Common Address Redundancy Protocol
170pseudo-device	npf				# NPF packet filter
171pseudo-device	loop				# network loopback
172pseudo-device	ppp				# Point-to-Point Protocol
173pseudo-device	pppoe				# Point-to-Point Protocol over Ethernet
174#pseudo-device	sl				# Serial Line IP
175pseudo-device	tun				# network tunneling over tty
176pseudo-device	tap				# virtual Ethernet
177#pseudo-device	gre				# generic L3 over IP tunnel
178#pseudo-device	ipip				# RFC 2003 IP Encapsulation
179pseudo-device	gif				# RFC1933 tunnel
180#pseudo-device	faith				# IPv[46] tcp relay translation
181#pseudo-device	stf				# 6to4 IPv6 over IPv4 encapsulation
182pseudo-device	vlan				# IEEE 802.1q encapsulation
183pseudo-device	bridge				# simple inter-network bridging
184
185# Miscellaneous pseudo-devices
186pseudo-device	pty				# pseudo-terminals
187pseudo-device	clockctl			# user control of clock subsystem
188pseudo-device	ksyms				# /dev/ksyms
189pseudo-device	drvctl				# driver control
190
191# A pseudo device needed for Coda		# also needs CODA (above)
192#pseudo-device	vcoda				# coda minicache <-> venus comm.
193
194include "dev/veriexec.config"
195
196cinclude 	"arch/evbmips/conf/OCTEON.local"
197