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