OCTEON revision 1.6
11.6Sjmcneill#	$NetBSD: OCTEON,v 1.6 2020/07/17 14:56:47 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.6Sjmcneill#ident 		"ERLITE-$Revision: 1.6 $"
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.6Sjmcneill# Wedge support
541.6Sjmcneilloptions 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
551.6Sjmcneilloptions 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
561.6Sjmcneill
571.1Ssimonb# File systems
581.1Ssimonbfile-system	FFS		# Berkeley Fast Filesystem
591.1Ssimonbfile-system	MFS		# memory-based filesystem
601.1Ssimonbfile-system	EXT2FS		# second extended file system (linux)
611.1Ssimonbfile-system	NFS		# Sun NFS-compatible filesystem client
621.1Ssimonbfile-system	TMPFS		# Efficient memory file-system
631.1Ssimonbfile-system	KERNFS		# kernel data-structure filesystem
641.1Ssimonbfile-system	NULLFS		# NULL layered filesystem
651.1Ssimonb#file-system	OVERLAY		# overlay file system
661.1Ssimonb#file-system	FDESC		# user file descriptor filesystem
671.1Ssimonb#file-system	UMAPFS		# uid/gid remapping filesystem
681.1Ssimonb#file-system	LFS		# Log-based filesystem (still experimental)
691.1Ssimonbfile-system	PROCFS		# /proc
701.1Ssimonbfile-system	CD9660		# ISO 9660 + Rock Ridge file system
711.1Ssimonb#file-system	UNION		# union file system
721.1Ssimonbfile-system	MSDOSFS		# MS-DOS FAT filesystem(s).
731.1Ssimonb#file-system	CODA		# Coda File System; also needs vcoda (below)
741.1Ssimonbfile-system	PTYFS		# /dev/pts/N support
751.1Ssimonb
761.1Ssimonb# File system options
771.1Ssimonboptions 	NFSSERVER	# Sun NFS-compatible filesystem server
781.1Ssimonb#options 	QUOTA		# legacy UFS quotas
791.1Ssimonb#options 	QUOTA2		# new, in-filesystem UFS quotas
801.1Ssimonb#options 	DISKLABEL_EI	# disklabel Endian Independent support
811.1Ssimonb#options 	FFS_EI		# FFS Endian Independent support
821.1Ssimonboptions 	WAPBL		# File system journaling support
831.1Ssimonb#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
841.1Ssimonb#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
851.1Ssimonb				# immutable) behave as system flags.
861.1Ssimonb
871.1Ssimonb# Alternate buffer queue strategies for better responsiveness under high
881.1Ssimonb# disk I/O load.
891.1Ssimonb#options 	BUFQ_READPRIO
901.1Ssimonboptions 	BUFQ_PRIOCSCAN
911.1Ssimonb
921.1Ssimonb# Networking options
931.1Ssimonb#options 	GATEWAY		# IP packet forwarding
941.1Ssimonboptions 	INET		# Internet protocols
951.1Ssimonboptions 	INET6		# IPV6
961.1Ssimonb#options 	IPSEC		# IP security
971.1Ssimonb#options 	IPSEC_DEBUG	# debug for IP security
981.1Ssimonb#options 	MROUTING	# packet forwarding of multicast packets
991.1Ssimonb#options 	PIM		# Protocol Independent Multicast
1001.1Ssimonb#options 	NETATALK	# AppleTalk (over Ethernet) protocol
1011.1Ssimonb#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1021.1Ssimonb#options 	PPP_DEFLATE	# Deflate compression support for PPP
1031.1Ssimonb#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1041.1Ssimonboptions 	BPFJIT
1051.1Ssimonboptions 	SLJIT
1061.1Ssimonb
1071.1Ssimonb# These options enable verbose messages for several subsystems.
1081.1Ssimonb# Warning, these may compile large string tables into the kernel!
1091.1Ssimonboptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1101.1Ssimonb
1111.1Ssimonboptions 	NFS_BOOT_DHCP
1121.1Ssimonb
1131.1Ssimonbconfig		netbsd	root on ? type ?
1141.1Ssimonb#config		netbsd	root on cnmac0 type nfs
1151.1Ssimonb
1161.1Ssimonbmainbus0	at root
1171.1Ssimonbcpunode0	at mainbus?
1181.1Ssimonbcpu*		at cpunode? core ?
1191.1Ssimonbwdog0		at cpunode0 flags 0		# flags 1 will enable it on boot
1201.1Ssimonb
1211.1Ssimonbiobus0		at mainbus?
1221.1Ssimonbbootbus0	at mainbus?
1231.2Sjmcneillsimplebus*	at fdt? pass 0
1241.2Sjmcneill
1251.2Sjmcneilloctintc*	at fdt? pass 1
1261.4Sjmcneilloctcib*		at fdt? pass 2
1271.1Ssimonb
1281.1Ssimonbcom*		at iobus?
1291.2Sjmcneillcom*		at fdt?
1301.1Ssimonb
1311.1Ssimonboctsmi*		at iobus?		# MDIO controller
1321.4Sjmcneilloctsmi*		at fdt? pass 3
1331.1Ssimonboctpip*		at iobus?		# PIP packet processing controller
1341.4Sjmcneilloctpip*		at fdt? pass 4
1351.1Ssimonb
1361.1Ssimonboctgmx*		at octpip?
1371.1Ssimonbcnmac*		at octgmx?
1381.1Ssimonb
1391.1Ssimonboctrnm*		at iobus?		# Random Number Memory (and generator)
1401.1Ssimonb
1411.1Ssimonbdwctwo*		at iobus?
1421.5Sjmcneillxhci*		at fdt?
1431.1Ssimonb
1441.1Ssimonbusb*		at dwctwo?
1451.5Sjmcneillusb*		at xhci?
1461.1Ssimonb
1471.1Ssimonbuhub*		at usb?
1481.1Ssimonb
1491.1Ssimonb# USB Mass Storage
1501.1Ssimonbumass*		at uhub? port ? configuration ? interface ?
1511.1Ssimonbscsibus*	at umass? channel ?
1521.1Ssimonbsd*		at scsibus? target ? lun ?	# SCSI disk drives
1531.1Ssimonb
1541.1Ssimonb# Ethernet PHYs
1551.1Ssimonbatphy*		at mii? phy ?		# Attansic/Atheros PHYs
1561.1Ssimonbukphy*		at mii? phy ?		# generic unknown PHYs
1571.1Ssimonb
1581.1Ssimonb# Pseudo-devices
1591.1Ssimonb
1601.1Ssimonb# Disk/mass storage pseudo-devices
1611.1Ssimonb#pseudo-device	ccd				# concatenated disk devices
1621.1Ssimonb#pseudo-device	raid				# RAIDframe disk driver
1631.1Ssimonb#pseudo-device	fss				# file system snapshot device
1641.1Ssimonb#pseudo-device	md				# memory disk device (ramdisk)
1651.1Ssimonb#pseudo-device	vnd				# disk-like interface to files
1661.1Ssimonb
1671.1Ssimonb# Network pseudo-devices
1681.1Ssimonbpseudo-device	bpfilter			# Berkeley packet filter
1691.1Ssimonbpseudo-device 	carp				# Common Address Redundancy Protocol
1701.1Ssimonbpseudo-device	npf				# NPF packet filter
1711.1Ssimonbpseudo-device	loop				# network loopback
1721.1Ssimonbpseudo-device	ppp				# Point-to-Point Protocol
1731.1Ssimonbpseudo-device	pppoe				# Point-to-Point Protocol over Ethernet
1741.1Ssimonb#pseudo-device	sl				# Serial Line IP
1751.1Ssimonbpseudo-device	tun				# network tunneling over tty
1761.1Ssimonbpseudo-device	tap				# virtual Ethernet
1771.1Ssimonb#pseudo-device	gre				# generic L3 over IP tunnel
1781.1Ssimonb#pseudo-device	ipip				# RFC 2003 IP Encapsulation
1791.1Ssimonbpseudo-device	gif				# RFC1933 tunnel
1801.1Ssimonb#pseudo-device	faith				# IPv[46] tcp relay translation
1811.1Ssimonb#pseudo-device	stf				# 6to4 IPv6 over IPv4 encapsulation
1821.1Ssimonbpseudo-device	vlan				# IEEE 802.1q encapsulation
1831.1Ssimonbpseudo-device	bridge				# simple inter-network bridging
1841.1Ssimonb
1851.1Ssimonb# Miscellaneous pseudo-devices
1861.1Ssimonbpseudo-device	pty				# pseudo-terminals
1871.1Ssimonbpseudo-device	clockctl			# user control of clock subsystem
1881.1Ssimonbpseudo-device	ksyms				# /dev/ksyms
1891.1Ssimonbpseudo-device	drvctl				# driver control
1901.1Ssimonb
1911.1Ssimonb# A pseudo device needed for Coda		# also needs CODA (above)
1921.1Ssimonb#pseudo-device	vcoda				# coda minicache <-> venus comm.
1931.1Ssimonb
1941.1Ssimonbinclude "dev/veriexec.config"
1951.1Ssimonb
1961.1Ssimonbcinclude 	"arch/evbmips/conf/OCTEON.local"
197