TWRP1025 revision 1.8
11.8Sapb#	$NetBSD: TWRP1025,v 1.8 2012/10/17 14:48:11 apb Exp $
21.1Smatt#
31.1Smatt#	TWRP1025 -- everything that's currently supported
41.1Smatt#
51.1Smatt
61.1Smattinclude		"arch/evbppc/conf/std.mpc85xx"
71.1Smatt
81.1Smattoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
91.1Smatt
101.8Sapbident 		"TWRP1025-$Revision: 1.8 $"
111.1Smatt
121.1Smattmaxusers	32
131.1Smatt
141.1Smattmakeoptions	NEED_BINARY="yes"
151.1Smattmakeoptions	NEED_UBOOTIMAGE="yes"
161.1Smatt
171.1Smatt#options 	UVMHIST
181.1Smatt#options 	UVMHIST_PRINT
191.1Smatt
201.1Smattoptions 	P1025
211.1Smattoptions 	SYS_CLK=66666667
221.1Smatt#options 	HZ=1000
231.1Smatt
241.1Smatt#options 	INSECURE	# disable kernel security levels
251.1Smatt#options 	NTP		# NTP phase/frequency locked loop
261.1Smattoptions 	KTRACE		# system call tracing via ktrace(1)
271.1Smatt
281.1Smattoptions 	SYSVMSG		# System V message queues
291.1Smattoptions 	SYSVSEM		# System V semaphores
301.1Smattoptions 	SYSVSHM		# System V shared memory
311.1Smatt
321.1Smattoptions 	USERCONF	# userconf(4) support
331.3Smatt#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
341.1Smatt#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
351.1Smatt
361.1Smatt# Diagnostic/debugging support options
371.1Smattoptions 	DIAGNOSTIC	# cheap kernel consistency checks
381.1Smattoptions 	DEBUG		# expensive debugging checks/support
391.1Smatt#options 	SYSCALL_DEBUG	# syscall debugging
401.1Smattoptions 	DDB		# in-kernel debugger
411.1Smattoptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
421.1Smattoptions 	TRAP_PANICWAIT
431.1Smattoptions 	SYMTAB_SPACE=410000	# size for embedded symbol table
441.1Smatt
451.1Smattmakeoptions	DEBUG="-g"	# compile full symbol table
461.1Smatt
471.1Smatt# Compatibility options
481.1Smatt#options 	COMPAT_09	# NetBSD 0.9,
491.1Smatt#options 	COMPAT_10	# NetBSD 1.0,
501.1Smatt#options 	COMPAT_11	# NetBSD 1.1,
511.1Smatt#options 	COMPAT_12	# NetBSD 1.2,
521.1Smattoptions 	COMPAT_13	# NetBSD 1.3,
531.1Smattoptions 	COMPAT_14	# NetBSD 1.4,
541.1Smattoptions 	COMPAT_15	# NetBSD 1.5,
551.1Smattoptions 	COMPAT_16	# NetBSD 1.6,
561.1Smattoptions 	COMPAT_20	# NetBSD 2.0,
571.1Smattoptions 	COMPAT_30	# NetBSD 3.0,
581.1Smattoptions 	COMPAT_40	# NetBSD 4.0,
591.1Smattoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
601.8Sapboptions 	COMPAT_60	# NetBSD 6.0 compatibility.
611.1Smattoptions 	COMPAT_43	# and 4.3BSD
621.1Smatt#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
631.1Smatt#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
641.3Smattoptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
651.3Smatt
661.3Smatt# Wedge support
671.3Smattoptions 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
681.3Smattoptions 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
691.1Smatt
701.1Smatt# File systems
711.1Smattfile-system 	FFS		# UFS
721.1Smattfile-system 	EXT2FS		# second extended file system (linux)
731.1Smattfile-system 	LFS		# log-structured file system
741.1Smattfile-system 	MFS		# memory file system
751.1Smattfile-system 	NFS		# Network File System client
761.1Smattfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
771.1Smattfile-system 	MSDOSFS		# MS-DOS file system
781.1Smatt#file-system 	FDESC		# /dev/fd
791.1Smattfile-system 	TMPFS		# efficient memory file system
801.1Smattfile-system 	KERNFS		# /kern
811.1Smattfile-system 	NULLFS		# loopback file system
821.1Smatt#file-system 	OVERLAY		# overlay file system
831.1Smatt#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
841.1Smattfile-system 	PROCFS		# /proc
851.1Smatt#file-system 	UMAPFS		# NULLFS + uid and gid remapping
861.1Smatt#file-system 	UNION		# union file system
871.1Smattfile-system	PTYFS		# /dev/pts/N support
881.1Smatt
891.1Smatt# File system options
901.1Smattoptions 	QUOTA		# legacy UFS quotas
911.1Smattoptions 	QUOTA2		# new, in-filesystem UFS quotas
921.1Smattoptions 	FFS_EI		# FFS Endian Independent support
931.1Smattoptions 	WAPBL		# File system journaling support
941.1Smattoptions 	NFSSERVER	# Network File System server
951.1Smatt#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
961.1Smattoptions 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
971.1Smatt				# immutable) behave as system flags.
981.1Smatt
991.1Smattoptions 	NFS_BOOT_DHCP	# Support DHCP NFS root
1001.1Smatt
1011.1Smatt# Networking options
1021.1Smatt#options 	GATEWAY		# packet forwarding
1031.1Smattoptions 	INET		# IP + ICMP + TCP + UDP
1041.1Smattoptions 	INET_CSUM_COUNTERS
1051.1Smattoptions 	TCP_CSUM_COUNTERS
1061.1Smattoptions 	UDP_CSUM_COUNTERS
1071.1Smatt#options 	INET6		# IPV6
1081.1Smatt#options 	IPSEC		# IP security
1091.1Smatt#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1101.1Smatt#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
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        DIRECTED_BROADCAST      # allow broadcasts through routers
1151.1Smatt#options 	ISO,TPIP	# OSI
1161.1Smatt#options 	EON		# OSI tunneling over IP
1171.1Smatt#options 	NETATALK	# AppleTalk networking protocols
1181.1Smatt#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1191.1Smatt#options 	PPP_DEFLATE	# Deflate compression support for PPP
1201.1Smatt#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1211.1Smatt#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1221.1Smatt#options 	IPFILTER_LOG	# ipmon(8) log support
1231.1Smatt#options 	IPFILTER_LOOKUP	# ippool(8) support
1241.1Smatt#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1251.1Smatt
1261.1Smatt# These options enable verbose messages for several subsystems.
1271.1Smatt# Warning, these may compile large string tables into the kernel!
1281.1Smattoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1291.1Smattoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1301.1Smatt#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1311.1Smattoptions 	SCSIVERBOSE	# human readable SCSI error messages
1321.1Smatt#options 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to configure PCI devices
1331.1Smatt#options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
1341.1Smatt
1351.1Smatt# wscons options
1361.1Smatt#options 	WSEMUL_SUN		# sun terminal emulation
1371.1Smatt#options 	WSEMUL_VT100		# VT100 / VT220 emulation
1381.7Sabs#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1391.1Smatt
1401.1Smatt# Kernel root file system and dump configuration.
1411.1Smattconfig		netbsd		root on ? type ?
1421.1Smattconfig		netbsd-sd0a	root on sd0a type ffs
1431.1Smattconfig		nfsnetbsd	root on tsec0 type nfs
1441.1Smatt
1451.1Smatt#
1461.1Smatt# Device configuration
1471.1Smatt#
1481.1Smatt
1491.1Smattmainbus0 at root			# Processor Local Bus
1501.1Smatt
1511.1Smattcpunode*	at mainbus? node ?
1521.1Smattgpio*		at gpiobus?
1531.1Smatt
1541.1Smattcpu*		at cpunode?
1551.1Smatt
1561.1Smattobio0		at cpunode?		# On-chip Peripheral Bus
1571.1Smatt#nandfcm*	at obio0 cs ?		# nand flash
1581.1Smatt#nand*		at nandfcm?
1591.1Smatt#flash*		at nand?
1601.1Smatt
1611.1Smatt# NOR Flash
1621.1Smatt#options 	NOR_VERBOSE
1631.1Smattcfi0	 	at obio0 cs 0
1641.1Smattnor*		at cfi?
1651.4Smattflash*		at nor? offset 0 size 0x4000000
1661.1Smatt
1671.1Smatte500wdog*	at cpunode?		# Watchdog timer
1681.1Smatt
1691.1Smattddrc*		at cpunode?
1701.1Smattduart*		at cpunode?
1711.1Smattcom*		at duart? port ?
1721.3Smattoptions 	CONSADDR="DUART1_BASE"
1731.1Smatt
1741.5Smattmdio0		at cpunode? instance 1
1751.5Smatttsec0		at cpunode? instance 1 mdio 0 phy 2 # Enhanced 3-Speed Ethernet Controller
1761.5Smatttsec1		at cpunode? instance 3 mdio 0 phy 1 # Enhanced 3-Speed Ethernet Controller
1771.5Smattatphy*		at mii?
1781.1Smattukphy*		at mii?
1791.1Smatt#options 	ETSEC_EVENT_COUNTERS
1801.1Smatt
1811.1Smattdiic*		at cpunode?		# i2c bus
1821.1Smattiic*		at diic?
1831.1Smatt#dsrtc*		at iic1 addr 0x68 flags 1339	# RTC DS1339
1841.1Smatt
1851.1Smattpq3pcie*	at cpunode?		# PCI-Express controller
1861.1Smattpci*		at pq3pcie?
1871.1Smatt
1881.1Smattppb*		at pci? dev ? function ?	# PCI-PCI bridges
1891.1Smattpci*		at ppb?
1901.1Smatt
1911.1Smattahcisata*	at pci? dev ? function ?
1921.1Smattatabus*		at ahcisata? channel ?
1931.1Smattwd*		at atabus? drive ?
1941.1Smatt
1951.1Smattehci*		at cpunode?		# usb
1961.1Smattusb*		at ehci?
1971.1Smattuhub*		at usb?
1981.1Smattuhub*		at uhub? port ?
1991.1Smattumass*		at uhub? port ?
2001.1Smattscsibus*	at umass? channel ?
2011.1Smattsd*		at scsibus? target ? lun ?
2021.1Smatt
2031.5Smatt#options 	SDHC_DEBUG
2041.5Smatt#options 	SDMMC_DEBUG
2051.1Smattsdhc*		at cpunode?		# sdmmc
2061.1Smattsdmmc*		at sdhc?		# SD/MMC bus
2071.1Smattld*		at sdmmc?
2081.1Smatt
2091.1Smatt#siisata*	at pci? dev ? function ?
2101.1Smatt#atabus* 	at siisata? channel ?
2111.1Smatt#jmide*		at pci? dev ? function ?	# JMicron PCI-e PATA/SATA controllers
2121.1Smatt#ahcisata*	at jmide?
2131.1Smatt#atabus* 	at ahcisata? channel ?
2141.1Smatt
2151.1Smatt#viaide* 	at pci? dev ? function ?
2161.1Smatt#atabus* 	at viaide? channel ?
2171.1Smatt#wd*		at atabus? drive ?
2181.1Smatt#rtk*		at pci? dev ? function ?
2191.1Smatt#wm*		at pci? dev ? function ?	# Intel Ethernet
2201.1Smatt
2211.1Smatt#inphy*		at mii? phy ?			# Intel 82555 PHYs
2221.1Smatt#iophy*		at mii? phy ?			# Intel 82553 PHYs
2231.1Smatt#makphy* 	at mii? phy ?			# Marvell PHYs
2241.1Smatt#ukphy*		at mii? phy ?			# generic unknown PHYs
2251.1Smatt
2261.1Smattpseudo-device	loop			# network loopback
2271.1Smattpseudo-device	bpfilter		# packet filter
2281.1Smattpseudo-device	clockctl		# user control of clock subsystem
2291.6Smattpseudo-device	drvctl			# user control of drive subsystem
2301.1Smattpseudo-device	ksyms			# /dev/ksyms
2311.1Smattpseudo-device	pty			# pseudo-terminals
2321.1Smattpseudo-device	kttcp			# kernel ttcp
2331.1Smattpseudo-device	vlan			# 802.1Q VLANs
234