1#
2# Custom kernel for Seagate DockStar (Marvell SheevaPlug based) devices.
3#
4# $FreeBSD$
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		DOCKSTAR
23
24include		"../mv/kirkwood/std.db88f6xxx"
25
26makeoptions	FDT_DTS_FILE=dockstar.dts
27
28options 	SOC_MV_KIRKWOOD
29
30options 	SCHED_4BSD		# 4BSD scheduler
31options 	INET			# InterNETworking
32options 	INET6			# IPv6 communications protocols
33options 	SOFTUPDATES
34options 	CD9660			# ISO 9660 filesystem
35options 	FFS			# Berkeley Fast Filesystem
36options 	TMPFS			# Efficient memory filesystem
37options 	MSDOSFS			# MS DOS File System (FAT, FAT32)
38options 	NULLFS			# NULL filesystem
39options 	SYSVSHM			# SYSV-style shared memory
40options 	SYSVMSG			# SYSV-style message queues
41options 	SYSVSEM			# SYSV-style semaphores
42options 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
43options 	GEOM_PART_BSD		# BSD partition scheme
44options 	GEOM_PART_MBR		# MBR partition scheme
45options 	GEOM_ELI		# Disk encryption.
46options 	GEOM_LABEL		# Providers labelization.
47options 	GEOM_PART_GPT		# GPT partitioning
48
49# Flattened Device Tree
50device		fdt
51options 	FDT
52options 	FDT_DTB_STATIC
53
54# Misc pseudo devices
55device		bpf			# Required for DHCP
56device  	faith			# IPv6-to-IPv4 relaying (translation)
57device  	firmware		# firmware(9) required for USB wlan
58device  	gif			# IPv6 and IPv4 tunneling
59device		loop			# Network loopback
60device		md			# Memory/malloc disk
61device		pty			# BSD-style compatibility pseudo ttys
62device		random			# Entropy device
63device		tun			# Packet tunnel.
64device		ether			# Required for all ethernet devices
65device		vlan			# 802.1Q VLAN support
66device		wlan			# 802.11 WLAN support
67
68# cam support for umass and ahci
69device		scbus
70device		pass
71device		da
72
73# Serial ports
74device		uart
75
76# Networking
77device		mge			# Marvell Gigabit Ethernet controller
78device		mii
79device		e1000phy
80
81# USB
82options 	USB_HOST_ALIGN=32	# Align DMA to cacheline
83#options 	USB_DEBUG       	# Compile in USB debug support
84device		usb  			# Basic usb support			
85device		ehci 			# USB host controller
86device		umass			# Mass storage
87device		uhid 			# Human-interface devices
88device		rum  			# Ralink Technology RT2501USB wireless NICs
89device		uath 			# Atheros AR5523 wireless NICs
90device		ural 			# Ralink Technology RT2500USB wireless NICs
91device		zyd  			# ZyDAS zb1211/zb1211b wireless NICs
92device		urtw 			# Realtek RTL8187B/L USB
93device		upgt 			# Conexant/Intersil PrismGT SoftMAC USB
94device		u3g  			# USB-based 3G modems (Option, Huawei, Sierra)
95
96# I2C (TWSI)
97device		iic
98device		iicbus
99
100# Sound
101device		sound
102device		snd_uaudio
103
104#crypto
105device		cesa			# Marvell security engine
106device		crypto
107device		cryptodev
108
109# IPSec
110device		enc
111options 	IPSEC
112options 	IPSEC_NAT_T
113options 	TCP_SIGNATURE		# include support for RFC 2385
114
115# IPFW
116options 	IPFIREWALL
117options 	IPFIREWALL_DEFAULT_TO_ACCEPT
118options 	IPFIREWALL_VERBOSE
119options 	IPFIREWALL_VERBOSE_LIMIT=100
120options 	IPFIREWALL_NAT
121options 	LIBALIAS
122options 	DUMMYNET
123options 	IPDIVERT
124
125#PF 
126device		pf
127device		pflog
128device		pfsync
129
130# ALTQ, required for PF
131options 	ALTQ			# Basic ALTQ support
132options 	ALTQ_CBQ		# Class Based Queueing
133options 	ALTQ_RED		# Random Early Detection
134options 	ALTQ_RIO		# RED In/Out
135options 	ALTQ_HFSC		# Hierarchical Packet Scheduler
136options 	ALTQ_CDNR		# Traffic conditioner
137options 	ALTQ_PRIQ		# Priority Queueing
138options 	ALTQ_NOPCC		# Required if the TSC is unusable
139#options 	ALTQ_DEBUG
140
141# Debugging
142makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
143options 	ALT_BREAK_TO_DEBUGGER
144options 	DDB
145options 	KDB
146#options 	DIAGNOSTIC
147#options 	INVARIANTS		# Enable calls of extra sanity checking
148#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
149#options 	WITNESS			# Enable checks to detect deadlocks and cycles
150#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
151#options 	WITNESS_KDB
152
153# Enable these options for nfs root configured via BOOTP.
154options 	NFSCL			# Network Filesystem Client
155options 	NFSLOCKD		# Network Lock Manager
156#options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
157#options 	BOOTP
158#options 	BOOTP_NFSROOT
159#options 	BOOTP_NFSV3
160#options 	BOOTP_WIRED_TO=mge0
161
162# If not using BOOTP, use something like one of these...
163#options 	ROOTDEVNAME=\"ufs:/dev/da0a\"
164options 	ROOTDEVNAME=\"ufs:/dev/da0s1a\"
165#options 	ROOTDEVNAME=\"ufs:/dev/da0p10\"
166#options 	ROOTDEVNAME=\"nfs:192.168.0.254/dreamplug\"
167
168