CP3100 revision 1.2
11.2She#	$NetBSD: CP3100,v 1.2 2006/11/11 23:50:54 he Exp $
21.1Sscw#
31.1Sscw#	CP3100 -- Certance CP3100 Kernel
41.1Sscw#
51.1Sscw
61.1Sscwinclude	"arch/evbarm/conf/std.cp3100"
71.1Sscw
81.1Sscw#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
91.1Sscw
101.1Sscw# estimated number of users
111.1Sscw
121.1Sscwmaxusers	32
131.1Sscw
141.1Sscw# Standard system options
151.1Sscw
161.1Sscwoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
171.1Sscwoptions 	NTP		# NTP phase/frequency locked loop
181.1Sscw#options 	NMBCLUSTERS=1024
191.1Sscw
201.1Sscw# CPU options
211.1Sscw
221.1Sscw# For XScale systems
231.1Sscwoptions 	CPU_XSCALE_80321	# Support the XScale core
241.1Sscwmakeoptions	CPUFLAGS="-mcpu=xscale"
251.1Sscw
261.1Sscw# Architecture options
271.1Sscwoptions 	XSCALE_CACHE_READ_WRITE_ALLOCATE
281.1Sscw#options 	HZ=512
291.1Sscw
301.1Sscw# File systems
311.1Sscw
321.1Sscwfile-system	FFS		# UFS
331.1Sscwfile-system	LFS		# log-structured file system
341.1Sscwfile-system	MFS		# memory file system
351.1Sscwfile-system	NFS		# Network file system
361.1Sscw#file-system 	ADOSFS		# AmigaDOS-compatible file system
371.1Sscw#file-system 	EXT2FS		# second extended file system (linux)
381.1Sscw#file-system	CD9660		# ISO 9660 + Rock Ridge file system
391.1Sscw#file-system	MSDOSFS		# MS-DOS file system
401.1Sscwfile-system	FDESC		# /dev/fd
411.1Sscwfile-system	KERNFS		# /kern
421.1Sscwfile-system	NULLFS		# loopback file system
431.1Sscw#file-system	PORTAL		# portal filesystem (still experimental)
441.1Sscwfile-system	PROCFS		# /proc
451.1Sscw#file-system	UMAPFS		# NULLFS + uid and gid remapping
461.1Sscw#file-system	UNION		# union file system
471.1Sscwfile-system	PTYFS		# /dev/pts/N support
481.1Sscw
491.1Sscw# File system options
501.1Sscw#options 	QUOTA		# UFS quotas
511.1Sscw#options 	FFS_EI		# FFS Endian Independant support
521.1Sscwoptions 	NFSSERVER
531.1Sscwoptions 	SOFTDEP
541.1Sscw#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
551.1Sscw
561.1Sscw# Networking options
571.1Sscw
581.1Sscwoptions 	GATEWAY		# packet forwarding
591.1Sscwoptions 	INET		# IP + ICMP + TCP + UDP
601.1Sscwoptions 	INET6		# IPV6
611.1Sscw#options 	IPSEC		# IP security
621.1Sscw#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
631.1Sscw#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
641.1Sscw#options 	IPSEC_DEBUG	# debug for IP security
651.1Sscw#options 	MROUTING	# IP multicast routing
661.1Sscw#options 	PIM		# Protocol Independent Multicast
671.1Sscw#options 	NS		# XNS
681.1Sscw#options 	NSIP		# XNS tunneling over IP
691.1Sscw#options 	ISO,TPIP	# OSI
701.1Sscw#options 	EON		# OSI tunneling over IP
711.1Sscw#options 	CCITT,LLC,HDLC	# X.25
721.1Sscw#options 	NETATALK	# AppleTalk networking
731.1Sscw#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
741.1Sscw#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
751.1Sscw#options 	PPP_DEFLATE	# Deflate compression support for PPP
761.1Sscw#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
771.1Sscwoptions 	IPFILTER_LOG	# ipmon(8) log support
781.1Sscwoptions 	IPFILTER_LOOKUP	# ippool(8) support
791.1Sscw#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
801.1Sscw
811.1Sscwoptions 	NFS_BOOT_BOOTP
821.1Sscwoptions 	NFS_BOOT_DHCP
831.1Sscw#options 	NFS_BOOT_BOOTPARAM
841.1Sscw
851.1Sscw# Compatibility options
861.1Sscw
871.1Sscw#options 	COMPAT_43	# 4.3BSD compatibility.
881.1Sscw#options 	COMPAT_30	# NetBSD 3.0 compatibility.
891.1Sscw#options 	COMPAT_20	# NetBSD 2.0 compatibility.
901.1Sscw#options 	COMPAT_16	# NetBSD 1.6 compatibility.
911.1Sscw#options 	COMPAT_15	# NetBSD 1.5 compatibility.
921.1Sscw#options 	COMPAT_14	# NetBSD 1.4 compatibility.
931.1Sscw#options 	COMPAT_13	# NetBSD 1.3 compatibility.
941.1Sscw#options 	COMPAT_12	# NetBSD 1.2 compatibility.
951.1Sscw#options 	COMPAT_11	# NetBSD 1.1 compatibility.
961.1Sscw#options 	COMPAT_10	# NetBSD 1.0 compatibility.
971.1Sscw#options 	COMPAT_09	# NetBSD 0.9 compatibility.
981.1Sscw#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
991.1Sscwoptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1001.1Sscw
1011.1Sscw# Shared memory options
1021.1Sscw
1031.1Sscwoptions 	SYSVMSG		# System V-like message queues
1041.1Sscwoptions 	SYSVSEM		# System V-like semaphores
1051.1Sscw#options 	SEMMNI=10	# number of semaphore identifiers
1061.1Sscw#options 	SEMMNS=60	# number of semaphores in system
1071.1Sscw#options 	SEMUME=10	# max number of undo entries per process
1081.1Sscw#options 	SEMMNU=30	# number of undo structures in system
1091.1Sscwoptions 	SYSVSHM		# System V-like memory sharing
1101.1Sscwoptions 	SHMMAXPGS=2048	# 2048 pages is the default
1111.1Sscwoptions 	P1003_1B_SEMAPHORE	# p1003.1b semaphore support
1121.1Sscw
1131.1Sscw# Device options
1141.1Sscw
1151.1Sscw#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1161.1Sscw#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
1171.1Sscw#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1181.1Sscw
1191.1Sscw# Console options.  The default console is speed is 115200 baud.
1201.1Sscwoptions 	CONSPEED=115200		# Console speed
1211.1Sscw
1221.1Sscw# Miscellaneous kernel options
1231.1Sscwoptions 	KTRACE		# system call tracing, a la ktrace(1)
1241.1Sscwoptions 	IRQSTATS	# manage IRQ statistics
1251.1Sscw#options 	LKM		# loadable kernel modules
1261.1Sscw#options 	KMEMSTATS	# kernel memory statistics
1271.1Sscw#options 	SCSIVERBOSE	# Verbose SCSI errors
1281.1Sscw#options 	PCIVERBOSE	# Verbose PCI descriptions
1291.1Sscw#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
1301.1Sscw#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1311.1Sscw#options 	DDB_KEYCODE=0x40
1321.1Sscwoptions 	USERCONF	# userconf(4) support
1331.1Sscw#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1341.1Sscw#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1351.1Sscw
1361.1Sscw# Development and Debugging options
1371.1Sscw
1381.1Sscwoptions 	PERFCTRS	# performance counters
1391.1Sscwoptions 	DIAGNOSTIC	# internally consistency checks
1401.1Sscw#options 	DEBUG
1411.1Sscw#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1421.1Sscw#options 	IPKDB		# remote kernel debugging
1431.1Sscw#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
1441.1Sscwoptions 	DDB		# in-kernel debugger
1451.1Sscwoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1461.1Sscw#makeoptions	DEBUG="-g"	# compile full symbol table
1471.1Sscwoptions 	SYMTAB_SPACE=310000
1481.1Sscw
1491.1Sscwconfig		netbsd		root on ? type ?
1501.1Sscwconfig		netbsd-wm0	root on wm0 type nfs
1511.1Sscwconfig		netbsd-wd0	root on wd0a type ffs
1521.2Sheconfig		netbsd-sd0	root on sd0a type ffs
1531.1Sscw
1541.1Sscw# The main bus device
1551.1Sscwmainbus0	at root
1561.1Sscw
1571.1Sscw# The boot CPU
1581.1Sscwcpu0		at mainbus?
1591.1Sscw
1601.1Sscw# On-board device support
1611.1Sscwobio*		at mainbus?
1621.1Sscw
1631.1Sscw# Console UART.
1641.1Sscw# Note: "xint 4" is actually the HPI# pin
1651.1Sscwcom0		at obio? addr 0xfe800000 xint 4
1661.1Sscw
1671.1Sscw# i80321 I/O Processor peripheral support
1681.1Sscwiopxs*		at mainbus?
1691.1Sscw
1701.1Sscwiopaau*		at iopxs?		# Application Accelerator Unit
1711.1Sscwiopiic*		at iopxs?		# I2C Controller Unit(s)
1721.1Sscwiic0		at iopiic?
1731.1Sscwiic1		at iopiic?
1741.1Sscwiopwdog*	at iopxs?		# Watchdog timer
1751.1Sscwpci0		at iopxs? bus ?		# PCI/PCI-X support
1761.1Sscw
1771.1Sscw# IIC Devices
1781.1Sscwm41trtc0	at iic1 addr 0x68		# M41T11 Realtime Clock
1791.1Sscw
1801.1Sscw#
1811.1Sscw# Storage devices
1821.1Sscw#
1831.1Sscw
1841.1Sscw# Serial ATA: i31244
1851.1Sscwartsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
1861.1Sscwatabus* 	at ata?
1871.1Sscw
1881.1Sscw# ATA Disks
1891.1Sscwwd*	at atabus? drive ? flags 0x0000
1901.1Sscw
1911.1Sscw# SCSI: Symbios Logic 53c1010
1921.1Sscw#
1931.1Sscw# Wire down the Target/Host instances. Disable the target contoller for
1941.1Sscw# now as we don't currently support SCSI target mode.
1951.1Sscwsiop0		at pci0 dev 2 function 1	# Host controller
1961.1Sscw#siop1		at pci0 dev 2 function 0	# Target controller
1971.1Sscwscsibus*	at scsi?
1981.1Sscw
1991.1Sscw# SCSI Devices
2001.1Sscwsd*	at scsibus? target ? lun ?	# SCSI disk drives
2011.1Sscwst*	at scsibus? target ? lun ?	# SCSI tape drives
2021.1Sscwcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2031.1Sscwch*	at scsibus? target ? lun ?	# SCSI autochangers
2041.1Sscwses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
2051.1Sscwss*	at scsibus? target ? lun ?	# SCSI Scanners
2061.1Sscwuk*	at scsibus? target ? lun ?	# SCSI unknown
2071.1Sscw
2081.1Sscw#
2091.1Sscw# Networking devices
2101.1Sscw#
2111.1Sscw
2121.1Sscw# PCI network devices
2131.1Sscwwm*	at pci? dev ? function ?	# Intel i82546EB Gig-E
2141.1Sscw
2151.1Sscw# MII/PHY support
2161.1Sscwmakphy* at mii? phy ?			# Marvell 88E1000 PHYs
2171.1Sscw
2181.1Sscw# Pseudo-Devices
2191.1Sscw
2201.1Sscw# disk/mass storage pseudo-devices
2211.1Sscwpseudo-device	ccd		4	# concatenated/striped disk devices
2221.1Sscw#pseudo-device	cgd		4	# cryptographic disk devices
2231.1Sscwpseudo-device	raid		8	# RAIDframe disk driver
2241.1Sscwoptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2251.1Sscw# Options to enable various other RAIDframe RAID types.
2261.1Sscw#options 	RF_INCLUDE_EVENODD=1
2271.1Sscw#options 	RF_INCLUDE_RAID5_RS=1
2281.1Sscw#options 	RF_INCLUDE_PARITYLOGGING=1
2291.1Sscw#options 	RF_INCLUDE_CHAINDECLUSTER=1
2301.1Sscw#options 	RF_INCLUDE_INTERDECLUSTER=1
2311.1Sscw#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2321.1Sscw#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2331.1Sscw#pseudo-device	fss		4	# file system snapshot device
2341.1Sscw
2351.1Sscw#pseudo-device	md		1	# memory disk device (ramdisk)
2361.1Sscwpseudo-device	vnd			# disk-like interface to files
2371.1Sscwoptions 	VND_COMPRESSION		# compressed vnd(4)
2381.1Sscw
2391.1Sscw# network pseudo-devices
2401.1Sscwpseudo-device	bpfilter		# Berkeley packet filter
2411.1Sscwpseudo-device	ipfilter		# IP filter (firewall) and NAT
2421.1Sscwpseudo-device	loop			# network loopback
2431.1Sscw#pseudo-device	tun			# network tunneling over tty
2441.1Sscw#pseudo-device	vlan			# IEEE 802.1q encapsulation
2451.1Sscw#pseudo-device	bridge			# simple inter-network bridging
2461.1Sscw
2471.1Sscw# miscellaneous pseudo-devices
2481.1Sscwpseudo-device	pty			# pseudo-terminals
2491.1Sscwpseudo-device	rnd			# /dev/random and in-kernel generator
2501.1Sscwpseudo-device	clockctl		# user control of clock subsystem
2511.1Sscwpseudo-device	ksyms			# /dev/ksyms
2521.1Sscw
2531.1Sscw# data mover pseudo-devices
2541.1Sscw#pseudo-device	swdmover		# softare dmover(9) back-end
2551.1Sscw#pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
256