NSLU revision 266331
1214306Sjulian# NSLU - kernel configuration file for FreeBSD/arm on Linksys NSLU2
2214306Sjulian#
3222179Suqs# For more information on this file, please read the handbook section on
4214306Sjulian# Kernel Configuration Files:
5214306Sjulian#
6214306Sjulian#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7214306Sjulian#
8214306Sjulian# The handbook is also available locally in /usr/share/doc/handbook
9214306Sjulian# if you've installed the doc distribution, otherwise always see the
10214306Sjulian# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11214306Sjulian# latest information.
12214306Sjulian#
13214306Sjulian# An exhaustive list of options and more detailed explanations of the
14214306Sjulian# device lines is also present in the ../../conf/NOTES and NOTES files.
15214306Sjulian# If you are in doubt as to the purpose or necessity of a line, check first
16214306Sjulian# in NOTES.
17214306Sjulian#
18214306Sjulian# $FreeBSD: stable/10/sys/arm/conf/NSLU 266331 2014-05-17 17:34:37Z ian $
19214306Sjulian
20214306Sjulianident		NSLU
21214306Sjulian
22214306Sjulian# XXX What is defined in std.avila does not exactly match the following:
23214306Sjulian#options 	PHYSADDR=0x10000000
24214306Sjulian#options 	KERNPHYSADDR=0x10200000	
25214306Sjulian#options 	KERNVIRTADDR=0xc0200000	# Used in ldscript.arm
26214306Sjulian#options 	FLASHADDR=0x50000000
27222179Suqs#options 	LOADERRAMADDR=0x00000000
28214306Sjulian
29222179Suqsinclude		"../xscale/ixp425/std.ixp425"
30214306Sjulian# NB: memory mapping is defined in std.avila (see also comment above)
31214306Sjulianinclude		"../xscale/ixp425/std.avila"
32214306Sjulianoptions 	XSCALE_CACHE_READ_WRITE_ALLOCATE
33214306Sjulian#To statically compile in device wiring instead of /boot/device.hints
34214306Sjulianhints		"NSLU.hints"		# Default places to look for devices.
35214306Sjulianmakeoptions	MODULES_OVERRIDE=""
36214306Sjulian
37222179Suqsmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
38222179Suqsmakeoptions	CONF_CFLAGS=-mcpu=xscale
39214306Sjulianoptions 	HZ=100
40214306Sjulianoptions 	DEVICE_POLLING
41222179Suqs
42222179Suqs# Debugging for use in -current
43222179Suqsoptions 	KDB
44214306Sjulian#options 	GDB
45214306Sjulianoptions 	DDB			# Enable the kernel debugger
46214306Sjulian#options 	DEADLKRES		# Enable the deadlock resolver
47214306Sjulian#options 	INVARIANTS		# Enable calls of extra sanity checking
48214306Sjulian#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
49222179Suqs#options 	WITNESS			# Enable checks to detect deadlocks and cycles
50222179Suqs#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
51222179Suqs#options 	DIAGNOSTIC
52214306Sjulian
53214306Sjulianoptions 	SCHED_ULE		# ULE scheduler
54214306Sjulianoptions 	INET			# InterNETworking
55214306Sjulianoptions 	INET6			# IPv6 communications protocols
56214306Sjulianoptions 	FFS			# Berkeley Fast Filesystem
57214306Sjulianoptions 	SOFTUPDATES		# Enable FFS soft updates support
58214306Sjulianoptions 	UFS_ACL			# Support for access control lists
59214306Sjulianoptions 	UFS_DIRHASH		# Improve performance on big directories
60214306Sjulianoptions 	NFSCL			# New Network Filesystem Client
61214306Sjulianoptions 	NFSD			# New Network Filesystem Server
62214306Sjulianoptions 	NFSLOCKD		# Network Lock Manager
63214306Sjulianoptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
64214306Sjulianoptions 	GEOM_PART_BSD		# BSD partition scheme
65214306Sjulianoptions 	GEOM_PART_MBR		# MBR partition scheme
66214306Sjulianoptions 	TMPFS			# Efficient memory filesystem
67214306Sjulian#options 	MSDOSFS			# MSDOS Filesystem
68214306Sjulianoptions 	CD9660			# ISO 9660 Filesystem
69214306Sjulian#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
70214306Sjulianoptions 	PSEUDOFS		# Pseudo-filesystem framework
71214306Sjulianoptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
72214306Sjulianoptions 	KTRACE			# ktrace(1) support
73214306Sjulianoptions 	SYSVSHM			# SYSV-style shared memory
74214306Sjulianoptions 	SYSVMSG			# SYSV-style message queues
75214306Sjulianoptions 	SYSVSEM			# SYSV-style semaphores
76214306Sjulianoptions 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
77214306Sjulianoptions 	MUTEX_NOINLINE		# Mutex inlines are space hogs
78214306Sjulianoptions 	RWLOCK_NOINLINE		# rwlock inlines are space hogs
79214306Sjulianoptions 	SX_NOINLINE		# sx inliens are space hogs
80214306Sjulianoptions 	BOOTP
81214306Sjulianoptions 	BOOTP_NFSROOT
82214306Sjulianoptions 	BOOTP_NFSV3
83214306Sjulianoptions 	BOOTP_WIRED_TO=npe0
84214306Sjulianoptions 	BOOTP_COMPAT
85214306Sjulian
86222179Suqsdevice		pci
87222179Suqsdevice		uart
88214306Sjulian
89214306Sjulian# I2C Bus
90214306Sjuliandevice		iicbus
91214306Sjuliandevice		iicbb
92214306Sjuliandevice		iic
93214306Sjulian
94214306Sjuliandevice		ixpiic			# I2C bus glue
95222179Suqsdevice		ixpwdog			# watchdog timer
96222179Suqs
97214306Sjuliandevice		npe			# Network Processing Engine
98222179Suqsdevice		npe_fw
99214306Sjuliandevice		firmware
100214306Sjuliandevice		qmgr			# Q Manager (required by npe)
101214306Sjuliandevice		mii			# Minimal mii routines
102214306Sjuliandevice		rlphy			# NSLU2 uses Realtek PHY attached to npe
103214306Sjuliandevice		ether
104214306Sjuliandevice		bpf
105214306Sjulian
106214306Sjuliandevice		loop
107214306Sjulian
108214306Sjuliandevice		md
109214306Sjuliandevice		random			# Entropy device
110214306Sjulian
111214306Sjuliandevice		usb
112214306Sjulianoptions 	USB_DEBUG
113214306Sjuliandevice		ohci
114222179Suqsdevice		ehci
115214306Sjuliandevice		umass
116214306Sjuliandevice		scbus			# SCSI bus (required for SCSI)
117214306Sjuliandevice		da			# Direct Access (disks)
118214306Sjulian