ETHERNUT5 revision 236497
1158115Sume# Kernel configuration for Ethernut 5 boards
2158115Sume#
3158115Sume# For more information on this file, please read the config(5) manual page,
4158115Sume# and/or the handbook section on Kernel Configuration Files:
5158115Sume#
6158115Sume#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7158115Sume#
8158115Sume# The handbook is also available locally in /usr/share/doc/handbook
9158115Sume# if you've installed the doc distribution, otherwise always see the
10158115Sume# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11158115Sume# latest information.
12158115Sume#
13158115Sume# An exhaustive list of options and more detailed explanations of the
14158115Sume# device lines is also present in the ../../conf/NOTES and NOTES files.
15158115Sume# If you are in doubt as to the purpose or necessity of a line, check first
16158115Sume# in NOTES.
17158115Sume#
18158115Sume# $FreeBSD: head/sys/arm/conf/ETHERNUT5 236497 2012-06-03 01:07:55Z marius $
19158115Sume
20158115Sumeident		ETHERNUT5
21158115Sume
22158115Sumeinclude "../at91/std.ethernut5"
23158115Sume
24158115Sume# To statically compile in device wiring instead of /boot/device.hints
25158115Sumehints		"ETHERNUT5.hints"
26158115Sume
27158115Sume#makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
28158115Sume
29158115Sumeoptions 	SCHED_4BSD		# 4BSD scheduler
30158115Sume#options 	PREEMPTION		# Enable kernel thread preemption
31158115Sumeoptions 	INET			# InterNETworking
32194093Sdes#options 	INET6			# IPv6 communications protocols
33158115Sume#options 	SCTP			# Stream Control Transmission Protocol
34158115Sumeoptions 	FFS			# Berkeley Fast Filesystem
35158115Sumeoptions 	SOFTUPDATES		# Enable FFS soft updates support
36194093Sdes#options 	UFS_ACL			# Support for access control lists
37158115Sumeoptions 	UFS_DIRHASH		# Improve performance on big directories
38158115Sume#options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
39158115Sume#options 	MD_ROOT			# MD is a potential root device
40158115Sumeoptions 	NFSCL			# New Network Filesystem Client
41158115Sume#options 	NFSD			# New Network Filesystem Server
42158115Sumeoptions 	NFSLOCKD		# Network Lock Manager
43158115Sumeoptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
44158115Sume#options 	MSDOSFS			# MSDOS Filesystem
45158115Sume#options 	CD9660			# ISO 9660 Filesystem
46158115Sume#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
47158115Sume#options 	PSEUDOFS		# Pseudo-filesystem framework
48158115Sume#options 	GEOM_PART_GPT		# GUID Partition Tables.
49158115Sume#options 	GEOM_LABEL		# Provides labelization
50158115Sume#options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
51158115Sume#options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
52158115Sume#options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
53158115Sumeoptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
54158115Sumeoptions 	KTRACE			# ktrace(1) support
55158115Sume#options 	STACK			# stack(9) support
56158115Sumeoptions 	SYSVSHM			# SYSV-style shared memory
57158115Sumeoptions 	SYSVMSG			# SYSV-style message queues
58158115Sumeoptions 	SYSVSEM			# SYSV-style semaphores
59158115Sumeoptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
60158115Sumeoptions 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
61158115Sume#options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
62158115Sume#options 	AUDIT			# Security event auditing
63158115Sume#options 	CAPABILITY_MODE		# Capsicum capability mode
64158115Sume#options 	CAPABILITIES		# Capsicum capabilities
65158115Sume#options 	MAC			# TrustedBSD MAC Framework
66158115Sume#options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
67158115Sume
68158115Sume# required for netbooting
69158115Sumeoptions 	BOOTP
70158115Sumeoptions 	BOOTP_COMPAT
71158115Sumeoptions 	BOOTP_NFSROOT
72158115Sumeoptions 	BOOTP_NFSV3
73158115Sumeoptions 	BOOTP_WIRED_TO=ate0
74158115Sume
75158115Sume# alternatively, boot from a MMC/SD memory card
76158115Sume#options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0a\"
77158115Sume
78158115Sume# kernel/memory size reduction
79158115Sumeoptions 	MUTEX_NOINLINE
80158115Sumeoptions 	NO_FFS_SNAPSHOT
81158115Sumeoptions 	NO_SWAPPING
82158115Sumeoptions 	NO_SYSCTL_DESCR
83158115Sumeoptions 	RWLOCK_NOINLINE
84158115Sume
85158115Sume# Debugging support.  Always need this:
86158115Sume#options 	KDB			# Enable kernel debugger support.
87158115Sume# For minimum debugger support (stable branch) use:
88158115Sume#options 	KDB_TRACE		# Print a stack trace for a panic.
89158115Sume# For full debugger support use this instead:
90158115Sume#options 	DDB			# Support DDB.
91158115Sume#options 	GDB			# Support remote GDB.
92158115Sume#options 	DEADLKRES		# Enable the deadlock resolver
93158115Sume#options 	INVARIANTS		# Enable calls of extra sanity checking
94158115Sume#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
95158115Sume#options 	WITNESS			# Enable checks to detect deadlocks and cycles
96158115Sume#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
97158115Sume#options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
98158115Sume
99158115Sume# The `bpf' device enables the Berkeley Packet Filter.
100158115Sume# Be aware of the administrative consequences of enabling this!
101158115Sume# Note that 'bpf' is required for DHCP.
102158115Sumedevice		bpf		# Berkeley packet filter
103158115Sume
104158115Sume# Ethernet
105158115Sumedevice		mii		# Minimal MII support
106158115Sumedevice		ate		# Atmel AT91 Ethernet friver
107158115Sume
108158115Sume# I2C
109158115Sumedevice		at91_twi	# Atmel AT91 Two-wire Interface
110158115Sumedevice		iic		# I2C generic I/O device driver
111158115Sumedevice		iicbus		# I2C bus system
112158115Sumedevice		pcf8563		# NXP PCF8563 clock/calendar
113158115Sume
114158115Sume# MMC/SD
115158115Sumedevice		at91_mci	# Atmel AT91 Multimedia Card Interface
116158115Sumeoptions 	AT91_MCI_HAS_4WIRE
117158115Sumedevice		mmc		# MMC/SD bus
118158115Sumedevice		mmcsd		# MMC/SD memory card
119158115Sume
120158115Sume# DataFlash
121158115Sumedevice		at91_spi	# Atmel AT91 Serial Peripheral Interface
122158115Sumedevice		spibus		# SPI bus
123158115Sumedevice		at45d		# Atmel AT45D
124158115Sumedevice		geom_map	# GEOM partition mapping
125158115Sume
126158115Sume# Pseudo devices.
127158115Sumedevice		loop		# Network loopback
128158115Sumedevice		random		# Entropy device
129158115Sumedevice		ether		# Ethernet support
130158115Sume#device		vlan		# 802.1Q VLAN support
131158115Sume#device		tun		# Packet tunnel.
132158115Sume#device		md		# Memory "disks"
133158115Sume#device		gif		# IPv6 and IPv4 tunneling
134158115Sume#device		faith		# IPv6-to-IPv4 relaying (translation)
135158115Sume#device		firmware	# firmware assist module
136158115Sume
137158115Sume# SCSI peripherals
138158115Sume#device		scbus		# SCSI bus (required for ATA/SCSI)
139158115Sume#device		ch		# SCSI media changers
140158115Sume#device		da		# Direct Access (disks)
141158115Sume#device		sa		# Sequential Access (tape etc)
142158115Sume#device		cd		# CD
143158115Sume#device		pass		# Passthrough device (direct ATA/SCSI access)
144158115Sume#device		ses		# Enclosure Services (SES and SAF-TE)
145158115Sume#device		ctl		# CAM Target Layer
146158115Sume
147158115Sume# Serial (COM) ports
148158115Sumedevice		uart		# Multi-uart driver
149194095Sdesoptions 	ALT_BREAK_TO_DEBUGGER
150158115Sume
151158115Sume# USB support
152158115Sume#options 	USB_DEBUG	# enable debug msgs
153158115Sumedevice		ohci		# OHCI PCI->USB interface
154158115Sumedevice		usb		# USB Bus (required)
155158115Sume#device		umass		# Disks/Mass storage - Requires scbus and da
156158115Sume
157158115Sume# watchdog
158158115Sumedevice		at91_wdt	# Atmel AT91 Watchdog Timer
159158115Sume