1235348Smarius# Kernel configuration for Ethernut 5 boards
2235348Smarius#
3235348Smarius# For more information on this file, please read the config(5) manual page,
4235348Smarius# and/or the handbook section on Kernel Configuration Files:
5235348Smarius#
6235348Smarius#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7235348Smarius#
8235348Smarius# The handbook is also available locally in /usr/share/doc/handbook
9235348Smarius# if you've installed the doc distribution, otherwise always see the
10235348Smarius# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11235348Smarius# latest information.
12235348Smarius#
13235348Smarius# An exhaustive list of options and more detailed explanations of the
14235348Smarius# device lines is also present in the ../../conf/NOTES and NOTES files.
15235348Smarius# If you are in doubt as to the purpose or necessity of a line, check first
16235348Smarius# in NOTES.
17235348Smarius#
18235348Smarius# $FreeBSD$
19235348Smarius
20266383Sian#NO_UNIVERSE
21266383Sian
22235348Smariusident		ETHERNUT5
23235348Smarius
24235348Smariusinclude "../at91/std.ethernut5"
25235348Smarius
26235348Smarius# To statically compile in device wiring instead of /boot/device.hints
27235348Smariushints		"ETHERNUT5.hints"
28235348Smarius
29235348Smarius#makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
30235348Smarius
31235348Smariusoptions 	SCHED_4BSD		# 4BSD scheduler
32235348Smarius#options 	PREEMPTION		# Enable kernel thread preemption
33235348Smariusoptions 	INET			# InterNETworking
34235348Smarius#options 	INET6			# IPv6 communications protocols
35235348Smarius#options 	SCTP			# Stream Control Transmission Protocol
36235348Smariusoptions 	FFS			# Berkeley Fast Filesystem
37235348Smariusoptions 	SOFTUPDATES		# Enable FFS soft updates support
38235348Smarius#options 	UFS_ACL			# Support for access control lists
39235348Smariusoptions 	UFS_DIRHASH		# Improve performance on big directories
40235348Smarius#options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
41235348Smarius#options 	MD_ROOT			# MD is a potential root device
42235348Smariusoptions 	NFSCL			# New Network Filesystem Client
43235348Smarius#options 	NFSD			# New Network Filesystem Server
44235348Smariusoptions 	NFSLOCKD		# Network Lock Manager
45235348Smariusoptions 	NFS_ROOT		# NFS usable as /, requires NFSCL
46266328Sianoptions 	GEOM_PART_BSD		# BSD partition scheme
47266328Sianoptions 	GEOM_PART_MBR		# MBR partition scheme
48266331Sianoptions 	TMPFS			# Efficient memory filesystem
49235348Smarius#options 	MSDOSFS			# MSDOS Filesystem
50235348Smarius#options 	CD9660			# ISO 9660 Filesystem
51235348Smarius#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
52235348Smarius#options 	PSEUDOFS		# Pseudo-filesystem framework
53235348Smarius#options 	GEOM_PART_GPT		# GUID Partition Tables.
54235348Smarius#options 	GEOM_LABEL		# Provides labelization
55235348Smarius#options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
56235348Smarius#options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
57235348Smarius#options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
58235348Smariusoptions 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
59235348Smariusoptions 	KTRACE			# ktrace(1) support
60235348Smarius#options 	STACK			# stack(9) support
61235348Smariusoptions 	SYSVSHM			# SYSV-style shared memory
62235348Smariusoptions 	SYSVMSG			# SYSV-style message queues
63235348Smariusoptions 	SYSVSEM			# SYSV-style semaphores
64235348Smariusoptions 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
65235348Smariusoptions 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
66235348Smarius#options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
67235348Smarius#options 	AUDIT			# Security event auditing
68235348Smarius#options 	CAPABILITY_MODE		# Capsicum capability mode
69235348Smarius#options 	CAPABILITIES		# Capsicum capabilities
70235348Smarius#options 	MAC			# TrustedBSD MAC Framework
71235348Smarius#options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
72235348Smarius
73235348Smarius# required for netbooting
74236497Smariusoptions 	BOOTP
75236497Smariusoptions 	BOOTP_COMPAT
76235348Smariusoptions 	BOOTP_NFSROOT
77235348Smariusoptions 	BOOTP_NFSV3
78235348Smariusoptions 	BOOTP_WIRED_TO=ate0
79235348Smarius
80235348Smarius# alternatively, boot from a MMC/SD memory card
81235348Smarius#options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0a\"
82235348Smarius
83235348Smarius# kernel/memory size reduction
84235348Smariusoptions 	MUTEX_NOINLINE
85235348Smariusoptions 	NO_FFS_SNAPSHOT
86235348Smariusoptions 	NO_SWAPPING
87235348Smariusoptions 	NO_SYSCTL_DESCR
88235348Smariusoptions 	RWLOCK_NOINLINE
89235348Smarius
90235348Smarius# Debugging support.  Always need this:
91235348Smarius#options 	KDB			# Enable kernel debugger support.
92235348Smarius# For minimum debugger support (stable branch) use:
93235348Smarius#options 	KDB_TRACE		# Print a stack trace for a panic.
94235348Smarius# For full debugger support use this instead:
95235348Smarius#options 	DDB			# Support DDB.
96235348Smarius#options 	GDB			# Support remote GDB.
97235348Smarius#options 	DEADLKRES		# Enable the deadlock resolver
98235348Smarius#options 	INVARIANTS		# Enable calls of extra sanity checking
99235348Smarius#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
100235348Smarius#options 	WITNESS			# Enable checks to detect deadlocks and cycles
101235348Smarius#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
102235348Smarius#options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
103235348Smarius
104235348Smarius# The `bpf' device enables the Berkeley Packet Filter.
105235348Smarius# Be aware of the administrative consequences of enabling this!
106235348Smarius# Note that 'bpf' is required for DHCP.
107266328Siandevice		bpf			# Berkeley packet filter
108235348Smarius
109235348Smarius# Ethernet
110266328Siandevice		mii			# Minimal MII support
111266328Siandevice		ate			# Atmel AT91 Ethernet driver
112235348Smarius
113235348Smarius# I2C
114266328Siandevice		at91_twi		# Atmel AT91 Two-wire Interface
115266328Siandevice		iic			# I2C generic I/O device driver
116266328Siandevice		iicbus			# I2C bus system
117266328Siandevice		pcf8563			# NXP PCF8563 clock/calendar
118235348Smarius
119235348Smarius# MMC/SD
120266328Siandevice		at91_mci		# Atmel AT91 Multimedia Card Interface
121235348Smariusoptions 	AT91_MCI_HAS_4WIRE
122266328Siandevice		mmc			# MMC/SD bus
123266328Siandevice		mmcsd			# MMC/SD memory card
124235348Smarius
125236497Smarius# DataFlash
126266328Siandevice		at91_spi		# Atmel AT91 Serial Peripheral Interface
127266328Siandevice		spibus			# SPI bus
128266328Siandevice		at45d			# Atmel AT45D
129266328Siandevice		geom_map		# GEOM partition mapping
130235348Smarius
131235348Smarius# Pseudo devices.
132266328Siandevice		loop			# Network loopback
133266328Siandevice		random			# Entropy device
134266328Siandevice		ether			# Ethernet support
135266328Sian#device		vlan			# 802.1Q VLAN support
136266328Sian#device		tun			# Packet tunnel.
137266328Sian#device		md			# Memory "disks"
138266328Sian#device		gif			# IPv6 and IPv4 tunneling
139266328Sian#device		faith			# IPv6-to-IPv4 relaying (translation)
140266328Sian#device		firmware		# firmware assist module
141235348Smarius
142235348Smarius# SCSI peripherals
143266328Sian#device		scbus			# SCSI bus (required for ATA/SCSI)
144266328Sian#device		ch			# SCSI media changers
145266328Sian#device		da			# Direct Access (disks)
146266328Sian#device		sa			# Sequential Access (tape etc)
147266328Sian#device		cd			# CD
148266328Sian#device		pass			# Passthrough device (direct ATA/SCSI access)
149266328Sian#device		ses			# Enclosure Services (SES and SAF-TE)
150266328Sian#device		ctl			# CAM Target Layer
151235348Smarius
152235348Smarius# Serial (COM) ports
153266328Siandevice		uart			# Multi-uart driver
154235348Smariusoptions 	ALT_BREAK_TO_DEBUGGER
155235348Smarius
156235348Smarius# USB support
157266328Sian#options 	USB_DEBUG		# enable debug msgs
158266328Siandevice		ohci			# OHCI USB interface
159266328Siandevice		usb			# USB Bus (required)
160266328Sian#device		umass			# Disks/Mass storage - Requires scbus and da
161235348Smarius
162235348Smarius# watchdog
163266328Siandevice		at91_wdt		# Atmel AT91 Watchdog Timer
164