NSLU2 revision 1.1
11.1Sscw#	$NetBSD: NSLU2,v 1.1 2006/02/28 20:40:33 scw Exp $
21.1Sscw#
31.1Sscw#	Linksys NSLU2 "Slug" NAS Device
41.1Sscw#
51.1Sscw
61.1Sscwinclude	"arch/evbarm/conf/std.nslu2"
71.1Sscw
81.1Sscw# estimated number of users
91.1Sscwmaxusers	8
101.1Sscw
111.1Sscw# Feeling bloated? These might help...
121.1Sscw#options 	MALLOC_NOINLINE
131.1Sscw#options 	VNODE_OP_NOINLINE
141.1Sscw#options 	EVBARM_SPL_NOINLINE
151.1Sscw#makeoptions 	COPTS="-Os"
161.1Sscw
171.1Sscw# Standard system options
181.1Sscw
191.1Sscwoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
201.1Sscwoptions 	NTP		# NTP phase/frequency locked loop
211.1Sscw
221.1Sscw# CPU options
231.1Sscw
241.1Sscw# For XScale systems
251.1Sscwoptions 	CPU_XSCALE_IXP425	# Support the XScale core
261.1Sscwmakeoptions	CPUFLAGS="-mcpu=xscale -mbig-endian"
271.1Sscw
281.1Sscw# Architecture options
291.1Sscwoptions 	XSCALE_CACHE_READ_WRITE_ALLOCATE
301.1Sscw#options 	HZ=512
311.1Sscw
321.1Sscw# Board Type
331.1Sscwmakeoptions	BOARDTYPE="nslu2"
341.1Sscw
351.1Sscw# File systems
361.1Sscw
371.1Sscwfile-system	FFS		# UFS
381.1Sscw#file-system	LFS		# log-structured file system
391.1Sscwfile-system	MFS		# memory file system
401.1Sscwfile-system	NFS		# Network file system
411.1Sscw#file-system 	ADOSFS		# AmigaDOS-compatible file system
421.1Sscw#file-system 	EXT2FS		# second extended file system (linux)
431.1Sscw#file-system	CD9660		# ISO 9660 + Rock Ridge file system
441.1Sscw#file-system	MSDOSFS		# MS-DOS file system
451.1Sscw#file-system	FDESC		# /dev/fd
461.1Sscw#file-system	KERNFS		# /kern
471.1Sscw#file-system	NULLFS		# loopback file system
481.1Sscw#file-system	PORTAL		# portal filesystem (still experimental)
491.1Sscw#file-system	PROCFS		# /proc
501.1Sscw#file-system	UMAPFS		# NULLFS + uid and gid remapping
511.1Sscw#file-system	UNION		# union file system
521.1Sscw
531.1Sscw# File system options
541.1Sscw#options 	QUOTA		# UFS quotas
551.1Sscw#options 	FFS_EI		# FFS Endian Independant support
561.1Sscw#options 	NFSSERVER
571.1Sscw#options 	SOFTDEP
581.1Sscw
591.1Sscw# Networking options
601.1Sscw
611.1Sscw#options 	GATEWAY		# packet forwarding
621.1Sscwoptions 	INET		# IP + ICMP + TCP + UDP
631.1Sscwoptions 	INET6		# IPV6
641.1Sscw#options 	IPSEC		# IP security
651.1Sscw#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
661.1Sscw#options 	IPSEC_DEBUG	# debug for IP security
671.1Sscw#options 	MROUTING	# IP multicast routing
681.1Sscw#options 	NS		# XNS
691.1Sscw#options 	NSIP		# XNS tunneling over IP
701.1Sscw#options 	ISO,TPIP	# OSI
711.1Sscw#options 	EON		# OSI tunneling over IP
721.1Sscw#options 	CCITT,LLC,HDLC	# X.25
731.1Sscw#options 	NETATALK	# AppleTalk networking
741.1Sscwoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
751.1Sscw#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
761.1Sscw#options 	PPP_DEFLATE	# Deflate compression support for PPP
771.1Sscw#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
781.1Sscw#options 	IPFILTER_LOG	# ipmon(8) log support
791.1Sscw#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
801.1Sscw
811.1Sscw#options 	NFS_BOOT_BOOTP
821.1Sscwoptions 	NFS_BOOT_DHCP
831.1Sscw#options 	NFS_BOOT_BOOTPARAM
841.1Sscw
851.1Sscw# Compatibility options
861.1Sscw
871.1Sscw#options 	COMPAT_43	# 4.3BSD compatibility.
881.1Sscw#options 	COMPAT_30	# NetBSD 3.0 compatibility.
891.1Sscw#options 	COMPAT_20	# NetBSD 2.0 compatibility.
901.1Sscw#options 	COMPAT_16	# NetBSD 1.5 compatibility.
911.1Sscw#options 	COMPAT_15	# NetBSD 1.6 compatibility.
921.1Sscw#options 	COMPAT_14	# NetBSD 1.4 compatibility.
931.1Sscw#options 	COMPAT_13	# NetBSD 1.3 compatibility.
941.1Sscw#options 	COMPAT_12	# NetBSD 1.2 compatibility.
951.1Sscw#options 	COMPAT_11	# NetBSD 1.1 compatibility.
961.1Sscw#options 	COMPAT_10	# NetBSD 1.0 compatibility.
971.1Sscw#options 	COMPAT_09	# NetBSD 0.9 compatibility.
981.1Sscw#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
991.1Sscwoptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1001.1Sscw
1011.1Sscw# Shared memory options
1021.1Sscw
1031.1Sscw#options 	SYSVMSG		# System V-like message queues
1041.1Sscw#options 	SYSVSEM		# System V-like semaphores
1051.1Sscw#options 	SEMMNI=10	# number of semaphore identifiers
1061.1Sscw#options 	SEMMNS=60	# number of semaphores in system
1071.1Sscw#options 	SEMUME=10	# max number of undo entries per process
1081.1Sscw#options 	SEMMNU=30	# number of undo structures in system
1091.1Sscw#options 	SYSVSHM		# System V-like memory sharing
1101.1Sscw#options 	SHMMAXPGS=1024	# 1024 pages is the default
1111.1Sscw
1121.1Sscw# Device options
1131.1Sscw
1141.1Sscw#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1151.1Sscw#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
1161.1Sscw#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1171.1Sscw
1181.1Sscw# Console options.  The default console is speed is 115200 baud.
1191.1Sscwoptions 	CONSPEED=115200		# Console speed
1201.1Sscwoptions 	CONUNIT=0		# Console port number
1211.1Sscw
1221.1Sscw# Miscellaneous kernel options
1231.1Sscw#options 	KTRACE		# system call tracing, a la ktrace(1)
1241.1Sscw#options 	IRQSTATS	# manage IRQ statistics
1251.1Sscw#options 	LKM		# loadable kernel modules
1261.1Sscw#options 	KMEMSTATS	# kernel memory statistics
1271.1Sscw#options 	SCSIVERBOSE	# Verbose SCSI errors
1281.1Sscw#options 	PCIVERBOSE	# Verbose PCI descriptions
1291.1Sscw#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
1301.1Sscw#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1311.1Sscw#options 	DDB_KEYCODE=0x40
1321.1Sscw#options 	USERCONF	# userconf(4) support
1331.1Sscw#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1341.1Sscw
1351.1Sscw# Development and Debugging options
1361.1Sscw
1371.1Sscw#options 	PERFCTRS	# performance counters
1381.1Sscwoptions 	DIAGNOSTIC	# internally consistency checks
1391.1Sscwoptions 	DEBUG
1401.1Sscw#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1411.1Sscw#options 	IPKDB		# remote kernel debugging
1421.1Sscw#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
1431.1Sscwoptions 	DDB		# in-kernel debugger
1441.1Sscwoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1451.1Sscw#makeoptions	DEBUG="-g"	# compile full symbol table
1461.1Sscwoptions 	SYMTAB_SPACE=260000
1471.1Sscw
1481.1Sscwconfig		netbsd		root on ? type ?
1491.1Sscw
1501.1Sscw# The main bus device
1511.1Sscwmainbus0	at root
1521.1Sscw
1531.1Sscw# The boot cpu
1541.1Sscwcpu0		at mainbus?
1551.1Sscw
1561.1Sscw# IXP425 slow peripheral
1571.1Sscwixpsip0		at mainbus?
1581.1Sscw
1591.1Sscw#Timer
1601.1Sscwixpclk*		at ixpsip? addr 0xc8005000 size 0x30
1611.1Sscw
1621.1Sscw# On-board device support
1631.1Sscwcom0		at ixpsip? addr 0xc8000000 size 0x1000 index 0
1641.1Sscwoptions 	COM_PXA2X0
1651.1Sscw
1661.1Sscw# I2C bus (using bit-banged GPIO pins)
1671.1Sscwslugiic0	at ixpsip?
1681.1Sscwiic0		at slugiic0
1691.1Sscwxrtc0		at iic0 addr 0x6f
1701.1Sscw
1711.1Sscw# Power/Reset button support (via sysmon)
1721.1Sscwslugbutt0 	at ixpsip?
1731.1Sscw
1741.1Sscw# Disk activity and ready/status LED support
1751.1Sscwslugled0 	at ixpsip?
1761.1Sscw
1771.1Sscw# Buzzer support (not supported yet)
1781.1Sscw#slugbuzz0 	at ixpsip?
1791.1Sscw
1801.1Sscw# IXP425 fast bus
1811.1Sscwixpio0		at mainbus?
1821.1Sscw
1831.1Sscw# PCI bus
1841.1Sscwpci0		at ixpio? bus ?
1851.1Sscw
1861.1Sscw# USB devices
1871.1Sscwehci*	at pci? dev ? function ?
1881.1Sscwohci*	at pci? dev ? function ?
1891.1Sscwusb*	at ehci?
1901.1Sscwusb*	at ohci?
1911.1Sscwuhub*	at usb?
1921.1Sscwuhub*	at uhub? port ? configuration ? interface ?
1931.1Sscw
1941.1Sscw# USB Mass Storage Devices
1951.1Sscwumass*		at uhub? port ? configuration ? interface ?
1961.1Sscwwd* 		at umass?
1971.1Sscwscsibus*	at umass? channel ?
1981.1Sscwsd*		at scsibus? target ? lun ?	# SCSI disk drives
1991.1Sscw
2001.1Sscw# USB Ethernet adapters
2011.1Sscwaue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
2021.1Sscwaxe*	at uhub? port ?		# ASIX AX88172 based adapters
2031.1Sscwcdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
2041.1Sscwcue*	at uhub? port ?		# CATC USB-EL1201A based adapters
2051.1Sscwkue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
2061.1Sscwudav*	at uhub? port ?		# Davicom DM9601 based adapters
2071.1Sscwurl*	at uhub? port ?		# Realtek RTL8150L based adapters
2081.1Sscw
2091.1Sscw# MII/PHY support
2101.1Sscwukphy*	at mii? phy ?			# Generic/Unknown PHY
2111.1Sscw
2121.1Sscw# USB 802.11 adapters
2131.1Sscwatu*	at uhub? port ?		# Atmel AT76C50XX based adapters
2141.1Sscwral*	at uhub? port ?		# Ralink Technology RT25x0 802.11a/b/g
2151.1Sscw
2161.1Sscw# USB Generic driver
2171.1Sscwugen*		at uhub? port ? configuration ? interface ?
2181.1Sscw
2191.1Sscw# Pseudo-Devices
2201.1Sscw
2211.1Sscw# disk/mass storage pseudo-devices
2221.1Sscw#pseudo-device	md		1	# memory disk device (ramdisk)
2231.1Sscw#pseudo-device	vnd		4	# disk-like interface to files
2241.1Sscw
2251.1Sscw# network pseudo-devices
2261.1Sscwpseudo-device	bpfilter	4	# Berkeley packet filter
2271.1Sscw#pseudo-device	ipfilter		# IP filter (firewall) and NAT
2281.1Sscwpseudo-device	loop			# network loopback
2291.1Sscw#pseudo-device	ppp		2	# Point-to-Point Protocol
2301.1Sscw#pseudo-device	kttcp			# network loopback
2311.1Sscw#pseudo-device	tun		2	# network tunneling over tty
2321.1Sscw#pseudo-device	vlan
2331.1Sscw#pseudo-device	bridge
2341.1Sscw
2351.1Sscw# miscellaneous pseudo-devices
2361.1Sscwpseudo-device	pty			# pseudo-terminals
2371.1Sscwpseudo-device	rnd			# /dev/random and in-kernel generator
2381.1Sscwpseudo-device	clockctl		# user control of clock subsystem
2391.1Sscwpseudo-device	ksyms			# /dev/ksyms
2401.1Sscw#pseudo-device	crypto			# opencrypto framework
2411.1Sscw
2421.1Sscw# data mover pseudo-devices
2431.1Sscw#pseudo-device	swdmover		# softare dmover(9) back-end
2441.1Sscw#pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
245