1181229Simp# NSLU - kernel configuration file for FreeBSD/arm on Linksys NSLU2
2181229Simp#
3181229Simp# For more information on this file, please read the handbook section on
4181229Simp# Kernel Configuration Files:
5181229Simp#
6181229Simp#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7181229Simp#
8181229Simp# The handbook is also available locally in /usr/share/doc/handbook
9181229Simp# if you've installed the doc distribution, otherwise always see the
10181229Simp# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11181229Simp# latest information.
12181229Simp#
13181229Simp# An exhaustive list of options and more detailed explanations of the
14236988Simp# device lines is also present in the ../../conf/NOTES and NOTES files.
15236988Simp# If you are in doubt as to the purpose or necessity of a line, check first
16181229Simp# in NOTES.
17181229Simp#
18181229Simp# $FreeBSD$
19181229Simp
20266383Sian#NO_UNIVERSE
21266383Sian
22181229Simpident		NSLU
23181229Simp
24186539Sbz# XXX What is defined in std.avila does not exactly match the following:
25186539Sbz#options 	PHYSADDR=0x10000000
26186539Sbz#options 	KERNPHYSADDR=0x10200000	
27266328Sian#options 	KERNVIRTADDR=0xc0200000	# Used in ldscript.arm
28186539Sbz#options 	FLASHADDR=0x50000000
29186539Sbz#options 	LOADERRAMADDR=0x00000000
30181229Simp
31186539Sbzinclude		"../xscale/ixp425/std.ixp425"
32186539Sbz# NB: memory mapping is defined in std.avila (see also comment above)
33181229Simpinclude		"../xscale/ixp425/std.avila"
34186539Sbzoptions 	XSCALE_CACHE_READ_WRITE_ALLOCATE
35181229Simp#To statically compile in device wiring instead of /boot/device.hints
36266328Sianhints		"NSLU.hints"		# Default places to look for devices.
37185478Ssammakeoptions	MODULES_OVERRIDE=""
38181229Simp
39266328Sianmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
40181229Simpmakeoptions	CONF_CFLAGS=-mcpu=xscale
41181229Simpoptions 	HZ=100
42181229Simpoptions 	DEVICE_POLLING
43181229Simp
44181229Simp# Debugging for use in -current
45181229Simpoptions 	KDB
46181229Simp#options 	GDB
47266328Sianoptions 	DDB			# Enable the kernel debugger
48266328Sian#options 	DEADLKRES		# Enable the deadlock resolver
49266328Sian#options 	INVARIANTS		# Enable calls of extra sanity checking
50266328Sian#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
51266328Sian#options 	WITNESS			# Enable checks to detect deadlocks and cycles
52266328Sian#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
53181229Simp#options 	DIAGNOSTIC
54181229Simp
55266328Sianoptions 	SCHED_ULE		# ULE scheduler
56266328Sianoptions 	INET			# InterNETworking
57266328Sianoptions 	INET6			# IPv6 communications protocols
58266328Sianoptions 	FFS			# Berkeley Fast Filesystem
59266328Sianoptions 	SOFTUPDATES		# Enable FFS soft updates support
60266328Sianoptions 	UFS_ACL			# Support for access control lists
61266328Sianoptions 	UFS_DIRHASH		# Improve performance on big directories
62266328Sianoptions 	NFSCL			# New Network Filesystem Client
63266328Sianoptions 	NFSD			# New Network Filesystem Server
64266328Sianoptions 	NFSLOCKD		# Network Lock Manager
65266328Sianoptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
66266328Sianoptions 	GEOM_PART_BSD		# BSD partition scheme
67266328Sianoptions 	GEOM_PART_MBR		# MBR partition scheme
68266331Sianoptions 	TMPFS			# Efficient memory filesystem
69266328Sian#options 	MSDOSFS			# MSDOS Filesystem
70266328Sianoptions 	CD9660			# ISO 9660 Filesystem
71266328Sian#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
72266328Sianoptions 	PSEUDOFS		# Pseudo-filesystem framework
73266328Sianoptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
74266328Sianoptions 	KTRACE			# ktrace(1) support
75266328Sianoptions 	SYSVSHM			# SYSV-style shared memory
76266328Sianoptions 	SYSVMSG			# SYSV-style message queues
77266328Sianoptions 	SYSVSEM			# SYSV-style semaphores
78181229Simpoptions 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
79266328Sianoptions 	MUTEX_NOINLINE		# Mutex inlines are space hogs
80266328Sianoptions 	RWLOCK_NOINLINE		# rwlock inlines are space hogs
81266328Sianoptions 	SX_NOINLINE		# sx inliens are space hogs
82181229Simpoptions 	BOOTP
83181229Simpoptions 	BOOTP_NFSROOT
84181229Simpoptions 	BOOTP_NFSV3
85181229Simpoptions 	BOOTP_WIRED_TO=npe0
86181229Simpoptions 	BOOTP_COMPAT
87181229Simp
88181229Simpdevice		pci
89181229Simpdevice		uart
90181229Simp
91181229Simp# I2C Bus
92181229Simpdevice		iicbus
93181229Simpdevice		iicbb
94181229Simpdevice		iic
95181229Simp
96266328Siandevice		ixpiic			# I2C bus glue
97266328Siandevice		ixpwdog			# watchdog timer
98181229Simp
99266328Siandevice		npe			# Network Processing Engine
100181229Simpdevice		npe_fw
101181229Simpdevice		firmware
102266328Siandevice		qmgr			# Q Manager (required by npe)
103266328Siandevice		mii			# Minimal mii routines
104266328Siandevice		rlphy			# NSLU2 uses Realtek PHY attached to npe
105181229Simpdevice		ether
106181229Simpdevice		bpf
107181229Simp
108181229Simpdevice		loop
109181229Simp
110181229Simpdevice		md
111266328Siandevice		random			# Entropy device
112181229Simp
113181229Simpdevice		usb
114181229Simpoptions 	USB_DEBUG
115181229Simpdevice		ohci
116181229Simpdevice		ehci
117181229Simpdevice		umass
118266328Siandevice		scbus			# SCSI bus (required for SCSI)
119266328Siandevice		da			# Direct Access (disks)
120