P2020DS revision 1.12
11.12Smatt#	$NetBSD: P2020DS,v 1.12 2012/07/22 23:46:10 matt Exp $
21.1Smatt#
31.1Smatt#	P2020DS -- everything that's currently supported
41.1Smatt#
51.1Smatt#
61.1Smatt
71.1Smattinclude		"arch/evbppc/conf/std.mpc85xx"
81.1Smatt
91.1Smattoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
101.1Smatt
111.12Smattident 		"P2020DS-$Revision: 1.12 $"
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.1Smatt
341.1Smattoptions 	SYSVMSG		# System V message queues
351.1Smattoptions 	SYSVSEM		# System V semaphores
361.1Smattoptions 	SYSVSHM		# System V shared memory
371.1Smatt
381.1Smattoptions 	USERCONF	# userconf(4) support
391.1Smatt#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
401.1Smatt#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
411.1Smatt
421.1Smatt# Diagnostic/debugging support options
431.1Smattoptions 	DIAGNOSTIC	# cheap kernel consistency checks
441.1Smattoptions 	DEBUG		# expensive debugging checks/support
451.1Smatt#options 	SYSCALL_DEBUG	# syscall debugging
461.1Smattoptions 	DDB		# in-kernel debugger
471.1Smattoptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
481.1Smattoptions 	TRAP_PANICWAIT
491.12Smattoptions 	SYMTAB_SPACE=425000	# size for embedded symbol table
501.1Smatt
511.1Smattmakeoptions	DEBUG="-g"	# compile full symbol table
521.1Smatt
531.1Smatt# Compatibility options
541.1Smatt#options 	COMPAT_09	# NetBSD 0.9,
551.1Smatt#options 	COMPAT_10	# NetBSD 1.0,
561.1Smatt#options 	COMPAT_11	# NetBSD 1.1,
571.1Smatt#options 	COMPAT_12	# NetBSD 1.2,
581.1Smattoptions 	COMPAT_13	# NetBSD 1.3,
591.1Smattoptions 	COMPAT_14	# NetBSD 1.4,
601.1Smattoptions 	COMPAT_15	# NetBSD 1.5,
611.1Smattoptions 	COMPAT_16	# NetBSD 1.6,
621.1Smattoptions 	COMPAT_20	# NetBSD 2.0,
631.1Smattoptions 	COMPAT_30	# NetBSD 3.0,
641.1Smattoptions 	COMPAT_40	# NetBSD 4.0,
651.1Smattoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
661.1Smattoptions 	COMPAT_43	# and 4.3BSD
671.1Smatt#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
681.1Smatt#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
691.1Smattoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
701.1Smatt
711.1Smatt# File systems
721.1Smattfile-system 	FFS		# UFS
731.1Smattfile-system 	EXT2FS		# second extended file system (linux)
741.1Smattfile-system 	LFS		# log-structured file system
751.1Smattfile-system 	MFS		# memory file system
761.1Smattfile-system 	NFS		# Network File System client
771.1Smattfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
781.1Smattfile-system 	MSDOSFS		# MS-DOS file system
791.1Smatt#file-system 	FDESC		# /dev/fd
801.1Smattfile-system 	TMPFS		# efficient memory file system
811.1Smattfile-system 	KERNFS		# /kern
821.1Smattfile-system 	NULLFS		# loopback file system
831.1Smatt#file-system 	OVERLAY		# overlay file system
841.12Smattfile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
851.1Smattfile-system 	PROCFS		# /proc
861.1Smatt#file-system 	UMAPFS		# NULLFS + uid and gid remapping
871.1Smatt#file-system 	UNION		# union file system
881.1Smattfile-system	PTYFS		# /dev/pts/N support
891.1Smatt
901.1Smatt# File system options
911.1Smattoptions 	QUOTA		# legacy UFS quotas
921.1Smattoptions 	QUOTA2		# new, in-filesystem UFS quotas
931.5Swizoptions 	FFS_EI		# FFS Endian Independent support
941.11Sdhollandoptions 	WAPBL		# File system journaling support
951.1Smattoptions 	NFSSERVER	# Network File System server
961.1Smatt#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
971.1Smattoptions 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
981.1Smatt				# immutable) behave as system flags.
991.1Smatt
1001.1Smattoptions 	NFS_BOOT_DHCP	# Support DHCP NFS root
1011.1Smatt
1021.1Smatt# Networking options
1031.1Smatt#options 	GATEWAY		# packet forwarding
1041.1Smattoptions 	INET		# IP + ICMP + TCP + UDP
1051.1Smattoptions 	INET_CSUM_COUNTERS
1061.1Smattoptions 	TCP_CSUM_COUNTERS
1071.1Smattoptions 	UDP_CSUM_COUNTERS
1081.12Smattoptions 	INET6		# IPV6
1091.1Smatt#options 	IPSEC		# IP security
1101.1Smatt#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1111.1Smatt#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
1121.1Smatt#options 	IPSEC_DEBUG	# debug for IP security
1131.1Smatt#options 	MROUTING	# IP multicast routing
1141.1Smatt#options 	PIM		# Protocol Independent Multicast
1151.1Smatt#options        DIRECTED_BROADCAST      # allow broadcasts through routers
1161.1Smatt#options 	ISO,TPIP	# OSI
1171.1Smatt#options 	EON		# OSI tunneling over IP
1181.1Smatt#options 	NETATALK	# AppleTalk networking protocols
1191.1Smatt#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1201.1Smatt#options 	PPP_DEFLATE	# Deflate compression support for PPP
1211.1Smatt#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1221.1Smatt#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1231.1Smatt#options 	IPFILTER_LOG	# ipmon(8) log support
1241.1Smatt#options 	IPFILTER_LOOKUP	# ippool(8) support
1251.1Smatt#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1261.1Smatt
1271.1Smatt# These options enable verbose messages for several subsystems.
1281.1Smatt# Warning, these may compile large string tables into the kernel!
1291.1Smattoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1301.1Smattoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1311.1Smatt#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1321.1Smattoptions 	SCSIVERBOSE	# human readable SCSI error messages
1331.1Smatt#options 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to configure PCI devices
1341.1Smatt#options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
1351.1Smatt
1361.1Smatt# wscons options
1371.1Smatt#options 	WSEMUL_SUN		# sun terminal emulation
1381.1Smatt#options 	WSEMUL_VT100		# VT100 / VT220 emulation
1391.1Smatt
1401.1Smatt# Kernel root file system and dump configuration.
1411.1Smattconfig		netbsd		root on ? type ?
1421.3Smattconfig		nfsnetbsd	root on tsec0 type nfs
1431.3Smattconfig		netbsd-esata	root on wd1a type ffs
1441.6Smattconfig		netbsd-sd0a	root on sd0a type ffs
1451.1Smatt
1461.1Smatt#
1471.1Smatt# Device configuration
1481.1Smatt#
1491.1Smatt
1501.1Smattmainbus0 at root			# Processor Local Bus
1511.1Smatt
1521.1Smattcpunode*	at mainbus? node ?
1531.1Smattgpio*		at gpiobus?
1541.1Smatt
1551.1Smattcpu*		at cpunode?
1561.1Smatt
1571.1Smattobio0		at cpunode?		# On-chip Peripheral Bus
1581.1Smatt
1591.9Smatt# NOR Flash
1601.9Smatt#options 	NOR_VERBOSE
1611.9Smattcfi0	 	at obio0 cs 0
1621.9Smattnor*		at cfi?
1631.9Smattflash*		at nor? offset 0 size 0x8000000
1641.9Smatt
1651.1Smatte500wdog*	at cpunode?		# Watchdog timer
1661.1Smatt
1671.9Smattddrc*		at cpunode?
1681.1Smattduart*		at cpunode?
1691.1Smattcom*		at duart? port ?
1701.1Smattoptions		CONSPEED=115200
1711.1Smattoptions		CONSADDR="DUART1_BASE"
1721.1Smatt
1731.12Smatttsec0		at cpunode? phy 0	# Enhanced 3-Speed Ethernet Controller
1741.12Smattmdio0		at tsec0
1751.12Smatttsec1		at cpunode? mdio 0 phy 1 # Enhanced 3-Speed Ethernet Controller
1761.12Smatttsec2		at cpunode? mdio 0 phy 2 # Enhanced 3-Speed Ethernet Controller
1771.1Smattoptions 	ETSEC_EVENT_COUNTERS
1781.1Smatt
1791.3Smattehci*		at cpunode?		# usb
1801.1Smatt
1811.1Smattdiic*		at cpunode?		# i2c bus
1821.1Smattiic*		at diic?
1831.1Smattspdmem* 	at iic0 addr 0x51	# DDR
1841.12Smattdsrtc*		at iic1 addr 0x68 flags 3232	# RTC - DS3232
1851.1Smatt
1861.1Smattpq3pcie*	at cpunode?		# PCI-Express controller
1871.1Smattpq3pci* 	at cpunode?		# PCI(X)
1881.1Smattpci*		at pq3pcie?
1891.1Smattpci*		at pq3pci?
1901.1Smatt
1911.1Smattppb*		at pci? dev ? function ?	# PCI-PCI bridges
1921.1Smattpci*		at ppb?
1931.1Smatt
1941.1Smatt#ohci1		at pci1 dev 0 function 2
1951.1Smatt#ehci1		at pci1 dev 0 function 3
1961.1Smatt#ohci*		at pci? dev ? function ?
1971.1Smatt#ehci*		at pci? dev ? function ?
1981.1Smatt#uhci*		at pci? dev ? function ?
1991.3Smattusb*		at ehci?
2001.1Smatt#usb*		at ohci?
2011.1Smatt#usb*		at uhci?
2021.3Smattuhub*		at usb?
2031.3Smattumass*		at uhub? port ?
2041.3Smattscsibus*	at umass? channel ?
2051.3Smattsd*		at scsibus? target ? lun ?
2061.4Smattugen*		at uhub? port ?
2071.4Smattuhub*		at uhub? port ?
2081.1Smatt
2091.1Smatt#sdhc*		at cpunode?		# sdmmc
2101.1Smatt#sdmmc*		at sdhc?		# SD/MMC bus
2111.1Smatt#ld*		at sdmmc?
2121.1Smatt
2131.1Smattahcisata*	at pci? dev ? function ?
2141.3Smattatabus0 	at ahcisata? channel 0
2151.3Smattatabus1 	at ahcisata? channel 1
2161.3Smattatabus2 	at ahcisata? channel 2
2171.3Smattatabus3 	at ahcisata? channel 3
2181.1Smattatabus*		at ahcisata? channel ?
2191.1Smattaceride*	at pci? dev ? function ?
2201.1Smattatabus*		at aceride? channel ?
2211.3Smattwd0		at atabus0 drive ?
2221.3Smattwd1		at atabus3 drive ?
2231.1Smattwd*		at atabus? drive ?
2241.1Smatt
2251.2Smatt#wm*		at pci? dev ? function ?	# Intel Ethernet
2261.1Smatt
2271.2Smatt#ciphy*		at mii? phy ?			# Cicada PHY
2281.1Smatt#inphy*		at mii? phy ?			# Intel 82555 PHYs
2291.1Smatt#iophy*		at mii? phy ?			# Intel 82553 PHYs
2301.2Smatt#makphy* 	at mii? phy ?			# Marvell PHYs
2311.1Smattukphy*		at mii? phy ?			# generic unknown PHYs
2321.1Smatt
2331.1Smattpseudo-device	loop			# network loopback
2341.1Smattpseudo-device	bpfilter		# packet filter
2351.1Smattpseudo-device	clockctl		# user control of clock subsystem
2361.1Smattpseudo-device	ksyms			# /dev/ksyms
2371.1Smattpseudo-device	pty			# pseudo-terminals
2381.1Smattpseudo-device	kttcp			# kernel ttcp
2391.1Smattpseudo-device	vlan			# 802.1Q VLANs
2401.12Smattpseudo-device	putter			# for puffs and pud
2411.12Smattpseudo-device	vnd			# disk-like interface to files
242