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