11.33Schristos#	$NetBSD: P2020RDB,v 1.33 2024/01/29 18:27:12 christos Exp $
21.1Smatt#
31.1Smatt#	P2020RBD -- everything that's currently supported
41.1Smatt#
51.1Smatt
61.28Smrginclude 	"arch/evbppc/conf/std.mpc85xx"
71.1Smatt
81.1Smattoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
91.1Smatt
101.33Schristosident 		"P2020RBD-$Revision: 1.33 $"
111.1Smatt
121.1Smattmaxusers	32
131.1Smatt
141.3Smattmakeoptions	NEED_BINARY="yes"
151.3Smattmakeoptions	NEED_UBOOTIMAGE="yes"
161.3Smatt
171.1Smatt#options 	UVMHIST
181.1Smatt#options 	UVMHIST_PRINT
191.1Smatt
201.1Smattoptions 	P2020
211.1Smattoptions 	SYS_CLK=100000000
221.1Smatt#options 	HZ=1000
231.1Smatt
241.13Smatt#options 	SDHC_DEBUG
251.13Smatt
261.1Smatt#options 	INSECURE	# disable kernel security levels
271.1Smatt#options 	NTP		# NTP phase/frequency locked loop
281.1Smattoptions 	KTRACE		# system call tracing via ktrace(1)
291.1Smatt
301.1Smattoptions 	SYSVMSG		# System V message queues
311.1Smattoptions 	SYSVSEM		# System V semaphores
321.1Smattoptions 	SYSVSHM		# System V shared memory
331.1Smatt
341.1Smattoptions 	USERCONF	# userconf(4) support
351.1Smatt#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
361.1Smatt#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
371.1Smatt
381.31Ssevan# Alternate buffer queue strategies for better responsiveness under high
391.31Ssevan# disk I/O load.
401.31Ssevan#options 	BUFQ_READPRIO
411.31Ssevanoptions 	BUFQ_PRIOCSCAN
421.31Ssevan
431.1Smatt# Diagnostic/debugging support options
441.1Smattoptions 	DIAGNOSTIC	# cheap kernel consistency checks
451.22Smatt#options 	DEBUG		# expensive debugging checks/support
461.1Smatt#options 	SYSCALL_DEBUG	# syscall debugging
471.1Smattoptions 	DDB		# in-kernel debugger
481.1Smattoptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
491.1Smattoptions 	TRAP_PANICWAIT
501.24Sjoergmakeoptions	COPY_SYMTAB=1	# size for embedded symbol table
511.1Smatt
521.1Smattmakeoptions	DEBUG="-g"	# compile full symbol table
531.1Smatt
541.1Smatt# Compatibility options
551.28Smrg
561.28Smrginclude 	"conf/compat_netbsd13.config"
571.1Smatt#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
581.1Smatt
591.14Smatt# Wedge support
601.14Smattoptions 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
611.14Smattoptions 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
621.14Smatt
631.1Smatt# File systems
641.1Smattfile-system 	FFS		# UFS
651.1Smattfile-system 	EXT2FS		# second extended file system (linux)
661.1Smattfile-system 	LFS		# log-structured file system
671.1Smattfile-system 	MFS		# memory file system
681.1Smattfile-system 	NFS		# Network File System client
691.1Smattfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
701.1Smattfile-system 	MSDOSFS		# MS-DOS file system
711.1Smatt#file-system 	FDESC		# /dev/fd
721.1Smattfile-system 	TMPFS		# efficient memory file system
731.1Smattfile-system 	KERNFS		# /kern
741.1Smattfile-system 	NULLFS		# loopback file system
751.1Smatt#file-system 	OVERLAY		# overlay file system
761.22Smattfile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
771.1Smattfile-system 	PROCFS		# /proc
781.1Smatt#file-system 	UMAPFS		# NULLFS + uid and gid remapping
791.1Smatt#file-system 	UNION		# union file system
801.1Smattfile-system	PTYFS		# /dev/pts/N support
811.1Smatt
821.1Smatt# File system options
831.32Ssimonboptions 	FFS_EI		# FFS Endian Independent support
841.32Ssimonb#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
851.1Smattoptions 	QUOTA		# legacy UFS quotas
861.1Smattoptions 	QUOTA2		# new, in-filesystem UFS quotas
871.32Ssimonb#options 	UFS_DIRHASH	# UFS Large Directory Hashing
881.32Ssimonb#options 	UFS_EXTATTR	# Extended attribute support for UFS1
891.12Sdhollandoptions 	WAPBL		# File system journaling support
901.32Ssimonb#options 	LFS_DIRHASH	# LFS version of UFS_DIRHASH - experimental
911.32Ssimonb#options 	DISKLABEL_EI	# disklabel Endian Independent support
921.32Ssimonboptions 	NFSSERVER	# Network File System server
931.1Smatt
941.1Smattoptions 	NFS_BOOT_DHCP	# Support DHCP NFS root
951.1Smatt
961.1Smatt# Networking options
971.1Smatt#options 	GATEWAY		# packet forwarding
981.1Smattoptions 	INET		# IP + ICMP + TCP + UDP
991.1Smattoptions 	INET_CSUM_COUNTERS
1001.1Smattoptions 	TCP_CSUM_COUNTERS
1011.1Smattoptions 	UDP_CSUM_COUNTERS
1021.1Smatt#options 	INET6		# IPV6
1031.1Smatt#options 	IPSEC		# IP security
1041.1Smatt#options 	IPSEC_DEBUG	# debug for IP security
1051.1Smatt#options 	MROUTING	# IP multicast routing
1061.1Smatt#options 	PIM		# Protocol Independent Multicast
1071.1Smatt#options 	NETATALK	# AppleTalk networking protocols
1081.1Smatt#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1091.1Smatt#options 	PPP_DEFLATE	# Deflate compression support for PPP
1101.1Smatt#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1111.1Smatt#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1121.1Smatt
1131.1Smatt# These options enable verbose messages for several subsystems.
1141.1Smatt# Warning, these may compile large string tables into the kernel!
1151.1Smattoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1161.1Smattoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1171.1Smatt#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1181.1Smattoptions 	SCSIVERBOSE	# human readable SCSI error messages
1191.1Smatt#options 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to configure PCI devices
1201.1Smatt#options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
1211.1Smatt
1221.1Smatt# wscons options
1231.1Smatt#options 	WSEMUL_SUN		# sun terminal emulation
1241.1Smatt#options 	WSEMUL_VT100		# VT100 / VT220 emulation
1251.16Sabs#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1261.1Smatt
1271.1Smatt# Kernel root file system and dump configuration.
1281.1Smattconfig		netbsd		root on ? type ?
1291.7Smattconfig		netbsd-sd0a	root on sd0a type ffs
1301.1Smattconfig		nfsnetbsd	root on tsec0 type nfs
1311.1Smatt
1321.1Smatt#
1331.1Smatt# Device configuration
1341.1Smatt#
1351.1Smatt
1361.1Smattmainbus0 at root			# Processor Local Bus
1371.1Smatt
1381.1Smattcpunode*	at mainbus? node ?
1391.1Smattgpio*		at gpiobus?
1401.1Smatt
1411.5Smattcpu*		at cpunode?
1421.1Smatt
1431.1Smattobio0		at cpunode?		# On-chip Peripheral Bus
1441.2Smatt#nandfcm*	at obio0 cs ?		# nand flash
1451.2Smatt#nand*		at nandfcm?
1461.2Smatt#flash*		at nand?
1471.1Smatt
1481.7Smatt# NOR Flash
1491.7Smatt#options 	NOR_VERBOSE
1501.10Smattcfi0	 	at obio0 cs 0
1511.10Smattnor*		at cfi?
1521.8Smattflash*		at nor? offset 0 size 0x1000000
1531.7Smatt
1541.1Smatte500wdog*	at cpunode?		# Watchdog timer
1551.1Smatt
1561.10Smattddrc*		at cpunode?
1571.1Smattduart*		at cpunode?
1581.1Smattcom*		at duart? port ?
1591.1Smattoptions		CONSADDR="DUART1_BASE"
1601.1Smatt
1611.13Smatttsec0		at cpunode? phy 32 # Enhanced 3-Speed Ethernet Controller
1621.13Smattmdio0		at tsec0
1631.13Smatttsec1		at cpunode? mdio 0 phy 0 # Enhanced 3-Speed Ethernet Controller
1641.13Smatttsec2		at cpunode? mdio 0 phy 1 # Enhanced 3-Speed Ethernet Controller
1651.1Smattukphy*		at mii?
1661.1Smatt#options 	ETSEC_EVENT_COUNTERS
1671.1Smatt
1681.1Smattdiic*		at cpunode?		# i2c bus
1691.1Smattiic*		at diic?
1701.15Smattdsrtc*		at iic0 addr 0x68 flags 1339	# RTC DS1339
1711.1Smatt
1721.1Smattpq3pcie*	at cpunode?		# PCI-Express controller
1731.1Smattpci*		at pq3pcie?
1741.1Smatt
1751.1Smattppb*		at pci? dev ? function ?	# PCI-PCI bridges
1761.1Smattpci*		at ppb?
1771.1Smatt
1781.9Smattahcisata*	at pci? dev ? function ?
1791.9Smattatabus*		at ahcisata? channel ?
1801.9Smattwd*		at atabus? drive ?
1811.22Smattatapibus*	at atabus?
1821.9Smatt
1831.15Smattsdhc*		at pci? dev ? function ?
1841.15Smatt
1851.15Smattsdhc*		at cpunode?		# sdmmc
1861.15Smattsdmmc*		at sdhc?		# SD/MMC bus
1871.15Smattld*		at sdmmc?
1881.15Smatt
1891.2Smattehci*		at cpunode?		# usb
1901.1Smattusb*		at ehci?
1911.1Smattuhub*		at usb?
1921.1Smattumass*		at uhub? port ?
1931.1Smattscsibus*	at umass? channel ?
1941.1Smattsd*		at scsibus? target ? lun ?
1951.1Smatt
1961.1Smatt#siisata*	at pci? dev ? function ?
1971.1Smatt#atabus* 	at siisata? channel ?
1981.1Smatt#jmide*		at pci? dev ? function ?	# JMicron PCI-e PATA/SATA controllers
1991.1Smatt#ahcisata*	at jmide?
2001.1Smatt#atabus* 	at ahcisata? channel ?
2011.1Smatt
2021.1Smatt#viaide* 	at pci? dev ? function ?
2031.1Smatt#atabus* 	at viaide? channel ?
2041.1Smatt#wd*		at atabus? drive ?
2051.1Smatt#rtk*		at pci? dev ? function ?
2061.1Smatt#wm*		at pci? dev ? function ?	# Intel Ethernet
2071.1Smatt
2081.1Smatt#inphy*		at mii? phy ?			# Intel 82555 PHYs
2091.1Smatt#iophy*		at mii? phy ?			# Intel 82553 PHYs
2101.1Smatt#makphy* 	at mii? phy ?			# Marvell PHYs
2111.1Smatt#ukphy*		at mii? phy ?			# generic unknown PHYs
2121.1Smatt
2131.1Smattpseudo-device	loop			# network loopback
2141.1Smattpseudo-device	bpfilter		# packet filter
2151.31Ssevanpseudo-device 	carp			# Common Address Redundancy Protocol
2161.1Smattpseudo-device	clockctl		# user control of clock subsystem
2171.15Smattpseudo-device	drvctl			# user control of disk subsystem
2181.1Smattpseudo-device	ksyms			# /dev/ksyms
2191.1Smattpseudo-device	pty			# pseudo-terminals
2201.1Smattpseudo-device	kttcp			# kernel ttcp
2211.1Smattpseudo-device	vlan			# 802.1Q VLANs
2221.22Smattpseudo-device	vnd			# disk-like interface to files
2231.22Smattpseudo-device	putter			# for puffs and pud
2241.31Ssevan
2251.31Ssevaninclude "dev/veriexec.config"
226