P2020DS revision 1.32
11.32Ssimonb#	$NetBSD: P2020DS,v 1.32 2022/08/07 02:52:25 simonb Exp $
21.1Smatt#
31.1Smatt#	P2020DS -- everything that's currently supported
41.1Smatt#
51.1Smatt#
61.1Smatt
71.28Smrginclude 	"arch/evbppc/conf/std.mpc85xx"
81.1Smatt
91.1Smattoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
101.1Smatt
111.32Ssimonbident 		"P2020DS-$Revision: 1.32 $"
121.1Smatt
131.1Smattmaxusers	32
141.1Smatt
151.1Smatt#options 	UVMHIST
161.1Smatt#options 	UVMHIST_PRINT
171.1Smatt
181.1Smattoptions 	P2020
191.1Smattoptions 	PIXIS
201.1Smatt#options 	SYS_CLK=100000000
211.1Smatt#options 	HZ=1000
221.8Smatt#options 	MEMSIZE=0x40000000
231.12Smatt#options 	PMAP_MINIMALTLB
241.12Smatt#makeoptions	KERNLDSCRIPT="${POWERPC}/conf/kern-mb.ldscript"
251.1Smatt
261.1Smattmakeoptions	NEED_BINARY="yes"
271.1Smattmakeoptions	NEED_UBOOTIMAGE="yes"
281.1Smatt
291.12Smattoptions 	INSECURE	# disable kernel security levels
301.1Smatt#options 	NTP		# NTP phase/frequency locked loop
311.1Smattoptions 	KTRACE		# system call tracing via ktrace(1)
321.12Smattoptions 	MODULAR		# new style module(7) framework
331.25Sjnemethoptions 	MODULAR_DEFAULT_AUTOLOAD
341.1Smatt
351.1Smattoptions 	SYSVMSG		# System V message queues
361.1Smattoptions 	SYSVSEM		# System V semaphores
371.1Smattoptions 	SYSVSHM		# System V shared memory
381.1Smatt
391.1Smattoptions 	USERCONF	# userconf(4) support
401.1Smatt#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
411.1Smatt#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
421.1Smatt
431.31Ssevan# Alternate buffer queue strategies for better responsiveness under high
441.31Ssevan# disk I/O load.
451.31Ssevan#options 	BUFQ_READPRIO
461.31Ssevanoptions 	BUFQ_PRIOCSCAN
471.31Ssevan
481.1Smatt# Diagnostic/debugging support options
491.1Smattoptions 	DIAGNOSTIC	# cheap kernel consistency checks
501.1Smattoptions 	DEBUG		# expensive debugging checks/support
511.1Smatt#options 	SYSCALL_DEBUG	# syscall debugging
521.1Smattoptions 	DDB		# in-kernel debugger
531.1Smattoptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
541.1Smattoptions 	TRAP_PANICWAIT
551.23Sjoergmakeoptions	COPY_SYMTAB=1	# size for embedded symbol table
561.1Smatt
571.1Smattmakeoptions	DEBUG="-g"	# compile full symbol table
581.1Smatt
591.1Smatt# Compatibility options
601.28Smrg
611.28Smrginclude 	"conf/compat_netbsd13.config"
621.1Smatt#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
631.1Smatt
641.13Smatt# Wedge support
651.13Smattoptions 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
661.13Smattoptions 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
671.13Smatt
681.1Smatt# File systems
691.1Smattfile-system 	FFS		# UFS
701.1Smattfile-system 	EXT2FS		# second extended file system (linux)
711.1Smattfile-system 	LFS		# log-structured file system
721.1Smattfile-system 	MFS		# memory file system
731.1Smattfile-system 	NFS		# Network File System client
741.1Smattfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
751.1Smattfile-system 	MSDOSFS		# MS-DOS file system
761.1Smatt#file-system 	FDESC		# /dev/fd
771.1Smattfile-system 	TMPFS		# efficient memory file system
781.1Smattfile-system 	KERNFS		# /kern
791.1Smattfile-system 	NULLFS		# loopback file system
801.1Smatt#file-system 	OVERLAY		# overlay file system
811.12Smattfile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
821.1Smattfile-system 	PROCFS		# /proc
831.1Smatt#file-system 	UMAPFS		# NULLFS + uid and gid remapping
841.1Smatt#file-system 	UNION		# union file system
851.1Smattfile-system	PTYFS		# /dev/pts/N support
861.1Smatt
871.1Smatt# File system options
881.32Ssimonboptions 	FFS_EI		# FFS Endian Independent support
891.32Ssimonb#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
901.1Smattoptions 	QUOTA		# legacy UFS quotas
911.1Smattoptions 	QUOTA2		# new, in-filesystem UFS quotas
921.32Ssimonb#options 	UFS_DIRHASH	# UFS Large Directory Hashing
931.32Ssimonb#options 	UFS_EXTATTR	# Extended attribute support for UFS1
941.11Sdhollandoptions 	WAPBL		# File system journaling support
951.32Ssimonb#options 	LFS_DIRHASH	# LFS version of UFS_DIRHASH - experimental
961.1Smattoptions 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
971.1Smatt				# immutable) behave as system flags.
981.32Ssimonb#options 	DISKLABEL_EI	# disklabel Endian Independent support
991.32Ssimonboptions 	NFSSERVER	# Network File System server
1001.1Smatt
1011.1Smattoptions 	NFS_BOOT_DHCP	# Support DHCP NFS root
1021.1Smatt
1031.1Smatt# Networking options
1041.1Smatt#options 	GATEWAY		# packet forwarding
1051.1Smattoptions 	INET		# IP + ICMP + TCP + UDP
1061.1Smattoptions 	INET_CSUM_COUNTERS
1071.1Smattoptions 	TCP_CSUM_COUNTERS
1081.1Smattoptions 	UDP_CSUM_COUNTERS
1091.12Smattoptions 	INET6		# IPV6
1101.1Smatt#options 	IPSEC		# IP security
1111.1Smatt#options 	IPSEC_DEBUG	# debug for IP security
1121.1Smatt#options 	MROUTING	# IP multicast routing
1131.1Smatt#options 	PIM		# Protocol Independent Multicast
1141.1Smatt#options 	NETATALK	# AppleTalk networking protocols
1151.1Smatt#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1161.1Smatt#options 	PPP_DEFLATE	# Deflate compression support for PPP
1171.1Smatt#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1181.1Smatt#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1191.1Smatt
1201.1Smatt# These options enable verbose messages for several subsystems.
1211.1Smatt# Warning, these may compile large string tables into the kernel!
1221.1Smattoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1231.1Smattoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1241.1Smatt#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1251.1Smattoptions 	SCSIVERBOSE	# human readable SCSI error messages
1261.1Smatt#options 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to configure PCI devices
1271.1Smatt#options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
1281.1Smatt
1291.1Smatt# wscons options
1301.1Smatt#options 	WSEMUL_SUN		# sun terminal emulation
1311.1Smatt#options 	WSEMUL_VT100		# VT100 / VT220 emulation
1321.15Sabs#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1331.1Smatt
1341.1Smatt# Kernel root file system and dump configuration.
1351.1Smattconfig		netbsd		root on ? type ?
1361.3Smattconfig		nfsnetbsd	root on tsec0 type nfs
1371.3Smattconfig		netbsd-esata	root on wd1a type ffs
1381.6Smattconfig		netbsd-sd0a	root on sd0a type ffs
1391.1Smatt
1401.1Smatt#
1411.1Smatt# Device configuration
1421.1Smatt#
1431.1Smatt
1441.1Smattmainbus0 at root			# Processor Local Bus
1451.1Smatt
1461.1Smattcpunode*	at mainbus? node ?
1471.1Smattgpio*		at gpiobus?
1481.1Smatt
1491.1Smattcpu*		at cpunode?
1501.1Smatt
1511.1Smattobio0		at cpunode?		# On-chip Peripheral Bus
1521.1Smatt
1531.9Smatt# NOR Flash
1541.9Smatt#options 	NOR_VERBOSE
1551.9Smattcfi0	 	at obio0 cs 0
1561.9Smattnor*		at cfi?
1571.9Smattflash*		at nor? offset 0 size 0x8000000
1581.9Smatt
1591.1Smatte500wdog*	at cpunode?		# Watchdog timer
1601.1Smatt
1611.9Smattddrc*		at cpunode?
1621.1Smattduart*		at cpunode?
1631.1Smattcom*		at duart? port ?
1641.1Smattoptions		CONSPEED=115200
1651.1Smattoptions		CONSADDR="DUART1_BASE"
1661.1Smatt
1671.12Smatttsec0		at cpunode? phy 0	# Enhanced 3-Speed Ethernet Controller
1681.12Smattmdio0		at tsec0
1691.12Smatttsec1		at cpunode? mdio 0 phy 1 # Enhanced 3-Speed Ethernet Controller
1701.12Smatttsec2		at cpunode? mdio 0 phy 2 # Enhanced 3-Speed Ethernet Controller
1711.1Smattoptions 	ETSEC_EVENT_COUNTERS
1721.1Smatt
1731.3Smattehci*		at cpunode?		# usb
1741.1Smatt
1751.1Smattdiic*		at cpunode?		# i2c bus
1761.1Smattiic*		at diic?
1771.1Smattspdmem* 	at iic0 addr 0x51	# DDR
1781.12Smattdsrtc*		at iic1 addr 0x68 flags 3232	# RTC - DS3232
1791.1Smatt
1801.1Smattpq3pcie*	at cpunode?		# PCI-Express controller
1811.1Smattpq3pci* 	at cpunode?		# PCI(X)
1821.1Smattpci*		at pq3pcie?
1831.1Smattpci*		at pq3pci?
1841.1Smatt
1851.1Smattppb*		at pci? dev ? function ?	# PCI-PCI bridges
1861.1Smattpci*		at ppb?
1871.1Smatt
1881.1Smatt#ohci1		at pci1 dev 0 function 2
1891.1Smatt#ehci1		at pci1 dev 0 function 3
1901.1Smatt#ohci*		at pci? dev ? function ?
1911.1Smatt#ehci*		at pci? dev ? function ?
1921.1Smatt#uhci*		at pci? dev ? function ?
1931.3Smattusb*		at ehci?
1941.1Smatt#usb*		at ohci?
1951.1Smatt#usb*		at uhci?
1961.3Smattuhub*		at usb?
1971.3Smattumass*		at uhub? port ?
1981.3Smattscsibus*	at umass? channel ?
1991.3Smattsd*		at scsibus? target ? lun ?
2001.4Smattugen*		at uhub? port ?
2011.4Smattuhub*		at uhub? port ?
2021.1Smatt
2031.1Smatt#sdhc*		at cpunode?		# sdmmc
2041.1Smatt#sdmmc*		at sdhc?		# SD/MMC bus
2051.1Smatt#ld*		at sdmmc?
2061.1Smatt
2071.1Smattahcisata*	at pci? dev ? function ?
2081.3Smattatabus0 	at ahcisata? channel 0
2091.3Smattatabus1 	at ahcisata? channel 1
2101.3Smattatabus2 	at ahcisata? channel 2
2111.3Smattatabus3 	at ahcisata? channel 3
2121.1Smattatabus*		at ahcisata? channel ?
2131.1Smattaceride*	at pci? dev ? function ?
2141.1Smattatabus*		at aceride? channel ?
2151.3Smattwd0		at atabus0 drive ?
2161.3Smattwd1		at atabus3 drive ?
2171.1Smattwd*		at atabus? drive ?
2181.1Smatt
2191.2Smatt#wm*		at pci? dev ? function ?	# Intel Ethernet
2201.1Smatt
2211.2Smatt#ciphy*		at mii? phy ?			# Cicada PHY
2221.1Smatt#inphy*		at mii? phy ?			# Intel 82555 PHYs
2231.1Smatt#iophy*		at mii? phy ?			# Intel 82553 PHYs
2241.2Smatt#makphy* 	at mii? phy ?			# Marvell PHYs
2251.1Smattukphy*		at mii? phy ?			# generic unknown PHYs
2261.1Smatt
2271.1Smattpseudo-device	loop			# network loopback
2281.1Smattpseudo-device	bpfilter		# packet filter
2291.31Ssevanpseudo-device 	carp			# Common Address Redundancy Protocol
2301.1Smattpseudo-device	clockctl		# user control of clock subsystem
2311.14Smattpseudo-device	drvctl			# user control of drive subsystem
2321.1Smattpseudo-device	ksyms			# /dev/ksyms
2331.1Smattpseudo-device	pty			# pseudo-terminals
2341.1Smattpseudo-device	kttcp			# kernel ttcp
2351.1Smattpseudo-device	vlan			# 802.1Q VLANs
2361.12Smattpseudo-device	putter			# for puffs and pud
2371.12Smattpseudo-device	vnd			# disk-like interface to files
2381.31Ssevan
2391.31Ssevaninclude "dev/veriexec.config"
240