NSLU2 revision 1.28
1#	$NetBSD: NSLU2,v 1.28 2012/10/14 13:54:39 msaitoh 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 	VNODE_OP_NOINLINE
13#options 	EVBARM_SPL_NOINLINE
14#makeoptions 	COPTS="-Os"
15
16# Standard system options
17
18options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
19options 	NTP		# NTP phase/frequency locked loop
20
21# CPU options
22
23# For XScale systems
24options 	CPU_XSCALE_IXP425	# Support the XScale core
25makeoptions	CPUFLAGS="-mcpu=xscale -mbig-endian"
26
27# Architecture options
28options 	XSCALE_CACHE_READ_WRITE_ALLOCATE
29#options 	HZ=512
30
31# Board Type
32makeoptions	BOARDTYPE="nslu2"
33options 	IXP425_CLOCK_FREQ=66000000
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	PROCFS		# /proc
49file-system 	PTYFS		# /dev/ptm support
50#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
51#file-system	UMAPFS		# NULLFS + uid and gid remapping
52#file-system	UNION		# union file system
53
54# File system options
55#options 	QUOTA		# legacy UFS quotas
56#options 	QUOTA2		# new, in-filesystem UFS quotas
57#options 	FFS_EI		# FFS Endian Independent support
58#options 	NFSSERVER
59
60# Networking options
61
62#options 	GATEWAY		# packet forwarding
63options 	INET		# IP + ICMP + TCP + UDP
64options 	INET6		# IPV6
65#options 	IPSEC		# IP security
66#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
67#options 	IPSEC_DEBUG	# debug for IP security
68#options 	MROUTING	# IP multicast routing
69#options 	ISO,TPIP	# OSI
70#options 	EON		# OSI tunneling over IP
71#options 	NETATALK	# AppleTalk networking
72options 	PFIL_HOOKS	# pfil(9) packet filter hooks
73#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
74#options 	PPP_DEFLATE	# Deflate compression support for PPP
75#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
76#options 	IPFILTER_LOG	# ipmon(8) log support
77#options 	IPFILTER_LOOKUP	# ippool(8) support
78#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
79
80#options 	NFS_BOOT_BOOTP
81options 	NFS_BOOT_DHCP
82#options 	NFS_BOOT_BOOTPARAM
83
84# Compatibility options
85
86#options 	COMPAT_43	# 4.3BSD compatibility.
87options 	COMPAT_50	# NetBSD 5.0 compatibility.
88#options 	COMPAT_40	# NetBSD 4.0 compatibility.
89#options 	COMPAT_30	# NetBSD 3.0 compatibility.
90#options 	COMPAT_20	# NetBSD 2.0 compatibility.
91#options 	COMPAT_16	# NetBSD 1.5 compatibility.
92#options 	COMPAT_15	# NetBSD 1.6 compatibility.
93#options 	COMPAT_14	# NetBSD 1.4 compatibility.
94#options 	COMPAT_13	# NetBSD 1.3 compatibility.
95#options 	COMPAT_12	# NetBSD 1.2 compatibility.
96#options 	COMPAT_11	# NetBSD 1.1 compatibility.
97#options 	COMPAT_10	# NetBSD 1.0 compatibility.
98#options 	COMPAT_09	# NetBSD 0.9 compatibility.
99#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
100options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
101
102# Shared memory options
103
104#options 	SYSVMSG		# System V-like message queues
105#options 	SYSVSEM		# System V-like semaphores
106#options 	SYSVSHM		# System V-like memory sharing
107
108# Device options
109
110#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
111#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
112#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
113
114# Console options.  The default console is speed is 115200 baud.
115options 	CONSPEED=115200		# Console speed
116options 	CONUNIT=0		# Console port number
117
118# Miscellaneous kernel options
119#options 	KTRACE		# system call tracing, a la ktrace(1)
120#options 	IRQSTATS	# manage IRQ statistics
121#options 	KMEMSTATS	# kernel memory statistics
122#options 	SCSIVERBOSE	# Verbose SCSI errors
123#options 	PCIVERBOSE	# Verbose PCI descriptions
124#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
125#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
126#options 	DDB_KEYCODE=0x40
127#options 	USERCONF	# userconf(4) support
128#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
129
130# Development and Debugging options
131
132#options 	PERFCTRS	# performance counters
133options 	DIAGNOSTIC	# internally consistency checks
134options 	DEBUG
135#options 	PMAP_DEBUG	# Enable pmap_debug_level code
136#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
137options 	DDB		# in-kernel debugger
138options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
139#makeoptions	DEBUG="-g"	# compile full symbol table
140options 	SYMTAB_SPACE=530000
141
142config		netbsd		root on ? type ?
143
144# The main bus device
145mainbus0	at root
146
147# The boot cpu
148cpu0		at mainbus?
149
150# IXP425 slow peripheral
151ixpsip0		at mainbus?
152
153#Timer
154ixpclk*		at ixpsip? addr 0xc8005000 size 0x30
155
156# On-board device support
157com0		at ixpsip? addr 0xc8000000 size 0x1000 index 0
158options 	COM_PXA2X0
159
160# Watchdog
161ixpdog0 	at ixpsip? addr 0xc8005014
162
163# I2C bus (using bit-banged GPIO pins)
164slugiic0	at ixpsip?
165iic0		at slugiic0
166xrtc0		at iic0 addr 0x6f
167
168# Power/Reset button support (via sysmon)
169slugbutt0 	at ixpsip?
170
171# Disk activity and ready/status LED support
172slugled0 	at ixpsip?
173
174# Buzzer support (not supported yet)
175#slugbuzz0 	at ixpsip?
176
177# IXP425 fast bus
178ixpio0		at mainbus?
179
180# PCI bus
181pci0		at ixpio? bus ?
182
183
184# IXP425 NPE Micro-engine support
185ixme0		at mainbus?		# Includes QMGR
186ixpnpe0 	at ixme0 npe 1		# NPE-B
187#ixpnpe1 	at ixme0 npe 2		# NPE-C (not used on NSLU2)
188
189# IXP425 NPE Ethernet on NPE-B
190npe0		at ixpnpe0 phy 1
191
192
193# USB devices
194ehci*	at pci? dev ? function ?
195ohci*	at pci? dev ? function ?
196usb*	at ehci?
197usb*	at ohci?
198uhub*	at usb?
199uhub*	at uhub? port ?
200
201# USB Mass Storage Devices
202umass*		at uhub? port ? configuration ? interface ?
203wd* 		at umass?
204scsibus*	at umass? channel ?
205sd*		at scsibus? target ? lun ?	# SCSI disk drives
206
207# USB Ethernet adapters
208aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
209axe*	at uhub? port ?		# ASIX AX88172 based adapters
210cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
211cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
212kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
213udav*	at uhub? port ?		# Davicom DM9601 based adapters
214url*	at uhub? port ?		# Realtek RTL8150L based adapters
215
216# MII/PHY support
217rlphy*	at mii? phy ?		# Realtek RTL8201
218ukphy*	at mii? phy ?		# Generic/Unknown PHY
219
220# USB 802.11 adapters
221atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
222ural*	at uhub? port ?		# Ralink Technology RT2500USB 802.11a/b/g
223
224# USB Generic driver
225ugen*		at uhub? port ? configuration ? interface ?
226
227# Pseudo-Devices
228
229# disk/mass storage pseudo-devices
230#pseudo-device	md			# memory disk device (ramdisk)
231#pseudo-device	vnd		4	# disk-like interface to files
232#pseudo-device	fss			# file system snapshot device
233#pseudo-device	putter			# for puffs and pud
234
235# network pseudo-devices
236pseudo-device	bpfilter	4	# Berkeley packet filter
237#pseudo-device	ipfilter		# IP filter (firewall) and NAT
238pseudo-device	loop			# network loopback
239#pseudo-device	ppp		2	# Point-to-Point Protocol
240#pseudo-device	kttcp			# network loopback
241#pseudo-device	tun		2	# network tunneling over tty
242#pseudo-device	vlan
243#pseudo-device	bridge
244
245# miscellaneous pseudo-devices
246pseudo-device	pty			# pseudo-terminals
247pseudo-device	clockctl		# user control of clock subsystem
248pseudo-device	ksyms			# /dev/ksyms
249#pseudo-device	crypto			# opencrypto framework
250
251# data mover pseudo-devices
252#pseudo-device	swdmover		# software dmover(9) back-end
253#pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
254