CP3100 revision 1.9
1#	$NetBSD: CP3100,v 1.9 2008/07/31 07:41:00 simonb Exp $
2#
3#	CP3100 -- Certance CP3100 Kernel
4#
5
6include	"arch/evbarm/conf/std.cp3100"
7
8#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9
10# estimated number of users
11
12maxusers	32
13
14# Standard system options
15
16options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
17options 	NTP		# NTP phase/frequency locked loop
18#options 	NMBCLUSTERS=1024
19
20# CPU options
21
22# For XScale systems
23options 	CPU_XSCALE_80321	# Support the XScale core
24makeoptions	CPUFLAGS="-mcpu=xscale"
25
26# Architecture options
27options 	XSCALE_CACHE_READ_WRITE_ALLOCATE
28#options 	HZ=512
29
30# File systems
31
32file-system	FFS		# UFS
33file-system	LFS		# log-structured file system
34file-system	MFS		# memory file system
35file-system	NFS		# Network file system
36#file-system 	ADOSFS		# AmigaDOS-compatible file system
37#file-system 	EXT2FS		# second extended file system (linux)
38#file-system	CD9660		# ISO 9660 + Rock Ridge file system
39#file-system	MSDOSFS		# MS-DOS file system
40file-system	FDESC		# /dev/fd
41file-system	KERNFS		# /kern
42file-system	NULLFS		# loopback file system
43#file-system	PORTAL		# portal filesystem (still experimental)
44file-system	PROCFS		# /proc
45#file-system	UMAPFS		# NULLFS + uid and gid remapping
46#file-system	UNION		# union file system
47file-system	PTYFS		# /dev/pts/N support
48
49# File system options
50#options 	QUOTA		# UFS quotas
51#options 	FFS_EI		# FFS Endian Independant support
52options 	NFSSERVER
53options 	SOFTDEP
54options 	WAPBL		# File system journaling support - Experimental
55#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
56
57# Networking options
58
59options 	GATEWAY		# packet forwarding
60options 	INET		# IP + ICMP + TCP + UDP
61options 	INET6		# IPV6
62#options 	IPSEC		# IP security
63#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
64#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
65#options 	IPSEC_DEBUG	# debug for IP security
66#options 	MROUTING	# IP multicast routing
67#options 	PIM		# Protocol Independent Multicast
68#options 	NS		# XNS
69#options 	NSIP		# XNS tunneling over IP
70#options 	ISO,TPIP	# OSI
71#options 	EON		# OSI tunneling over IP
72#options 	CCITT,LLC,HDLC	# X.25
73#options 	NETATALK	# AppleTalk networking
74#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
75#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
76#options 	PPP_DEFLATE	# Deflate compression support for PPP
77#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
78options 	IPFILTER_LOG	# ipmon(8) log support
79options 	IPFILTER_LOOKUP	# ippool(8) support
80#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
81
82options 	NFS_BOOT_BOOTP
83options 	NFS_BOOT_DHCP
84#options 	NFS_BOOT_BOOTPARAM
85
86# Compatibility options
87
88#options 	COMPAT_43	# 4.3BSD compatibility.
89#options 	COMPAT_40	# NetBSD 4.0 compatibility.
90#options 	COMPAT_30	# NetBSD 3.0 compatibility.
91#options 	COMPAT_20	# NetBSD 2.0 compatibility.
92#options 	COMPAT_16	# NetBSD 1.6 compatibility.
93#options 	COMPAT_15	# NetBSD 1.5 compatibility.
94#options 	COMPAT_14	# NetBSD 1.4 compatibility.
95#options 	COMPAT_13	# NetBSD 1.3 compatibility.
96#options 	COMPAT_12	# NetBSD 1.2 compatibility.
97#options 	COMPAT_11	# NetBSD 1.1 compatibility.
98#options 	COMPAT_10	# NetBSD 1.0 compatibility.
99#options 	COMPAT_09	# NetBSD 0.9 compatibility.
100#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
101options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
102
103# Shared memory options
104
105options 	SYSVMSG		# System V-like message queues
106options 	SYSVSEM		# System V-like semaphores
107#options 	SEMMNI=10	# number of semaphore identifiers
108#options 	SEMMNS=60	# number of semaphores in system
109#options 	SEMUME=10	# max number of undo entries per process
110#options 	SEMMNU=30	# number of undo structures in system
111options 	SYSVSHM		# System V-like memory sharing
112options 	SHMMAXPGS=2048	# 2048 pages is the default
113options 	P1003_1B_SEMAPHORE	# p1003.1b semaphore support
114
115# Device options
116
117#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
118#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
119#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
120
121# Console options.  The default console is speed is 115200 baud.
122options 	CONSPEED=115200		# Console speed
123
124# Miscellaneous kernel options
125options 	KTRACE		# system call tracing, a la ktrace(1)
126options 	IRQSTATS	# manage IRQ statistics
127#options 	LKM		# loadable kernel modules
128#options 	KMEMSTATS	# kernel memory statistics
129#options 	SCSIVERBOSE	# Verbose SCSI errors
130#options 	PCIVERBOSE	# Verbose PCI descriptions
131#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
132#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
133#options 	DDB_KEYCODE=0x40
134options 	USERCONF	# userconf(4) support
135#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
136#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
137
138# Development and Debugging options
139
140options 	PERFCTRS	# performance counters
141options 	DIAGNOSTIC	# internally consistency checks
142#options 	DEBUG
143#options 	PMAP_DEBUG	# Enable pmap_debug_level code
144#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
145options 	DDB		# in-kernel debugger
146options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
147#makeoptions	DEBUG="-g"	# compile full symbol table
148options 	SYMTAB_SPACE=350000
149
150config		netbsd		root on ? type ?
151config		netbsd-wm0	root on wm0 type nfs
152config		netbsd-wd0	root on wd0a type ffs
153config		netbsd-sd0	root on sd0a type ffs
154
155# The main bus device
156mainbus0	at root
157
158# The boot CPU
159cpu0		at mainbus?
160
161# On-board device support
162obio*		at mainbus?
163
164# Console UART.
165# Note: "xint 4" is actually the HPI# pin
166com0		at obio? addr 0xfe800000 xint 4
167
168# i80321 I/O Processor peripheral support
169iopxs*		at mainbus?
170
171iopaau*		at iopxs?		# Application Accelerator Unit
172iopiic*		at iopxs?		# I2C Controller Unit(s)
173iic0		at iopiic?
174iic1		at iopiic?
175iopwdog*	at iopxs?		# Watchdog timer
176pci0		at iopxs? bus ?		# PCI/PCI-X support
177
178# IIC Devices
179m41trtc0	at iic1 addr 0x68		# M41T11 Realtime Clock
180
181#
182# Storage devices
183#
184
185# Serial ATA: i31244
186artsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
187atabus* 	at ata?
188
189# ATA Disks
190wd*	at atabus? drive ? flags 0x0000
191
192# SCSI: Symbios Logic 53c1010
193#
194# Wire down the Target/Host instances. Disable the target contoller for
195# now as we don't currently support SCSI target mode.
196siop0		at pci0 dev 2 function 1	# Host controller
197#siop1		at pci0 dev 2 function 0	# Target controller
198scsibus*	at scsi?
199
200# SCSI Devices
201sd*	at scsibus? target ? lun ?	# SCSI disk drives
202st*	at scsibus? target ? lun ?	# SCSI tape drives
203cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
204ch*	at scsibus? target ? lun ?	# SCSI autochangers
205ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
206ss*	at scsibus? target ? lun ?	# SCSI Scanners
207uk*	at scsibus? target ? lun ?	# SCSI unknown
208
209#
210# Networking devices
211#
212
213# PCI network devices
214wm*	at pci? dev ? function ?	# Intel i82546EB Gig-E
215
216# MII/PHY support
217makphy* at mii? phy ?			# Marvell 88E1000 PHYs
218
219# Pseudo-Devices
220
221# disk/mass storage pseudo-devices
222pseudo-device	ccd		4	# concatenated/striped disk devices
223#pseudo-device	cgd		4	# cryptographic disk devices
224pseudo-device	raid		8	# RAIDframe disk driver
225options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
226# Options to enable various other RAIDframe RAID types.
227#options 	RF_INCLUDE_EVENODD=1
228#options 	RF_INCLUDE_RAID5_RS=1
229#options 	RF_INCLUDE_PARITYLOGGING=1
230#options 	RF_INCLUDE_CHAINDECLUSTER=1
231#options 	RF_INCLUDE_INTERDECLUSTER=1
232#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
233#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
234#pseudo-device	fss		4	# file system snapshot device
235
236#pseudo-device	md		1	# memory disk device (ramdisk)
237pseudo-device	vnd			# disk-like interface to files
238options 	VND_COMPRESSION		# compressed vnd(4)
239
240# network pseudo-devices
241pseudo-device	bpfilter		# Berkeley packet filter
242pseudo-device	ipfilter		# IP filter (firewall) and NAT
243pseudo-device	loop			# network loopback
244#pseudo-device	tun			# network tunneling over tty
245#pseudo-device	vlan			# IEEE 802.1q encapsulation
246#pseudo-device	bridge			# simple inter-network bridging
247
248# miscellaneous pseudo-devices
249pseudo-device	pty			# pseudo-terminals
250pseudo-device	rnd			# /dev/random and in-kernel generator
251pseudo-device	clockctl		# user control of clock subsystem
252pseudo-device	ksyms			# /dev/ksyms
253
254# data mover pseudo-devices
255#pseudo-device	swdmover		# softare dmover(9) back-end
256#pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
257