P2020DS revision 1.31
11.31Ssevan#	$NetBSD: P2020DS,v 1.31 2019/04/26 21:40:29 sevan 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.31Ssevanident 		"P2020DS-$Revision: 1.31 $"
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.1Smattoptions 	QUOTA		# legacy UFS quotas
891.1Smattoptions 	QUOTA2		# new, in-filesystem UFS quotas
901.26Srin#options 	DISKLABEL_EI	# disklabel Endian Independent support
911.5Swizoptions 	FFS_EI		# FFS Endian Independent support
921.11Sdhollandoptions 	WAPBL		# File system journaling support
931.1Smattoptions 	NFSSERVER	# Network File System server
941.1Smatt#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
951.1Smattoptions 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
961.1Smatt				# immutable) behave as system flags.
971.1Smatt
981.1Smattoptions 	NFS_BOOT_DHCP	# Support DHCP NFS root
991.1Smatt
1001.1Smatt# Networking options
1011.1Smatt#options 	GATEWAY		# packet forwarding
1021.1Smattoptions 	INET		# IP + ICMP + TCP + UDP
1031.1Smattoptions 	INET_CSUM_COUNTERS
1041.1Smattoptions 	TCP_CSUM_COUNTERS
1051.1Smattoptions 	UDP_CSUM_COUNTERS
1061.12Smattoptions 	INET6		# IPV6
1071.1Smatt#options 	IPSEC		# IP security
1081.1Smatt#options 	IPSEC_DEBUG	# debug for IP security
1091.1Smatt#options 	MROUTING	# IP multicast routing
1101.1Smatt#options 	PIM		# Protocol Independent Multicast
1111.1Smatt#options 	NETATALK	# AppleTalk networking protocols
1121.1Smatt#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1131.1Smatt#options 	PPP_DEFLATE	# Deflate compression support for PPP
1141.1Smatt#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1151.1Smatt#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1161.1Smatt
1171.1Smatt# These options enable verbose messages for several subsystems.
1181.1Smatt# Warning, these may compile large string tables into the kernel!
1191.1Smattoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1201.1Smattoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1211.1Smatt#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1221.1Smattoptions 	SCSIVERBOSE	# human readable SCSI error messages
1231.1Smatt#options 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to configure PCI devices
1241.1Smatt#options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
1251.1Smatt
1261.1Smatt# wscons options
1271.1Smatt#options 	WSEMUL_SUN		# sun terminal emulation
1281.1Smatt#options 	WSEMUL_VT100		# VT100 / VT220 emulation
1291.15Sabs#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1301.1Smatt
1311.1Smatt# Kernel root file system and dump configuration.
1321.1Smattconfig		netbsd		root on ? type ?
1331.3Smattconfig		nfsnetbsd	root on tsec0 type nfs
1341.3Smattconfig		netbsd-esata	root on wd1a type ffs
1351.6Smattconfig		netbsd-sd0a	root on sd0a type ffs
1361.1Smatt
1371.1Smatt#
1381.1Smatt# Device configuration
1391.1Smatt#
1401.1Smatt
1411.1Smattmainbus0 at root			# Processor Local Bus
1421.1Smatt
1431.1Smattcpunode*	at mainbus? node ?
1441.1Smattgpio*		at gpiobus?
1451.1Smatt
1461.1Smattcpu*		at cpunode?
1471.1Smatt
1481.1Smattobio0		at cpunode?		# On-chip Peripheral Bus
1491.1Smatt
1501.9Smatt# NOR Flash
1511.9Smatt#options 	NOR_VERBOSE
1521.9Smattcfi0	 	at obio0 cs 0
1531.9Smattnor*		at cfi?
1541.9Smattflash*		at nor? offset 0 size 0x8000000
1551.9Smatt
1561.1Smatte500wdog*	at cpunode?		# Watchdog timer
1571.1Smatt
1581.9Smattddrc*		at cpunode?
1591.1Smattduart*		at cpunode?
1601.1Smattcom*		at duart? port ?
1611.1Smattoptions		CONSPEED=115200
1621.1Smattoptions		CONSADDR="DUART1_BASE"
1631.1Smatt
1641.12Smatttsec0		at cpunode? phy 0	# Enhanced 3-Speed Ethernet Controller
1651.12Smattmdio0		at tsec0
1661.12Smatttsec1		at cpunode? mdio 0 phy 1 # Enhanced 3-Speed Ethernet Controller
1671.12Smatttsec2		at cpunode? mdio 0 phy 2 # Enhanced 3-Speed Ethernet Controller
1681.1Smattoptions 	ETSEC_EVENT_COUNTERS
1691.1Smatt
1701.3Smattehci*		at cpunode?		# usb
1711.1Smatt
1721.1Smattdiic*		at cpunode?		# i2c bus
1731.1Smattiic*		at diic?
1741.1Smattspdmem* 	at iic0 addr 0x51	# DDR
1751.12Smattdsrtc*		at iic1 addr 0x68 flags 3232	# RTC - DS3232
1761.1Smatt
1771.1Smattpq3pcie*	at cpunode?		# PCI-Express controller
1781.1Smattpq3pci* 	at cpunode?		# PCI(X)
1791.1Smattpci*		at pq3pcie?
1801.1Smattpci*		at pq3pci?
1811.1Smatt
1821.1Smattppb*		at pci? dev ? function ?	# PCI-PCI bridges
1831.1Smattpci*		at ppb?
1841.1Smatt
1851.1Smatt#ohci1		at pci1 dev 0 function 2
1861.1Smatt#ehci1		at pci1 dev 0 function 3
1871.1Smatt#ohci*		at pci? dev ? function ?
1881.1Smatt#ehci*		at pci? dev ? function ?
1891.1Smatt#uhci*		at pci? dev ? function ?
1901.3Smattusb*		at ehci?
1911.1Smatt#usb*		at ohci?
1921.1Smatt#usb*		at uhci?
1931.3Smattuhub*		at usb?
1941.3Smattumass*		at uhub? port ?
1951.3Smattscsibus*	at umass? channel ?
1961.3Smattsd*		at scsibus? target ? lun ?
1971.4Smattugen*		at uhub? port ?
1981.4Smattuhub*		at uhub? port ?
1991.1Smatt
2001.1Smatt#sdhc*		at cpunode?		# sdmmc
2011.1Smatt#sdmmc*		at sdhc?		# SD/MMC bus
2021.1Smatt#ld*		at sdmmc?
2031.1Smatt
2041.1Smattahcisata*	at pci? dev ? function ?
2051.3Smattatabus0 	at ahcisata? channel 0
2061.3Smattatabus1 	at ahcisata? channel 1
2071.3Smattatabus2 	at ahcisata? channel 2
2081.3Smattatabus3 	at ahcisata? channel 3
2091.1Smattatabus*		at ahcisata? channel ?
2101.1Smattaceride*	at pci? dev ? function ?
2111.1Smattatabus*		at aceride? channel ?
2121.3Smattwd0		at atabus0 drive ?
2131.3Smattwd1		at atabus3 drive ?
2141.1Smattwd*		at atabus? drive ?
2151.1Smatt
2161.2Smatt#wm*		at pci? dev ? function ?	# Intel Ethernet
2171.1Smatt
2181.2Smatt#ciphy*		at mii? phy ?			# Cicada PHY
2191.1Smatt#inphy*		at mii? phy ?			# Intel 82555 PHYs
2201.1Smatt#iophy*		at mii? phy ?			# Intel 82553 PHYs
2211.2Smatt#makphy* 	at mii? phy ?			# Marvell PHYs
2221.1Smattukphy*		at mii? phy ?			# generic unknown PHYs
2231.1Smatt
2241.1Smattpseudo-device	loop			# network loopback
2251.1Smattpseudo-device	bpfilter		# packet filter
2261.31Ssevanpseudo-device 	carp			# Common Address Redundancy Protocol
2271.1Smattpseudo-device	clockctl		# user control of clock subsystem
2281.14Smattpseudo-device	drvctl			# user control of drive subsystem
2291.1Smattpseudo-device	ksyms			# /dev/ksyms
2301.1Smattpseudo-device	pty			# pseudo-terminals
2311.1Smattpseudo-device	kttcp			# kernel ttcp
2321.1Smattpseudo-device	vlan			# 802.1Q VLANs
2331.12Smattpseudo-device	putter			# for puffs and pud
2341.12Smattpseudo-device	vnd			# disk-like interface to files
2351.31Ssevan
2361.31Ssevaninclude "dev/veriexec.config"
237