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