OCTEON revision 1.4
11.4Sjmcneill#	$NetBSD: OCTEON,v 1.4 2020/07/16 18:39:18 jmcneill Exp $
21.1Ssimonb
31.1Ssimonbinclude 	"arch/mips/conf/std.octeon"
41.1Ssimonbinclude 	"arch/evbmips/conf/files.octeon"
51.1Ssimonb
61.1Ssimonb#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
71.1Ssimonb
81.4Sjmcneill#ident 		"ERLITE-$Revision: 1.4 $"
91.1Ssimonb
101.1Ssimonbmaxusers	32
111.1Ssimonb
121.2Sjmcneilloptions 	FDT
131.3Sjmcneilloptions 	FDT_DEFAULT_STDOUT_PATH="\"uart0:115200n8\""
141.2Sjmcneill
151.1Ssimonb# Options for necessary to use MD
161.1Ssimonb#options 	MEMORY_DISK_HOOKS
171.1Ssimonb#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
181.1Ssimonb#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
191.1Ssimonb#options 	MEMORY_DISK_ROOT_SIZE=6144	# size of memory disk, in blocks
201.1Ssimonb#options 	MEMORY_DISK_ROOT_SIZE=16384	# size of memory disk, in blocks
211.1Ssimonb#options 	MEMORY_DISK_ROOT_SIZE=7300
221.1Ssimonb
231.1Ssimonb# Size reduction options
241.1Ssimonb#options 	VNODE_OP_NOINLINE
251.1Ssimonb#options 	PIPE_SOCKETPAIR
261.1Ssimonb#options 	SOSEND_NO_LOAN
271.1Ssimonb
281.1Ssimonb# Standard system options
291.1Ssimonboptions 	KTRACE		# system call tracing support
301.1Ssimonboptions 	SYSVMSG		# System V message queues
311.1Ssimonboptions 	SYSVSEM		# System V semaphores
321.1Ssimonboptions 	SYSVSHM		# System V shared memory
331.1Ssimonboptions 	NTP		# network time protocol
341.1Ssimonb
351.1Ssimonb# Debugging options
361.1Ssimonboptions 	DIAGNOSTIC	# extra kernel sanity checking
371.1Ssimonb#options 	DEBUG		# extra kernel debugging support
381.1Ssimonb#options 	USERCONF	# userconf(4) support
391.1Ssimonb#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
401.1Ssimonboptions 	DDB		# kernel dynamic debugger
411.1Ssimonboptions 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
421.1Ssimonbmakeoptions 	DEBUG="-g"	# compile full symbol table
431.1Ssimonbmakeoptions	COPY_SYMTAB=1	# size for embedded symbol table
441.1Ssimonb
451.1Ssimonb# Compatibility options
461.1Ssimonb
471.1Ssimonbinclude         "conf/compat_netbsd50.config"
481.1Ssimonb#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
491.1Ssimonb
501.1Ssimonb#options 	EXEC_ECOFF	# exec ECOFF binaries
511.1Ssimonb#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
521.1Ssimonb
531.1Ssimonb# File systems
541.1Ssimonbfile-system	FFS		# Berkeley Fast Filesystem
551.1Ssimonbfile-system	MFS		# memory-based filesystem
561.1Ssimonbfile-system	EXT2FS		# second extended file system (linux)
571.1Ssimonbfile-system	NFS		# Sun NFS-compatible filesystem client
581.1Ssimonbfile-system	TMPFS		# Efficient memory file-system
591.1Ssimonbfile-system	KERNFS		# kernel data-structure filesystem
601.1Ssimonbfile-system	NULLFS		# NULL layered filesystem
611.1Ssimonb#file-system	OVERLAY		# overlay file system
621.1Ssimonb#file-system	FDESC		# user file descriptor filesystem
631.1Ssimonb#file-system	UMAPFS		# uid/gid remapping filesystem
641.1Ssimonb#file-system	LFS		# Log-based filesystem (still experimental)
651.1Ssimonbfile-system	PROCFS		# /proc
661.1Ssimonbfile-system	CD9660		# ISO 9660 + Rock Ridge file system
671.1Ssimonb#file-system	UNION		# union file system
681.1Ssimonbfile-system	MSDOSFS		# MS-DOS FAT filesystem(s).
691.1Ssimonb#file-system	CODA		# Coda File System; also needs vcoda (below)
701.1Ssimonbfile-system	PTYFS		# /dev/pts/N support
711.1Ssimonb
721.1Ssimonb# File system options
731.1Ssimonboptions 	NFSSERVER	# Sun NFS-compatible filesystem server
741.1Ssimonb#options 	QUOTA		# legacy UFS quotas
751.1Ssimonb#options 	QUOTA2		# new, in-filesystem UFS quotas
761.1Ssimonb#options 	DISKLABEL_EI	# disklabel Endian Independent support
771.1Ssimonb#options 	FFS_EI		# FFS Endian Independent support
781.1Ssimonboptions 	WAPBL		# File system journaling support
791.1Ssimonb#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
801.1Ssimonb#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
811.1Ssimonb				# immutable) behave as system flags.
821.1Ssimonb
831.1Ssimonb# Alternate buffer queue strategies for better responsiveness under high
841.1Ssimonb# disk I/O load.
851.1Ssimonb#options 	BUFQ_READPRIO
861.1Ssimonboptions 	BUFQ_PRIOCSCAN
871.1Ssimonb
881.1Ssimonb# Networking options
891.1Ssimonb#options 	GATEWAY		# IP packet forwarding
901.1Ssimonboptions 	INET		# Internet protocols
911.1Ssimonboptions 	INET6		# IPV6
921.1Ssimonb#options 	IPSEC		# IP security
931.1Ssimonb#options 	IPSEC_DEBUG	# debug for IP security
941.1Ssimonb#options 	MROUTING	# packet forwarding of multicast packets
951.1Ssimonb#options 	PIM		# Protocol Independent Multicast
961.1Ssimonb#options 	NETATALK	# AppleTalk (over Ethernet) protocol
971.1Ssimonb#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
981.1Ssimonb#options 	PPP_DEFLATE	# Deflate compression support for PPP
991.1Ssimonb#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1001.1Ssimonboptions 	BPFJIT
1011.1Ssimonboptions 	SLJIT
1021.1Ssimonb
1031.1Ssimonb# These options enable verbose messages for several subsystems.
1041.1Ssimonb# Warning, these may compile large string tables into the kernel!
1051.1Ssimonboptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1061.1Ssimonb
1071.1Ssimonboptions 	NFS_BOOT_DHCP
1081.1Ssimonb
1091.1Ssimonbconfig		netbsd	root on ? type ?
1101.1Ssimonb#config		netbsd	root on cnmac0 type nfs
1111.1Ssimonb
1121.1Ssimonbmainbus0	at root
1131.1Ssimonbcpunode0	at mainbus?
1141.1Ssimonbcpu*		at cpunode? core ?
1151.1Ssimonbwdog0		at cpunode0 flags 0		# flags 1 will enable it on boot
1161.1Ssimonb
1171.1Ssimonbiobus0		at mainbus?
1181.1Ssimonbbootbus0	at mainbus?
1191.2Sjmcneillsimplebus*	at fdt? pass 0
1201.2Sjmcneill
1211.2Sjmcneilloctintc*	at fdt? pass 1
1221.4Sjmcneilloctcib*		at fdt? pass 2
1231.1Ssimonb
1241.1Ssimonbcom*		at iobus?
1251.2Sjmcneillcom*		at fdt?
1261.1Ssimonb
1271.1Ssimonboctsmi*		at iobus?		# MDIO controller
1281.4Sjmcneilloctsmi*		at fdt? pass 3
1291.1Ssimonboctpip*		at iobus?		# PIP packet processing controller
1301.4Sjmcneilloctpip*		at fdt? pass 4
1311.1Ssimonb
1321.1Ssimonboctgmx*		at octpip?
1331.1Ssimonbcnmac*		at octgmx?
1341.1Ssimonb
1351.1Ssimonboctrnm*		at iobus?		# Random Number Memory (and generator)
1361.1Ssimonb
1371.1Ssimonbdwctwo*		at iobus?
1381.1Ssimonb
1391.1Ssimonbusb*		at dwctwo?
1401.1Ssimonb
1411.1Ssimonbuhub*		at usb?
1421.1Ssimonb
1431.1Ssimonb# USB Mass Storage
1441.1Ssimonbumass*		at uhub? port ? configuration ? interface ?
1451.1Ssimonbscsibus*	at umass? channel ?
1461.1Ssimonbsd*		at scsibus? target ? lun ?	# SCSI disk drives
1471.1Ssimonb
1481.1Ssimonb# Ethernet PHYs
1491.1Ssimonbatphy*		at mii? phy ?		# Attansic/Atheros PHYs
1501.1Ssimonbukphy*		at mii? phy ?		# generic unknown PHYs
1511.1Ssimonb
1521.1Ssimonb# Pseudo-devices
1531.1Ssimonb
1541.1Ssimonb# Disk/mass storage pseudo-devices
1551.1Ssimonb#pseudo-device	ccd				# concatenated disk devices
1561.1Ssimonb#pseudo-device	raid				# RAIDframe disk driver
1571.1Ssimonb#pseudo-device	fss				# file system snapshot device
1581.1Ssimonb#pseudo-device	md				# memory disk device (ramdisk)
1591.1Ssimonb#pseudo-device	vnd				# disk-like interface to files
1601.1Ssimonb
1611.1Ssimonb# Network pseudo-devices
1621.1Ssimonbpseudo-device	bpfilter			# Berkeley packet filter
1631.1Ssimonbpseudo-device 	carp				# Common Address Redundancy Protocol
1641.1Ssimonbpseudo-device	npf				# NPF packet filter
1651.1Ssimonbpseudo-device	loop				# network loopback
1661.1Ssimonbpseudo-device	ppp				# Point-to-Point Protocol
1671.1Ssimonbpseudo-device	pppoe				# Point-to-Point Protocol over Ethernet
1681.1Ssimonb#pseudo-device	sl				# Serial Line IP
1691.1Ssimonbpseudo-device	tun				# network tunneling over tty
1701.1Ssimonbpseudo-device	tap				# virtual Ethernet
1711.1Ssimonb#pseudo-device	gre				# generic L3 over IP tunnel
1721.1Ssimonb#pseudo-device	ipip				# RFC 2003 IP Encapsulation
1731.1Ssimonbpseudo-device	gif				# RFC1933 tunnel
1741.1Ssimonb#pseudo-device	faith				# IPv[46] tcp relay translation
1751.1Ssimonb#pseudo-device	stf				# 6to4 IPv6 over IPv4 encapsulation
1761.1Ssimonbpseudo-device	vlan				# IEEE 802.1q encapsulation
1771.1Ssimonbpseudo-device	bridge				# simple inter-network bridging
1781.1Ssimonb
1791.1Ssimonb# Miscellaneous pseudo-devices
1801.1Ssimonbpseudo-device	pty				# pseudo-terminals
1811.1Ssimonbpseudo-device	clockctl			# user control of clock subsystem
1821.1Ssimonbpseudo-device	ksyms				# /dev/ksyms
1831.1Ssimonbpseudo-device	drvctl				# driver control
1841.1Ssimonb
1851.1Ssimonb# A pseudo device needed for Coda		# also needs CODA (above)
1861.1Ssimonb#pseudo-device	vcoda				# coda minicache <-> venus comm.
1871.1Ssimonb
1881.1Ssimonbinclude "dev/veriexec.config"
1891.1Ssimonb
1901.1Ssimonbcinclude 	"arch/evbmips/conf/OCTEON.local"
191