NETBOOKPRO revision 1.4
1#	$NetBSD: NETBOOKPRO,v 1.4 2012/03/10 21:51:52 joerg Exp $
2#
3#	NETBOOKPRO -- Psion Teklogix NETBOOK PRO
4#
5
6include	"arch/hpcarm/conf/std.pxa2x0"
7include	"arch/hpcarm/conf/files.netbookpro"
8
9#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
10
11#ident 		"GENERIC-$Revision: 1.4 $"
12
13# estimated number of users
14maxusers	32
15
16# Standard system options
17
18#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
19				# (default timezone is passed from hpcboot)
20#options 	NTP		# NTP phase/frequency locked loop
21
22# CPU options
23
24# For XScale systems
25options 	CPU_XSCALE_PXA250	# Support the XScale PXA255 core
26makeoptions 	CPUFLAGS="-mcpu=xscale"
27
28# Architecture options
29options 	XSCALE_CACHE_READ_WRITE_ALLOCATE
30options 	PXAGPIO_HAS_GPION_INTRS
31
32# File systems
33
34file-system	FFS		# UFS
35#file-system	LFS		# log-structured file system
36file-system	MFS		# memory file system
37file-system	NFS		# Network file system
38#file-system 	ADOSFS		# AmigaDOS-compatible file system
39file-system 	EXT2FS		# second extended file system (linux)
40file-system	CD9660		# ISO 9660 + Rock Ridge file system
41file-system	MSDOSFS		# MS-DOS file system
42file-system	FDESC		# /dev/fd
43file-system	KERNFS		# /kern
44file-system	NULLFS		# loopback file system
45#file-system 	OVERLAY		# overlay filesystem
46file-system	PROCFS		# /proc
47#file-system	UMAPFS		# NULLFS + uid and gid remapping
48file-system	UNION		# union file system
49file-system	PTYFS		# /dev/pts/N support
50file-system	TMPFS		# Efficient memory file-system
51#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
52
53# File system options
54#options 	QUOTA		# legacy UFS quotas
55#options 	QUOTA2		# new, in-filesystem UFS quotas
56options 	FFS_EI		# FFS Endian Independant support
57#options 	WAPBL		# File system journaling support
58#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
59#options 	NFSSERVER
60
61# Networking options
62
63#options 	GATEWAY		# packet forwarding
64options 	INET		# IP + ICMP + TCP + UDP
65options 	INET6		# IPV6
66#options 	IPSEC		# IP security
67#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
68#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
69#options 	IPSEC_DEBUG	# debug for IP security
70#options 	MROUTING	# IP multicast routing
71#options 	PIM		# Protocol Independent Multicast
72#options 	ISO,TPIP	# OSI
73#options 	EON		# OSI tunneling over IP
74#options 	NETATALK	# AppleTalk networking
75#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
76#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
77#options 	PPP_DEFLATE	# Deflate compression support for PPP
78#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
79#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
80
81# Compatibility options
82
83#options 	COMPAT_43	# 4.3BSD compatibility.
84options 	COMPAT_50	# NetBSD 5.0 compatibility.
85options 	COMPAT_40	# NetBSD 4.0 compatibility.
86options 	COMPAT_30	# NetBSD 3.0 compatibility.
87options 	COMPAT_20	# NetBSD 2.0 compatibility.
88options 	COMPAT_16	# NetBSD 1.6 compatibility.
89#options 	COMPAT_15	# NetBSD 1.5 compatibility.
90#options 	COMPAT_14	# NetBSD 1.4 compatibility.
91#options 	COMPAT_13	# NetBSD 1.3 compatibility.
92#options 	COMPAT_12	# NetBSD 1.2 compatibility.
93#options 	COMPAT_11	# NetBSD 1.1 compatibility.
94#options 	COMPAT_10	# NetBSD 1.0 compatibility.
95#options 	COMPAT_09	# NetBSD 0.9 compatibility.
96#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
97options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
98
99# Shared memory options
100
101options 	SYSVMSG		# System V-like message queues
102options 	SYSVSEM		# System V-like semaphores
103options 	SYSVSHM		# System V-like memory sharing
104
105# Miscellaneous kernel options
106options 	KTRACE		# system call tracing, a la ktrace(1)
107#options 	IRQSTATS	# manage IRQ statistics
108#options 	KMEMSTATS	# kernel memory statistics
109#options 	SCSIVERBOSE	# Verbose SCSI errors
110options 	USERCONF	# userconf(4) support
111#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
112#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
113options 	NFS_BOOT_DHCP
114
115#
116# wscons options
117#
118# builtin terminal emulations
119options 	WSEMUL_VT100
120# allocate a number of virtual screens at autoconfiguration time
121#options 	WSDISPLAY_DEFAULTSCREENS=2
122# The X server requires theses two options
123options 	WSDISPLAY_COMPAT_USL
124options 	WSDISPLAY_COMPAT_RAWKBD
125# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
126#options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
127#options 	WS_DEFAULT_FG=WSCOL_WHITE
128#options 	WS_DEFAULT_BG=WSCOL_BLACK
129#options 	WS_DEFAULT_COLATTR="(0)"
130#options 	WS_DEFAULT_MONOATTR="(0)"
131options 	WS_KERNEL_FG=WSCOL_GREEN
132#options 	WS_KERNEL_BG=WSCOL_BLACK
133#options 	WS_KERNEL_COLATTR=""
134#options 	WS_KERNEL_MONOATTR=""
135
136options 	FONT_VT220L8x16
137
138# Development and Debugging options
139
140#options 	VERBOSE_INIT_ARM
141#options 	BOOT_DUMP	# Enable memorydump at boot
142options 	DIAGNOSTIC	# internal consistency checks
143#options 	DEBUG		# expensive debugging checks/support
144#options 	PMAP_DEBUG	# Enable pmap_debug_level code
145options 	DDB		# in-kernel debugger
146#options 	DDB_HISTORY_SIZE=512	# Enable history editing in DDB
147#makeoptions	DEBUG="-g"	# compile full symbol table
148
149config		netbsd	root on ? type ?
150
151# The main bus device
152mainbus0 at root
153
154# The boot CPU
155cpu0	at mainbus?
156
157# integrated peripherals
158pxaip0	at mainbus?
159
160pxaintc0 at pxaip? addr 0x40d00000	# interrupt controller
161pxagpio0 at pxaip? addr 0x40e00000	# GPIO
162
163# DMAC support
164pxadmac0 at pxaip? addr 0x40000000 intr 25
165options 	PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
166#options 	PXA2X0_DMAC_FIXED_PRIORITY	# Don't want multiple priority
167
168# Serial
169# integrated 16550 UARTs
170options 	COM_PXA2X0
171com0	at pxaip? addr 0x40100000 intr 22	# Full Function UART
172#com1	at pxaip? addr 0x40700000 intr 20	# Standard UART (IrDA)
173#com2	at pxaip? addr 0x40200000 intr 21	# Bluetooth UART
174#com3	at pxaip? addr 0x41600000 intr 7	# Hardware UART
175#options 	CONSPEED=115200
176
177# OS Timer
178saost*	at pxaip? addr 0x40a00000 size 0x20
179
180# AC97 Audio support
181pxaacu0 at pxaip? addr 0x40500000 intr 14	# Wolfson WM97xx
182
183# Audio support
184audio*	at audiobus?
185
186# Inter-Integrated Circuit controller
187nbpiic0	at pxaip? addr 0x40300000 intr 18
188iic*	at nbpiic?
189
190nbppcon* at iic? addr 0x13			# PCon
191r2025rtc* at iic? addr 0x32			# R2025S RTC
192seeprom* at iic? addr 0x53 size 128
193
194nbppm* at nbppcon? tag 0x05
195hpcapm* at nbppm?
196apmdev0 at hpcapm?
197
198nbpkbd* at nbppcon? tag 0x00
199hpckbd*	at nbpkbd?
200wskbd0 at hpckbd? mux 1
201
202# integrated MMC/SD contoller
203pxamci0 at pxaip? addr 0x41100000
204sdmmc*	at pxamci?
205ld*	at sdmmc?				# MMC/SD/SDHC card
206
207# integrated PCMCIA/CF controller
208pxapcic0 at pxaip? addr 0x20000000
209pcmcia*	at pxapcic?
210
211# PCMCIA IDE controllers
212wdc*	at pcmcia? function ?
213
214# ATA (IDE) bus support
215atabus* at ata?
216#options 	ATADEBUG
217
218# IDE drives
219# Flags are used only with controllers that support DMA operations
220# and mode settings (e.g. some pciide controllers)
221# The lowest order four bits (rightmost digit) of the flags define the PIO
222# mode to use, the next set of four bits the DMA mode and the third set the
223# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
224# to use, and the last bit must be 1 for this setting to be used.
225# For DMA and UDMA, 0xf (1111) means 'disable'.
226# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
227# (0xc=1100, 0xa=1010, 0xf=1111)
228# 0x0000 means "use whatever the drive claims to support".
229wd*	at atabus? drive ? flags 0x0000
230
231btbc*	at pcmcia? function ?		# AnyCom BlueCard LSE041/039/139
232com*	at pcmcia? function ?		# Modems and serial cards
233ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
234#malo*	at pcmcia? function ?		# Marvell 88W8385
235mbe*	at pcmcia? function ?		# MB8696x based Ethernet
236ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
237wi*	at pcmcia? function ?		# Lucent/Intersil WaveLAN/IEEE (802.11)
238
239ukphy*  at mii? phy ?			# generic unknown PHYs
240
241# Physical console
242epsonlcd* at pxaip? addr 0x14000000	# Epson S1D13806
243hpcfb*	at epsonlcd?
244wsdisplay* at hpcfb?
245
246# Onboard USB Controller and Devices
247slhci*	at pxaip? addr 0x10000000	# ScanLogic SL811HS
248
249# USB bus support
250usb*	at slhci?
251
252# SCSI bus support
253scsibus* at scsi?
254
255# SCSI devices
256sd*	at scsibus? target ? lun ?	# SCSI disk drives
257cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
258uk*	at scsibus? target ? lun ?	# SCSI unknown
259
260# USB Hubs
261uhub* at usb?
262uhub* at uhub? port ?
263
264# USB HID device
265uhidev* at uhub? port ? configuration ? interface ?
266
267# USB Mice
268ums*	at uhidev? reportid ?
269wsmouse* at ums? mux 0
270
271# USB Keyboards
272ukbd*	at uhidev? reportid ?
273wskbd*	at ukbd? console ? mux 1
274
275# USB Mass Storage
276umass* at uhub? port ? configuration ? interface ?
277wd*	at umass?
278
279# Bluetooth USB Controllers
280ubt*	at uhub? port ?
281
282# USB Generic driver
283ugen*	at uhub? port ?
284# On ugen bulk endpoints, perform read-ahead and write-behind.
285options 	UGEN_BULK_RA_WB
286
287# Bluetooth Device Hub
288bthub* at bcsp?
289bthub* at btbc?
290bthub* at btuart?
291bthub* at ubt?
292
293
294# Pseudo-devices
295pseudo-device	loop			# network loopback
296pseudo-device	bpfilter 		# packet filter
297#pseudo-device	sl			# SLIP
298pseudo-device	ppp			# PPP
299pseudo-device	tun			# network tunneling over tty
300#pseudo-device	gre			# generic L3 over IP tunnel
301#pseudo-device	ipfilter 		# ip filter
302#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
303#pseudo-device	faith			# IPv[46] tcp relay translation i/f
304#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
305#pseudo-device	strip			# STarmode Radio IP (Metricon Ricochet)
306
307#pseudo-device	vlan			# IEEE 802.1q encapsulation
308pseudo-device	pty			# pseudo-terminals
309pseudo-device	vnd			# disk-like interface to files
310#pseudo-device	ccd	2		# concatenated disk devices
311#pseudo-device	cgd	2		# cryptographic disk devices
312#pseudo-device	raid	4		# RAIDframe disk driver
313#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
314#pseudo-device	fss			# file system snapshot device
315
316pseudo-device	biconsdev 1		# build-in console device
317
318pseudo-device	md			# Ramdisk driver
319pseudo-device	clockctl		# user control of clock subsystem
320pseudo-device	ksyms			# /dev/ksyms
321pseudo-device	bcsp			# BlueCore Serial Protocol
322pseudo-device	btuart			# Bluetooth HCI UART (H4)
323
324# wscons pseudo-devices
325pseudo-device	wsmux			# mouse & keyboard multiplexor
326pseudo-device	wsfont
327