NSLU2 revision 1.1
1#	$NetBSD: NSLU2,v 1.1 2006/02/28 20:40:33 scw Exp $
2#
3#	Linksys NSLU2 "Slug" NAS Device
4#
5
6include	"arch/evbarm/conf/std.nslu2"
7
8# estimated number of users
9maxusers	8
10
11# Feeling bloated? These might help...
12#options 	MALLOC_NOINLINE
13#options 	VNODE_OP_NOINLINE
14#options 	EVBARM_SPL_NOINLINE
15#makeoptions 	COPTS="-Os"
16
17# Standard system options
18
19options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
20options 	NTP		# NTP phase/frequency locked loop
21
22# CPU options
23
24# For XScale systems
25options 	CPU_XSCALE_IXP425	# Support the XScale core
26makeoptions	CPUFLAGS="-mcpu=xscale -mbig-endian"
27
28# Architecture options
29options 	XSCALE_CACHE_READ_WRITE_ALLOCATE
30#options 	HZ=512
31
32# Board Type
33makeoptions	BOARDTYPE="nslu2"
34
35# File systems
36
37file-system	FFS		# UFS
38#file-system	LFS		# log-structured file system
39file-system	MFS		# memory file system
40file-system	NFS		# Network file system
41#file-system 	ADOSFS		# AmigaDOS-compatible file system
42#file-system 	EXT2FS		# second extended file system (linux)
43#file-system	CD9660		# ISO 9660 + Rock Ridge file system
44#file-system	MSDOSFS		# MS-DOS file system
45#file-system	FDESC		# /dev/fd
46#file-system	KERNFS		# /kern
47#file-system	NULLFS		# loopback file system
48#file-system	PORTAL		# portal filesystem (still experimental)
49#file-system	PROCFS		# /proc
50#file-system	UMAPFS		# NULLFS + uid and gid remapping
51#file-system	UNION		# union file system
52
53# File system options
54#options 	QUOTA		# UFS quotas
55#options 	FFS_EI		# FFS Endian Independant support
56#options 	NFSSERVER
57#options 	SOFTDEP
58
59# Networking options
60
61#options 	GATEWAY		# packet forwarding
62options 	INET		# IP + ICMP + TCP + UDP
63options 	INET6		# IPV6
64#options 	IPSEC		# IP security
65#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
66#options 	IPSEC_DEBUG	# debug for IP security
67#options 	MROUTING	# IP multicast routing
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
74options 	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)
78#options 	IPFILTER_LOG	# ipmon(8) log support
79#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
80
81#options 	NFS_BOOT_BOOTP
82options 	NFS_BOOT_DHCP
83#options 	NFS_BOOT_BOOTPARAM
84
85# Compatibility options
86
87#options 	COMPAT_43	# 4.3BSD compatibility.
88#options 	COMPAT_30	# NetBSD 3.0 compatibility.
89#options 	COMPAT_20	# NetBSD 2.0 compatibility.
90#options 	COMPAT_16	# NetBSD 1.5 compatibility.
91#options 	COMPAT_15	# NetBSD 1.6 compatibility.
92#options 	COMPAT_14	# NetBSD 1.4 compatibility.
93#options 	COMPAT_13	# NetBSD 1.3 compatibility.
94#options 	COMPAT_12	# NetBSD 1.2 compatibility.
95#options 	COMPAT_11	# NetBSD 1.1 compatibility.
96#options 	COMPAT_10	# NetBSD 1.0 compatibility.
97#options 	COMPAT_09	# NetBSD 0.9 compatibility.
98#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
99options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
100
101# Shared memory options
102
103#options 	SYSVMSG		# System V-like message queues
104#options 	SYSVSEM		# System V-like semaphores
105#options 	SEMMNI=10	# number of semaphore identifiers
106#options 	SEMMNS=60	# number of semaphores in system
107#options 	SEMUME=10	# max number of undo entries per process
108#options 	SEMMNU=30	# number of undo structures in system
109#options 	SYSVSHM		# System V-like memory sharing
110#options 	SHMMAXPGS=1024	# 1024 pages is the default
111
112# Device options
113
114#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
115#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
116#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
117
118# Console options.  The default console is speed is 115200 baud.
119options 	CONSPEED=115200		# Console speed
120options 	CONUNIT=0		# Console port number
121
122# Miscellaneous kernel options
123#options 	KTRACE		# system call tracing, a la ktrace(1)
124#options 	IRQSTATS	# manage IRQ statistics
125#options 	LKM		# loadable kernel modules
126#options 	KMEMSTATS	# kernel memory statistics
127#options 	SCSIVERBOSE	# Verbose SCSI errors
128#options 	PCIVERBOSE	# Verbose PCI descriptions
129#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
130#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
131#options 	DDB_KEYCODE=0x40
132#options 	USERCONF	# userconf(4) support
133#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
134
135# Development and Debugging options
136
137#options 	PERFCTRS	# performance counters
138options 	DIAGNOSTIC	# internally consistency checks
139options 	DEBUG
140#options 	PMAP_DEBUG	# Enable pmap_debug_level code
141#options 	IPKDB		# remote kernel debugging
142#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
143options 	DDB		# in-kernel debugger
144options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
145#makeoptions	DEBUG="-g"	# compile full symbol table
146options 	SYMTAB_SPACE=260000
147
148config		netbsd		root on ? type ?
149
150# The main bus device
151mainbus0	at root
152
153# The boot cpu
154cpu0		at mainbus?
155
156# IXP425 slow peripheral
157ixpsip0		at mainbus?
158
159#Timer
160ixpclk*		at ixpsip? addr 0xc8005000 size 0x30
161
162# On-board device support
163com0		at ixpsip? addr 0xc8000000 size 0x1000 index 0
164options 	COM_PXA2X0
165
166# I2C bus (using bit-banged GPIO pins)
167slugiic0	at ixpsip?
168iic0		at slugiic0
169xrtc0		at iic0 addr 0x6f
170
171# Power/Reset button support (via sysmon)
172slugbutt0 	at ixpsip?
173
174# Disk activity and ready/status LED support
175slugled0 	at ixpsip?
176
177# Buzzer support (not supported yet)
178#slugbuzz0 	at ixpsip?
179
180# IXP425 fast bus
181ixpio0		at mainbus?
182
183# PCI bus
184pci0		at ixpio? bus ?
185
186# USB devices
187ehci*	at pci? dev ? function ?
188ohci*	at pci? dev ? function ?
189usb*	at ehci?
190usb*	at ohci?
191uhub*	at usb?
192uhub*	at uhub? port ? configuration ? interface ?
193
194# USB Mass Storage Devices
195umass*		at uhub? port ? configuration ? interface ?
196wd* 		at umass?
197scsibus*	at umass? channel ?
198sd*		at scsibus? target ? lun ?	# SCSI disk drives
199
200# USB Ethernet adapters
201aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
202axe*	at uhub? port ?		# ASIX AX88172 based adapters
203cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
204cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
205kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
206udav*	at uhub? port ?		# Davicom DM9601 based adapters
207url*	at uhub? port ?		# Realtek RTL8150L based adapters
208
209# MII/PHY support
210ukphy*	at mii? phy ?			# Generic/Unknown PHY
211
212# USB 802.11 adapters
213atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
214ral*	at uhub? port ?		# Ralink Technology RT25x0 802.11a/b/g
215
216# USB Generic driver
217ugen*		at uhub? port ? configuration ? interface ?
218
219# Pseudo-Devices
220
221# disk/mass storage pseudo-devices
222#pseudo-device	md		1	# memory disk device (ramdisk)
223#pseudo-device	vnd		4	# disk-like interface to files
224
225# network pseudo-devices
226pseudo-device	bpfilter	4	# Berkeley packet filter
227#pseudo-device	ipfilter		# IP filter (firewall) and NAT
228pseudo-device	loop			# network loopback
229#pseudo-device	ppp		2	# Point-to-Point Protocol
230#pseudo-device	kttcp			# network loopback
231#pseudo-device	tun		2	# network tunneling over tty
232#pseudo-device	vlan
233#pseudo-device	bridge
234
235# miscellaneous pseudo-devices
236pseudo-device	pty			# pseudo-terminals
237pseudo-device	rnd			# /dev/random and in-kernel generator
238pseudo-device	clockctl		# user control of clock subsystem
239pseudo-device	ksyms			# /dev/ksyms
240#pseudo-device	crypto			# opencrypto framework
241
242# data mover pseudo-devices
243#pseudo-device	swdmover		# softare dmover(9) back-end
244#pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
245