WZERO3 revision 1.26
11.1Sfvdl#	$NetBSD: WZERO3,v 1.26 2012/08/17 19:43:25 abs Exp $
21.2Ssalo#
31.1Sfvdl#	WZERO3 -- Sharp Windows Mobile 5 based PDA
41.1Sfvdl#
51.1Sfvdl
61.1Sfvdlinclude	"arch/hpcarm/conf/std.pxa2x0"
71.1Sfvdlinclude	"arch/hpcarm/conf/files.wzero3"
81.1Sfvdl
91.4Suebayasi#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
101.1Sfvdl
111.1Sfvdl#ident 		"GENERIC-$Revision: 1.26 $"
121.1Sfvdl
131.1Sfvdl# estimated number of users
141.1Sfvdlmaxusers	32
151.1Sfvdl
161.1Sfvdl# in-kernel bootloader, see kloader(4)
171.1Sfvdloptions 	KLOADER
181.1Sfvdl#options 	KLOADER_KERNEL_PATH="\"/netbsd\""
191.1Sfvdl#options 	KLOADER_DEBUG
201.1Sfvdl
211.1Sfvdl# Standard system options
221.1Sfvdl
231.1Sfvdl#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
241.1Sfvdl				# (default timezone is passed from hpcboot)
251.1Sfvdl#options 	NTP		# NTP phase/frequency locked loop
261.1Sfvdl
271.1Sfvdl# CPU options
281.1Sfvdl
291.1Sfvdl# For XScale systems
301.1Sfvdloptions 	CPU_XSCALE_PXA270	# Support the XScale PXA27x core
311.1Sfvdlmakeoptions 	CPUFLAGS="-mcpu=xscale"
321.1Sfvdl
331.1Sfvdl# Architecture options
341.1Sfvdloptions 	XSCALE_CACHE_READ_WRITE_ALLOCATE
351.1Sfvdloptions 	PXAGPIO_HAS_GPION_INTRS
361.1Sfvdl
371.1Sfvdl# File systems
381.1Sfvdl
391.1Sfvdlfile-system	FFS		# UFS
401.1Sfvdl#file-system	LFS		# log-structured file system
411.1Sfvdl#file-system	MFS		# memory file system
421.1Sfvdlfile-system	NFS		# Network file system
431.1Sfvdl#file-system 	ADOSFS		# AmigaDOS-compatible file system
441.1Sfvdlfile-system 	EXT2FS		# second extended file system (linux)
451.1Sfvdlfile-system	CD9660		# ISO 9660 + Rock Ridge file system
461.1Sfvdlfile-system	MSDOSFS		# MS-DOS file system
471.1Sfvdlfile-system	FDESC		# /dev/fd
481.1Sfvdlfile-system	KERNFS		# /kern
491.1Sfvdlfile-system	NULLFS		# loopback file system
501.1Sfvdl#file-system 	OVERLAY		# overlay filesystem
511.1Sfvdlfile-system	PROCFS		# /proc
521.1Sfvdl#file-system	UMAPFS		# NULLFS + uid and gid remapping
531.1Sfvdlfile-system	UNION		# union file system
541.1Sfvdlfile-system	PTYFS		# /dev/pts/N support
551.1Sfvdlfile-system	TMPFS		# Efficient memory file-system
561.1Sfvdl#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
571.1Sfvdl
581.1Sfvdl# File system options
591.1Sfvdl#options 	QUOTA		# legacy UFS quotas
601.1Sfvdl#options 	QUOTA2		# new, in-filesystem UFS quotas
611.1Sfvdl#options 	FFS_EI		# FFS Endian Independent support
621.1Sfvdloptions 	WAPBL		# File system journaling support
631.1Sfvdl#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
641.1Sfvdl#options 	NFSSERVER
651.1Sfvdl
661.1Sfvdl# Networking options
671.1Sfvdl
681.1Sfvdl#options 	GATEWAY		# packet forwarding
691.1Sfvdloptions 	INET		# IP + ICMP + TCP + UDP
701.1Sfvdloptions 	INET6		# IPV6
711.1Sfvdl#options 	IPSEC		# IP security
721.1Sfvdl#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
731.1Sfvdl#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
741.1Sfvdl#options 	IPSEC_DEBUG	# debug for IP security
751.1Sfvdl#options 	MROUTING	# IP multicast routing
761.1Sfvdl#options 	PIM		# Protocol Independent Multicast
771.1Sfvdl#options 	ISO,TPIP	# OSI
781.1Sfvdl#options 	EON		# OSI tunneling over IP
791.1Sfvdl#options 	NETATALK	# AppleTalk networking
801.1Sfvdl#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
811.1Sfvdl#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
821.1Sfvdl#options 	PPP_DEFLATE	# Deflate compression support for PPP
831.1Sfvdl#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
841.1Sfvdl#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
851.1Sfvdl
861.1Sfvdl# Compatibility options
871.1Sfvdl
881.1Sfvdl#options 	COMPAT_43	# 4.3BSD compatibility.
891.1Sfvdloptions 	COMPAT_50	# NetBSD 5.0 compatibility.
901.1Sfvdloptions 	COMPAT_40	# NetBSD 4.0 compatibility.
911.1Sfvdloptions 	COMPAT_30	# NetBSD 3.0 compatibility.
921.1Sfvdloptions 	COMPAT_20	# NetBSD 2.0 compatibility.
931.1Sfvdloptions 	COMPAT_16	# NetBSD 1.6 compatibility.
941.1Sfvdl#options 	COMPAT_15	# NetBSD 1.5 compatibility.
951.1Sfvdl#options 	COMPAT_14	# NetBSD 1.4 compatibility.
961.1Sfvdl#options 	COMPAT_13	# NetBSD 1.3 compatibility.
971.1Sfvdl#options 	COMPAT_12	# NetBSD 1.2 compatibility.
981.1Sfvdl#options 	COMPAT_11	# NetBSD 1.1 compatibility.
991.1Sfvdl#options 	COMPAT_10	# NetBSD 1.0 compatibility.
1001.1Sfvdl#options 	COMPAT_09	# NetBSD 0.9 compatibility.
1011.1Sfvdl#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1021.3Srpaulooptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1031.1Sfvdl
1041.1Sfvdl# Shared memory options
1051.1Sfvdl
1061.1Sfvdloptions 	SYSVMSG		# System V-like message queues
1071.1Sfvdloptions 	SYSVSEM		# System V-like semaphores
1081.4Suebayasioptions 	SYSVSHM		# System V-like memory sharing
109
110# Miscellaneous kernel options
111options 	KTRACE		# system call tracing, a la ktrace(1)
112#options 	IRQSTATS	# manage IRQ statistics
113#options 	KMEMSTATS	# kernel memory statistics
114#options 	SCSIVERBOSE	# Verbose SCSI errors
115options 	USERCONF	# userconf(4) support
116#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
117#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
118options 	NFS_BOOT_DHCP
119
120#
121# wscons options
122#
123# builtin terminal emulations
124options 	WSEMUL_VT100
125# allocate a number of virtual screens at autoconfiguration time
126#options 	WSDISPLAY_DEFAULTSCREENS=2
127# The X server requires theses two options
128options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
129options 	WSDISPLAY_COMPAT_RAWKBD
130# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
131#options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
132#options 	WS_DEFAULT_FG=WSCOL_WHITE
133#options 	WS_DEFAULT_BG=WSCOL_BLACK
134#options 	WS_DEFAULT_COLATTR="(0)"
135#options 	WS_DEFAULT_MONOATTR="(0)"
136options 	WS_KERNEL_FG=WSCOL_GREEN
137#options 	WS_KERNEL_BG=WSCOL_BLACK
138#options 	WS_KERNEL_COLATTR=""
139#options 	WS_KERNEL_MONOATTR=""
140
141options 	FONT_VT220L8x16
142
143# Development and Debugging options
144
145#options 	VERBOSE_INIT_ARM
146#options 	BOOT_DUMP	# Enable memorydump at boot
147options 	DIAGNOSTIC	# internal consistency checks
148#options 	DEBUG		# expensive debugging checks/support
149#options 	PMAP_DEBUG	# Enable pmap_debug_level code
150options 	DDB		# in-kernel debugger
151#options 	DDB_HISTORY_SIZE=512	# Enable history editing in DDB
152#makeoptions	DEBUG="-g"	# compile full symbol table
153
154config		netbsd	root on ? type ?
155
156# The main bus device
157mainbus0 at root
158
159# The boot CPU
160cpu0 at mainbus?
161
162# integrated peripherals
163pxaip0	at mainbus?
164
165pxaintc0 at pxaip? addr 0x40d00000	# interrupt controller
166pxagpio0 at pxaip? addr 0x40e00000	# GPIO
167pxartc0 at pxaip? addr 0x40900000	# RTC
168
169# DMAC support
170pxadmac0 at pxaip? addr 0x40000000 intr 25
171options 	PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
172#options 	PXA2X0_DMAC_FIXED_PRIORITY	# Don't want multiple priority
173
174# Serial
175# integrated 16550 UARTs
176options 	COM_PXA2X0
177com0 at pxaip?  addr 0x40100000 intr 22	# Full Function UART
178#options 	CONSPEED=115200
179
180# OS Timer
181saost*	at pxaip? addr 0x40a00000 size 0x20
182
183# Physical console
184lcd* at pxaip?
185options 	PXA2X0_LCD_WRITETHROUGH
186wsdisplay* at lcd? console ?
187
188# for touchpad, keypad
189wzero3ssp0 at pxaip?
190
191# touchpad
192wzero3tp0 at pxaip?
193wsmouse* at wzero3tp? mux 0
194
195# keyboard
196wzero3kbd0 at pxaip?
197hpckbd*	at wzero3kbd?
198wskbd0 at hpckbd? mux 1
199
200# keypad
201wzero3keypad0 at pxaip?
202wskbd1 at wzero3keypad? mux 1
203
204# integrated MMC/SD contoller
205pxamci0 at pxaip? addr 0x41100000 size 0x48
206sdmmc* at pxamci?
207ld* at sdmmc?				# MMC/SD/SDHC card
208
209# USB Controller and Devices
210wzero3usb* at pxaip?
211ohci0 at pxaip? addr 0x4c000000 intr 3	# USB Host Controller
212
213# USB bus support
214usb* at ohci?
215
216# USB Hubs
217uhub* at usb?
218uhub* at uhub? port ?
219
220# USB HID device
221uhidev* at uhub? port ? configuration ? interface ?
222
223# USB Mice
224ums* at uhidev? reportid ?
225wsmouse* at ums? mux 0
226
227# USB Keyboards
228ukbd* at uhidev? reportid ?
229wskbd* at ukbd? console ? mux 1
230
231# USB Generic HID devices
232uhid* at uhidev? reportid ?
233
234# USB Mass Storage
235umass* at uhub? port ? configuration ? interface ?
236wd* at umass?
237
238# USB audio
239uaudio* at uhub? port ? configuration ?
240audio*	at audiobus?
241
242# USB Ethernet adapters
243aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
244axe*	at uhub? port ?		# ASIX AX88172 based adapters
245cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
246cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
247kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
248udav*	at uhub? port ?	 	# Davicom DM9601 based adapters
249url*	at uhub? port ?		# Realtek RTL8150L based adapters
250
251acphy*	at mii? phy ?		# Altima AC101 and AMD Am79c874 PHYs
252rlphy*	at mii? phy ?		# Realtek 8139/8201L PHYs
253ukphy*  at mii? phy ?		# generic unknown PHYs
254urlphy* at mii? phy ?		# Realtek RTL8150L internal PHYs
255
256# USB 802.11 adapters
257atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
258#ral*	at uhub? port ?		# Ralink Technology RT25x0 802.11a/b/g
259rum*	at uhub? port ?		# Ralink Technology RT2501/RT2601 802.11a/b/g
260upgt*	at uhub? port ?		# Intersil PrismGT
261zyd*	at uhub? port ?		# Zydas ZD1211
262
263# ATAPI bus support
264atapibus* at atapi?
265
266# ATAPI devices
267# flags have the same meaning as for IDE drives.
268cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
269sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
270#st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
271uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
272
273# SCSI bus support
274scsibus* at scsi?
275
276# SCSI devices
277sd*	at scsibus? target ? lun ?	# SCSI disk drives
278cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
279uk*	at scsibus? target ? lun ?	# SCSI unknown
280
281# USB Generic driver
282ugen*	at uhub? port ?
283# On ugen bulk endpoints, perform read-ahead and write-behind.
284#options 	UGEN_BULK_RA_WB
285
286
287# Pseudo-devices
288pseudo-device	loop			# network loopback
289pseudo-device	bpfilter 		# packet filter
290pseudo-device	sl			# CSLIP
291pseudo-device	ppp			# PPP
292pseudo-device	tun			# network tunneling over tty
293#pseudo-device	gre			# generic L3 over IP tunnel
294#pseudo-device	ipfilter 		# ip filter
295#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
296#pseudo-device	faith			# IPv[46] tcp relay translation i/f
297#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
298#pseudo-device	strip			# STarmode Radio IP (Metricon Ricochet)
299
300#pseudo-device	vlan			# IEEE 802.1q encapsulation
301pseudo-device	pty			# pseudo-terminals
302pseudo-device	vnd			# disk-like interface to files
303#pseudo-device	ccd	2		# concatenated disk devices
304#pseudo-device	cgd	2		# cryptographic disk devices
305#pseudo-device	raid	4		# RAIDframe disk driver
306#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
307#pseudo-device	fss			# file system snapshot device
308
309pseudo-device	biconsdev 1		# build-in console device
310
311pseudo-device	md			# Ramdisk driver
312pseudo-device	clockctl		# user control of clock subsystem
313pseudo-device	ksyms			# /dev/ksyms
314#pseudo-device	bcsp			# BlueCore Serial Protocol
315#pseudo-device	btuart			# Bluetooth HCI UART (H4)
316
317# wscons pseudo-devices
318pseudo-device	wsmux			# mouse & keyboard multiplexor
319pseudo-device	wsfont
320