P2020DS revision 1.28
11.28Smrg#	$NetBSD: P2020DS,v 1.28 2017/09/14 07:58:40 mrg 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.28Smrgident 		"P2020DS-$Revision: 1.28 $"
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.1Smatt# Diagnostic/debugging support options
441.1Smattoptions 	DIAGNOSTIC	# cheap kernel consistency checks
451.1Smattoptions 	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.23Sjoergmakeoptions	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.13Smatt# Wedge support
601.13Smattoptions 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
611.13Smattoptions 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
621.13Smatt
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.12Smattfile-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.1Smattoptions 	QUOTA		# legacy UFS quotas
841.1Smattoptions 	QUOTA2		# new, in-filesystem UFS quotas
851.26Srin#options 	DISKLABEL_EI	# disklabel Endian Independent support
861.5Swizoptions 	FFS_EI		# FFS Endian Independent support
871.11Sdhollandoptions 	WAPBL		# File system journaling support
881.1Smattoptions 	NFSSERVER	# Network File System server
891.1Smatt#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
901.1Smattoptions 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
911.1Smatt				# immutable) behave as system flags.
921.1Smatt
931.1Smattoptions 	NFS_BOOT_DHCP	# Support DHCP NFS root
941.1Smatt
951.1Smatt# Networking options
961.1Smatt#options 	GATEWAY		# packet forwarding
971.1Smattoptions 	INET		# IP + ICMP + TCP + UDP
981.1Smattoptions 	INET_CSUM_COUNTERS
991.1Smattoptions 	TCP_CSUM_COUNTERS
1001.1Smattoptions 	UDP_CSUM_COUNTERS
1011.12Smattoptions 	INET6		# IPV6
1021.1Smatt#options 	IPSEC		# IP security
1031.1Smatt#options 	IPSEC_DEBUG	# debug for IP security
1041.1Smatt#options 	MROUTING	# IP multicast routing
1051.1Smatt#options 	PIM		# Protocol Independent Multicast
1061.1Smatt#options        DIRECTED_BROADCAST      # allow broadcasts through routers
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 	IPFILTER_LOG	# ipmon(8) log support
1121.1Smatt#options 	IPFILTER_LOOKUP	# ippool(8) support
1131.1Smatt#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1141.1Smatt
1151.1Smatt# These options enable verbose messages for several subsystems.
1161.1Smatt# Warning, these may compile large string tables into the kernel!
1171.1Smattoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1181.1Smattoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1191.1Smatt#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1201.1Smattoptions 	SCSIVERBOSE	# human readable SCSI error messages
1211.1Smatt#options 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to configure PCI devices
1221.1Smatt#options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
1231.1Smatt
1241.1Smatt# wscons options
1251.1Smatt#options 	WSEMUL_SUN		# sun terminal emulation
1261.1Smatt#options 	WSEMUL_VT100		# VT100 / VT220 emulation
1271.15Sabs#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1281.1Smatt
1291.1Smatt# Kernel root file system and dump configuration.
1301.1Smattconfig		netbsd		root on ? type ?
1311.3Smattconfig		nfsnetbsd	root on tsec0 type nfs
1321.3Smattconfig		netbsd-esata	root on wd1a type ffs
1331.6Smattconfig		netbsd-sd0a	root on sd0a type ffs
1341.1Smatt
1351.1Smatt#
1361.1Smatt# Device configuration
1371.1Smatt#
1381.1Smatt
1391.1Smattmainbus0 at root			# Processor Local Bus
1401.1Smatt
1411.1Smattcpunode*	at mainbus? node ?
1421.1Smattgpio*		at gpiobus?
1431.1Smatt
1441.1Smattcpu*		at cpunode?
1451.1Smatt
1461.1Smattobio0		at cpunode?		# On-chip Peripheral Bus
1471.1Smatt
1481.9Smatt# NOR Flash
1491.9Smatt#options 	NOR_VERBOSE
1501.9Smattcfi0	 	at obio0 cs 0
1511.9Smattnor*		at cfi?
1521.9Smattflash*		at nor? offset 0 size 0x8000000
1531.9Smatt
1541.1Smatte500wdog*	at cpunode?		# Watchdog timer
1551.1Smatt
1561.9Smattddrc*		at cpunode?
1571.1Smattduart*		at cpunode?
1581.1Smattcom*		at duart? port ?
1591.1Smattoptions		CONSPEED=115200
1601.1Smattoptions		CONSADDR="DUART1_BASE"
1611.1Smatt
1621.12Smatttsec0		at cpunode? phy 0	# Enhanced 3-Speed Ethernet Controller
1631.12Smattmdio0		at tsec0
1641.12Smatttsec1		at cpunode? mdio 0 phy 1 # Enhanced 3-Speed Ethernet Controller
1651.12Smatttsec2		at cpunode? mdio 0 phy 2 # Enhanced 3-Speed Ethernet Controller
1661.1Smattoptions 	ETSEC_EVENT_COUNTERS
1671.1Smatt
1681.3Smattehci*		at cpunode?		# usb
1691.1Smatt
1701.1Smattdiic*		at cpunode?		# i2c bus
1711.1Smattiic*		at diic?
1721.1Smattspdmem* 	at iic0 addr 0x51	# DDR
1731.12Smattdsrtc*		at iic1 addr 0x68 flags 3232	# RTC - DS3232
1741.1Smatt
1751.1Smattpq3pcie*	at cpunode?		# PCI-Express controller
1761.1Smattpq3pci* 	at cpunode?		# PCI(X)
1771.1Smattpci*		at pq3pcie?
1781.1Smattpci*		at pq3pci?
1791.1Smatt
1801.1Smattppb*		at pci? dev ? function ?	# PCI-PCI bridges
1811.1Smattpci*		at ppb?
1821.1Smatt
1831.1Smatt#ohci1		at pci1 dev 0 function 2
1841.1Smatt#ehci1		at pci1 dev 0 function 3
1851.1Smatt#ohci*		at pci? dev ? function ?
1861.1Smatt#ehci*		at pci? dev ? function ?
1871.1Smatt#uhci*		at pci? dev ? function ?
1881.3Smattusb*		at ehci?
1891.1Smatt#usb*		at ohci?
1901.1Smatt#usb*		at uhci?
1911.3Smattuhub*		at usb?
1921.3Smattumass*		at uhub? port ?
1931.3Smattscsibus*	at umass? channel ?
1941.3Smattsd*		at scsibus? target ? lun ?
1951.4Smattugen*		at uhub? port ?
1961.4Smattuhub*		at uhub? port ?
1971.1Smatt
1981.1Smatt#sdhc*		at cpunode?		# sdmmc
1991.1Smatt#sdmmc*		at sdhc?		# SD/MMC bus
2001.1Smatt#ld*		at sdmmc?
2011.1Smatt
2021.1Smattahcisata*	at pci? dev ? function ?
2031.3Smattatabus0 	at ahcisata? channel 0
2041.3Smattatabus1 	at ahcisata? channel 1
2051.3Smattatabus2 	at ahcisata? channel 2
2061.3Smattatabus3 	at ahcisata? channel 3
2071.1Smattatabus*		at ahcisata? channel ?
2081.1Smattaceride*	at pci? dev ? function ?
2091.1Smattatabus*		at aceride? channel ?
2101.3Smattwd0		at atabus0 drive ?
2111.3Smattwd1		at atabus3 drive ?
2121.1Smattwd*		at atabus? drive ?
2131.1Smatt
2141.2Smatt#wm*		at pci? dev ? function ?	# Intel Ethernet
2151.1Smatt
2161.2Smatt#ciphy*		at mii? phy ?			# Cicada PHY
2171.1Smatt#inphy*		at mii? phy ?			# Intel 82555 PHYs
2181.1Smatt#iophy*		at mii? phy ?			# Intel 82553 PHYs
2191.2Smatt#makphy* 	at mii? phy ?			# Marvell PHYs
2201.1Smattukphy*		at mii? phy ?			# generic unknown PHYs
2211.1Smatt
2221.1Smattpseudo-device	loop			# network loopback
2231.1Smattpseudo-device	bpfilter		# packet filter
2241.1Smattpseudo-device	clockctl		# user control of clock subsystem
2251.14Smattpseudo-device	drvctl			# user control of drive subsystem
2261.1Smattpseudo-device	ksyms			# /dev/ksyms
2271.1Smattpseudo-device	pty			# pseudo-terminals
2281.1Smattpseudo-device	kttcp			# kernel ttcp
2291.1Smattpseudo-device	vlan			# 802.1Q VLANs
2301.12Smattpseudo-device	putter			# for puffs and pud
2311.12Smattpseudo-device	vnd			# disk-like interface to files
232