1# Kernel configuration for Ethernut 5 boards
2#
3# For more information on this file, please read the config(5) manual page,
4# and/or the handbook section on Kernel Configuration Files:
5#
6#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
7#
8# The handbook is also available locally in /usr/share/doc/handbook
9# if you've installed the doc distribution, otherwise always see the
10# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
11# latest information.
12#
13# An exhaustive list of options and more detailed explanations of the
14# device lines is also present in the ../../conf/NOTES and NOTES files.
15# If you are in doubt as to the purpose or necessity of a line, check first
16# in NOTES.
17#
18# $FreeBSD$
19
20#NO_UNIVERSE
21
22ident		ETHERNUT5
23
24include "../at91/std.ethernut5"
25
26# To statically compile in device wiring instead of /boot/device.hints
27hints		"ETHERNUT5.hints"
28
29#makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
30
31options 	SCHED_4BSD		# 4BSD scheduler
32#options 	PREEMPTION		# Enable kernel thread preemption
33options 	INET			# InterNETworking
34#options 	INET6			# IPv6 communications protocols
35#options 	SCTP			# Stream Control Transmission Protocol
36options 	FFS			# Berkeley Fast Filesystem
37options 	SOFTUPDATES		# Enable FFS soft updates support
38#options 	UFS_ACL			# Support for access control lists
39options 	UFS_DIRHASH		# Improve performance on big directories
40#options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
41#options 	MD_ROOT			# MD is a potential root device
42options 	NFSCL			# New Network Filesystem Client
43#options 	NFSD			# New Network Filesystem Server
44options 	NFSLOCKD		# Network Lock Manager
45options 	NFS_ROOT		# NFS usable as /, requires NFSCL
46options 	GEOM_PART_BSD		# BSD partition scheme
47options 	GEOM_PART_MBR		# MBR partition scheme
48options 	TMPFS			# Efficient memory filesystem
49#options 	MSDOSFS			# MSDOS Filesystem
50#options 	CD9660			# ISO 9660 Filesystem
51#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
52#options 	PSEUDOFS		# Pseudo-filesystem framework
53#options 	GEOM_PART_GPT		# GUID Partition Tables.
54#options 	GEOM_LABEL		# Provides labelization
55#options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
56#options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
57#options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
58options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
59options 	KTRACE			# ktrace(1) support
60#options 	STACK			# stack(9) support
61options 	SYSVSHM			# SYSV-style shared memory
62options 	SYSVMSG			# SYSV-style message queues
63options 	SYSVSEM			# SYSV-style semaphores
64options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
65options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
66#options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
67#options 	AUDIT			# Security event auditing
68#options 	CAPABILITY_MODE		# Capsicum capability mode
69#options 	CAPABILITIES		# Capsicum capabilities
70#options 	MAC			# TrustedBSD MAC Framework
71#options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
72
73# required for netbooting
74options 	BOOTP
75options 	BOOTP_COMPAT
76options 	BOOTP_NFSROOT
77options 	BOOTP_NFSV3
78options 	BOOTP_WIRED_TO=ate0
79
80# alternatively, boot from a MMC/SD memory card
81#options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0a\"
82
83# kernel/memory size reduction
84options 	MUTEX_NOINLINE
85options 	NO_FFS_SNAPSHOT
86options 	NO_SWAPPING
87options 	NO_SYSCTL_DESCR
88options 	RWLOCK_NOINLINE
89
90# Debugging support.  Always need this:
91#options 	KDB			# Enable kernel debugger support.
92# For minimum debugger support (stable branch) use:
93#options 	KDB_TRACE		# Print a stack trace for a panic.
94# For full debugger support use this instead:
95#options 	DDB			# Support DDB.
96#options 	GDB			# Support remote GDB.
97#options 	DEADLKRES		# Enable the deadlock resolver
98#options 	INVARIANTS		# Enable calls of extra sanity checking
99#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
100#options 	WITNESS			# Enable checks to detect deadlocks and cycles
101#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
102#options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
103
104# The `bpf' device enables the Berkeley Packet Filter.
105# Be aware of the administrative consequences of enabling this!
106# Note that 'bpf' is required for DHCP.
107device		bpf			# Berkeley packet filter
108
109# Ethernet
110device		mii			# Minimal MII support
111device		ate			# Atmel AT91 Ethernet driver
112
113# I2C
114device		at91_twi		# Atmel AT91 Two-wire Interface
115device		iic			# I2C generic I/O device driver
116device		iicbus			# I2C bus system
117device		pcf8563			# NXP PCF8563 clock/calendar
118
119# MMC/SD
120device		at91_mci		# Atmel AT91 Multimedia Card Interface
121options 	AT91_MCI_HAS_4WIRE
122device		mmc			# MMC/SD bus
123device		mmcsd			# MMC/SD memory card
124
125# DataFlash
126device		at91_spi		# Atmel AT91 Serial Peripheral Interface
127device		spibus			# SPI bus
128device		at45d			# Atmel AT45D
129device		geom_map		# GEOM partition mapping
130
131# Pseudo devices.
132device		loop			# Network loopback
133device		random			# Entropy device
134device		ether			# Ethernet support
135#device		vlan			# 802.1Q VLAN support
136#device		tun			# Packet tunnel.
137#device		md			# Memory "disks"
138#device		gif			# IPv6 and IPv4 tunneling
139#device		faith			# IPv6-to-IPv4 relaying (translation)
140#device		firmware		# firmware assist module
141
142# SCSI peripherals
143#device		scbus			# SCSI bus (required for ATA/SCSI)
144#device		ch			# SCSI media changers
145#device		da			# Direct Access (disks)
146#device		sa			# Sequential Access (tape etc)
147#device		cd			# CD
148#device		pass			# Passthrough device (direct ATA/SCSI access)
149#device		ses			# Enclosure Services (SES and SAF-TE)
150#device		ctl			# CAM Target Layer
151
152# Serial (COM) ports
153device		uart			# Multi-uart driver
154options 	ALT_BREAK_TO_DEBUGGER
155
156# USB support
157#options 	USB_DEBUG		# enable debug msgs
158device		ohci			# OHCI USB interface
159device		usb			# USB Bus (required)
160#device		umass			# Disks/Mass storage - Requires scbus and da
161
162# watchdog
163device		at91_wdt		# Atmel AT91 Watchdog Timer
164