xref: /netbsd-src/sys/arch/evbarm/conf/NSLU2 (revision daf6c4152fcddc27c445489775ed1f66ab4ea9a9)
1#	$NetBSD: NSLU2,v 1.17 2010/11/23 11:13:56 hannken 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
49#file-system	UMAPFS		# NULLFS + uid and gid remapping
50#file-system	UNION		# union file system
51
52# File system options
53#options 	QUOTA		# UFS quotas
54#options 	FFS_EI		# FFS Endian Independant support
55#options 	NFSSERVER
56
57# Networking options
58
59#options 	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_DEBUG	# debug for IP security
65#options 	MROUTING	# IP multicast routing
66#options 	ISO,TPIP	# OSI
67#options 	EON		# OSI tunneling over IP
68#options 	NETATALK	# AppleTalk networking
69options 	PFIL_HOOKS	# pfil(9) packet filter hooks
70#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
71#options 	PPP_DEFLATE	# Deflate compression support for PPP
72#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
73#options 	IPFILTER_LOG	# ipmon(8) log support
74#options 	IPFILTER_LOOKUP	# ippool(8) support
75#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
76
77#options 	NFS_BOOT_BOOTP
78options 	NFS_BOOT_DHCP
79#options 	NFS_BOOT_BOOTPARAM
80
81# Compatibility options
82
83#options 	COMPAT_43	# 4.3BSD compatibility.
84options 	COMPAT_50	# NetBSD 5.0 compatibility.
85#options 	COMPAT_40	# NetBSD 4.0 compatibility.
86#options 	COMPAT_30	# NetBSD 3.0 compatibility.
87#options 	COMPAT_20	# NetBSD 2.0 compatibility.
88#options 	COMPAT_16	# NetBSD 1.5 compatibility.
89#options 	COMPAT_15	# NetBSD 1.6 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
101#options 	SYSVMSG		# System V-like message queues
102#options 	SYSVSEM		# System V-like semaphores
103#options 	SEMMNI=10	# number of semaphore identifiers
104#options 	SEMMNS=60	# number of semaphores in system
105#options 	SEMUME=10	# max number of undo entries per process
106#options 	SEMMNU=30	# number of undo structures in system
107#options 	SYSVSHM		# System V-like memory sharing
108
109# Device options
110
111#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
112#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
113#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
114
115# Console options.  The default console is speed is 115200 baud.
116options 	CONSPEED=115200		# Console speed
117options 	CONUNIT=0		# Console port number
118
119# Miscellaneous kernel options
120#options 	KTRACE		# system call tracing, a la ktrace(1)
121#options 	IRQSTATS	# manage IRQ statistics
122#options 	KMEMSTATS	# kernel memory statistics
123#options 	SCSIVERBOSE	# Verbose SCSI errors
124#options 	PCIVERBOSE	# Verbose PCI descriptions
125#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
126#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
127#options 	DDB_KEYCODE=0x40
128#options 	USERCONF	# userconf(4) support
129#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
130
131# Development and Debugging options
132
133#options 	PERFCTRS	# performance counters
134options 	DIAGNOSTIC	# internally consistency checks
135options 	DEBUG
136#options 	PMAP_DEBUG	# Enable pmap_debug_level code
137#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
138options 	DDB		# in-kernel debugger
139options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
140#makeoptions	DEBUG="-g"	# compile full symbol table
141options 	SYMTAB_SPACE=310000
142
143config		netbsd		root on ? type ?
144
145# The main bus device
146mainbus0	at root
147
148# The boot cpu
149cpu0		at mainbus?
150
151# IXP425 slow peripheral
152ixpsip0		at mainbus?
153
154#Timer
155ixpclk*		at ixpsip? addr 0xc8005000 size 0x30
156
157# On-board device support
158com0		at ixpsip? addr 0xc8000000 size 0x1000 index 0
159options 	COM_PXA2X0
160
161# Watchdog
162ixpdog0 	at ixpsip? addr 0xc8005014
163
164# I2C bus (using bit-banged GPIO pins)
165slugiic0	at ixpsip?
166iic0		at slugiic0
167xrtc0		at iic0 addr 0x6f
168
169# Power/Reset button support (via sysmon)
170slugbutt0 	at ixpsip?
171
172# Disk activity and ready/status LED support
173slugled0 	at ixpsip?
174
175# Buzzer support (not supported yet)
176#slugbuzz0 	at ixpsip?
177
178# IXP425 fast bus
179ixpio0		at mainbus?
180
181# PCI bus
182pci0		at ixpio? bus ?
183
184
185# IXP425 NPE Micro-engine support
186ixme0		at mainbus?		# Includes QMGR
187ixpnpe0 	at ixme0 npe 1		# NPE-B
188#ixpnpe1 	at ixme0 npe 2		# NPE-C (not used on NSLU2)
189
190# IXP425 NPE Ethernet on NPE-B
191npe0		at ixpnpe0 phy 1
192
193
194# USB devices
195ehci*	at pci? dev ? function ?
196ohci*	at pci? dev ? function ?
197usb*	at ehci?
198usb*	at ohci?
199uhub*	at usb?
200uhub*	at uhub? port ?
201
202# USB Mass Storage Devices
203umass*		at uhub? port ? configuration ? interface ?
204wd* 		at umass?
205scsibus*	at umass? channel ?
206sd*		at scsibus? target ? lun ?	# SCSI disk drives
207
208# USB Ethernet adapters
209aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
210axe*	at uhub? port ?		# ASIX AX88172 based adapters
211cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
212cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
213kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
214udav*	at uhub? port ?		# Davicom DM9601 based adapters
215url*	at uhub? port ?		# Realtek RTL8150L based adapters
216
217# MII/PHY support
218rlphy*	at mii? phy ?		# Realtek RTL8201
219ukphy*	at mii? phy ?		# Generic/Unknown PHY
220
221# USB 802.11 adapters
222atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
223ral*	at uhub? port ?		# Ralink Technology RT25x0 802.11a/b/g
224
225# USB Generic driver
226ugen*		at uhub? port ? configuration ? interface ?
227
228# Pseudo-Devices
229
230# disk/mass storage pseudo-devices
231#pseudo-device	md			# memory disk device (ramdisk)
232#pseudo-device	vnd		4	# disk-like interface to files
233
234# network pseudo-devices
235pseudo-device	bpfilter	4	# Berkeley packet filter
236#pseudo-device	ipfilter		# IP filter (firewall) and NAT
237pseudo-device	loop			# network loopback
238#pseudo-device	ppp		2	# Point-to-Point Protocol
239#pseudo-device	kttcp			# network loopback
240#pseudo-device	tun		2	# network tunneling over tty
241#pseudo-device	vlan
242#pseudo-device	bridge
243
244# miscellaneous pseudo-devices
245pseudo-device	pty			# pseudo-terminals
246pseudo-device	rnd			# /dev/random and in-kernel generator
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		# softare dmover(9) back-end
253#pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
254