Home | History | Annotate | Line # | Download | only in conf
NSLU2 revision 1.3.2.1
      1 #	$NetBSD: NSLU2,v 1.3.2.1 2006/11/18 21:29:10 ad 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 	VNODE_OP_NOINLINE
     13 #options 	EVBARM_SPL_NOINLINE
     14 #makeoptions 	COPTS="-Os"
     15 
     16 # Standard system options
     17 
     18 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     19 options 	NTP		# NTP phase/frequency locked loop
     20 
     21 # CPU options
     22 
     23 # For XScale systems
     24 options 	CPU_XSCALE_IXP425	# Support the XScale core
     25 makeoptions	CPUFLAGS="-mcpu=xscale -mbig-endian"
     26 
     27 # Architecture options
     28 options 	XSCALE_CACHE_READ_WRITE_ALLOCATE
     29 #options 	HZ=512
     30 
     31 # Board Type
     32 makeoptions	BOARDTYPE="nslu2"
     33 options 	IXP425_CLOCK_FREQ=66000000
     34 
     35 # File systems
     36 
     37 file-system	FFS		# UFS
     38 #file-system	LFS		# log-structured file system
     39 file-system	MFS		# memory file system
     40 file-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
     62 options 	INET		# IP + ICMP + TCP + UDP
     63 options 	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 	ISO,TPIP	# OSI
     69 #options 	EON		# OSI tunneling over IP
     70 #options 	NETATALK	# AppleTalk networking
     71 options 	PFIL_HOOKS	# pfil(9) packet filter hooks
     72 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     73 #options 	PPP_DEFLATE	# Deflate compression support for PPP
     74 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     75 #options 	IPFILTER_LOG	# ipmon(8) log support
     76 #options 	IPFILTER_LOOKUP	# ippool(8) support
     77 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     78 
     79 #options 	NFS_BOOT_BOOTP
     80 options 	NFS_BOOT_DHCP
     81 #options 	NFS_BOOT_BOOTPARAM
     82 
     83 # Compatibility options
     84 
     85 #options 	COMPAT_43	# 4.3BSD 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.
     97 options 	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 #options 	SHMMAXPGS=1024	# 1024 pages is the default
    109 
    110 # Device options
    111 
    112 #options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
    113 #options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
    114 #options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
    115 
    116 # Console options.  The default console is speed is 115200 baud.
    117 options 	CONSPEED=115200		# Console speed
    118 options 	CONUNIT=0		# Console port number
    119 
    120 # Miscellaneous kernel options
    121 #options 	KTRACE		# system call tracing, a la ktrace(1)
    122 #options 	IRQSTATS	# manage IRQ statistics
    123 #options 	LKM		# loadable kernel modules
    124 #options 	KMEMSTATS	# kernel memory statistics
    125 #options 	SCSIVERBOSE	# Verbose SCSI errors
    126 #options 	PCIVERBOSE	# Verbose PCI descriptions
    127 #options 	MIIVERBOSE	# Verbose MII autoconfuration messages
    128 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    129 #options 	DDB_KEYCODE=0x40
    130 #options 	USERCONF	# userconf(4) support
    131 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    132 
    133 # Development and Debugging options
    134 
    135 #options 	PERFCTRS	# performance counters
    136 options 	DIAGNOSTIC	# internally consistency checks
    137 options 	DEBUG
    138 #options 	PMAP_DEBUG	# Enable pmap_debug_level code
    139 #options 	IPKDB		# remote kernel debugging
    140 #options 	VERBOSE_INIT_ARM # verbose bootstraping messages
    141 options 	DDB		# in-kernel debugger
    142 options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
    143 #makeoptions	DEBUG="-g"	# compile full symbol table
    144 options 	SYMTAB_SPACE=260000
    145 
    146 config		netbsd		root on ? type ?
    147 
    148 # The main bus device
    149 mainbus0	at root
    150 
    151 # The boot cpu
    152 cpu0		at mainbus?
    153 
    154 # IXP425 slow peripheral
    155 ixpsip0		at mainbus?
    156 
    157 #Timer
    158 ixpclk*		at ixpsip? addr 0xc8005000 size 0x30
    159 
    160 # On-board device support
    161 com0		at ixpsip? addr 0xc8000000 size 0x1000 index 0
    162 options 	COM_PXA2X0
    163 
    164 # I2C bus (using bit-banged GPIO pins)
    165 slugiic0	at ixpsip?
    166 iic0		at slugiic0
    167 xrtc0		at iic0 addr 0x6f
    168 
    169 # Power/Reset button support (via sysmon)
    170 slugbutt0 	at ixpsip?
    171 
    172 # Disk activity and ready/status LED support
    173 slugled0 	at ixpsip?
    174 
    175 # Buzzer support (not supported yet)
    176 #slugbuzz0 	at ixpsip?
    177 
    178 # IXP425 fast bus
    179 ixpio0		at mainbus?
    180 
    181 # PCI bus
    182 pci0		at ixpio? bus ?
    183 
    184 # USB devices
    185 ehci*	at pci? dev ? function ?
    186 ohci*	at pci? dev ? function ?
    187 usb*	at ehci?
    188 usb*	at ohci?
    189 uhub*	at usb?
    190 uhub*	at uhub? port ? configuration ? interface ?
    191 
    192 # USB Mass Storage Devices
    193 umass*		at uhub? port ? configuration ? interface ?
    194 wd* 		at umass?
    195 scsibus*	at umass? channel ?
    196 sd*		at scsibus? target ? lun ?	# SCSI disk drives
    197 
    198 # USB Ethernet adapters
    199 aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
    200 axe*	at uhub? port ?		# ASIX AX88172 based adapters
    201 cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
    202 cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
    203 kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
    204 udav*	at uhub? port ?		# Davicom DM9601 based adapters
    205 url*	at uhub? port ?		# Realtek RTL8150L based adapters
    206 
    207 # MII/PHY support
    208 ukphy*	at mii? phy ?			# Generic/Unknown PHY
    209 
    210 # USB 802.11 adapters
    211 atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
    212 ral*	at uhub? port ?		# Ralink Technology RT25x0 802.11a/b/g
    213 
    214 # USB Generic driver
    215 ugen*		at uhub? port ? configuration ? interface ?
    216 
    217 # Pseudo-Devices
    218 
    219 # disk/mass storage pseudo-devices
    220 #pseudo-device	md		1	# memory disk device (ramdisk)
    221 #pseudo-device	vnd		4	# disk-like interface to files
    222 
    223 # network pseudo-devices
    224 pseudo-device	bpfilter	4	# Berkeley packet filter
    225 #pseudo-device	ipfilter		# IP filter (firewall) and NAT
    226 pseudo-device	loop			# network loopback
    227 #pseudo-device	ppp		2	# Point-to-Point Protocol
    228 #pseudo-device	kttcp			# network loopback
    229 #pseudo-device	tun		2	# network tunneling over tty
    230 #pseudo-device	vlan
    231 #pseudo-device	bridge
    232 
    233 # miscellaneous pseudo-devices
    234 pseudo-device	pty			# pseudo-terminals
    235 pseudo-device	rnd			# /dev/random and in-kernel generator
    236 pseudo-device	clockctl		# user control of clock subsystem
    237 pseudo-device	ksyms			# /dev/ksyms
    238 #pseudo-device	crypto			# opencrypto framework
    239 
    240 # data mover pseudo-devices
    241 #pseudo-device	swdmover		# softare dmover(9) back-end
    242 #pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
    243