1# Kernel config for GlobalScale Technologies DreamPlug version 1001.
2#
3# This is for units that are version 10, revision 01, with NOR SPI flash.
4# These units are identified with the number "1001" on the S/N label.
5#
6# For more information on this file, please read the handbook section on
7# Kernel Configuration Files:
8#
9#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
10#
11# The handbook is also available locally in /usr/share/doc/handbook
12# if you've installed the doc distribution, otherwise always see the
13# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
14# latest information.
15#
16# An exhaustive list of options and more detailed explanations of the
17# device lines is also present in the ../../conf/NOTES and NOTES files. 
18# If you are in doubt as to the purpose or necessity of a line, check first 
19# in NOTES.
20#
21# $FreeBSD$
22#
23#NO_UNIVERSE
24
25ident		DREAMPLUG-1001
26
27include		"../mv/kirkwood/std.db88f6xxx"
28
29makeoptions	FDT_DTS_FILE=dreamplug-1001.dts
30
31options 	SOC_MV_KIRKWOOD
32
33options 	SCHED_4BSD		# 4BSD scheduler
34options 	INET			# InterNETworking
35options 	INET6			# IPv6 communications protocols
36options 	SOFTUPDATES
37options 	TMPFS			# Efficient memory filesystem
38options 	CD9660			# ISO 9660 filesystem
39options 	FFS			# Berkeley Fast Filesystem
40options 	MSDOSFS			# MS DOS File System (FAT, FAT32)
41options 	NULLFS			# NULL filesystem
42options 	SYSVSHM			# SYSV-style shared memory
43options 	SYSVMSG			# SYSV-style message queues
44options 	SYSVSEM			# SYSV-style semaphores
45options 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
46options 	GEOM_PART_BSD		# BSD partition scheme
47options 	GEOM_PART_MBR		# MBR partition scheme
48options 	GEOM_ELI		# Disk encryption.
49options 	GEOM_LABEL		# Providers labelization.
50options 	GEOM_PART_GPT		# GPT partitioning
51
52# Flattened Device Tree
53device		fdt
54options 	FDT
55options 	FDT_DTB_STATIC
56
57# Misc pseudo devices
58device		bpf			# Required for DHCP
59device  	faith			# IPv6-to-IPv4 relaying (translation)
60device		firmware		# firmware(9) required for USB wlan
61device		gif			# IPv6 and IPv4 tunneling
62device		loop			# Network loopback
63device		md			# Memory/malloc disk
64device		pty			# BSD-style compatibility pseudo ttys
65device		random			# Entropy device
66device		tun			# Packet tunnel.
67device		ether			# Required for all ethernet devices
68device		vlan			# 802.1Q VLAN support
69device		wlan			# 802.11 WLAN support
70
71# cam support for umass and ahci
72device		scbus
73device		pass
74device		da
75device		cd
76
77# Serial ports
78device		uart
79
80# Networking
81device		mge			# Marvell Gigabit Ethernet controller
82device		mii
83device		e1000phy
84
85# USB
86options 	USB_HOST_ALIGN=32	# Align DMA to cacheline
87#options 	USB_DEBUG       	# Compile in USB debug support
88device		usb  			# Basic usb support			
89device		ehci 			# USB host controller
90device		umass			# Mass storage
91device		uhid 			# Human-interface devices
92device		rum  			# Ralink Technology RT2501USB wireless NICs
93device		uath 			# Atheros AR5523 wireless NICs
94device		ural 			# Ralink Technology RT2500USB wireless NICs
95device		zyd  			# ZyDAS zb1211/zb1211b wireless NICs
96device		urtw 			# Realtek RTL8187B/L USB
97device		upgt 			# Conexant/Intersil PrismGT SoftMAC USB
98device		u3g  			# USB-based 3G modems (Option, Huawei, Sierra)
99
100# I2C (TWSI)
101device		iic
102device		iicbus
103
104# SATA
105device		mvs
106device		ahci
107
108# Sound
109device		sound
110device		snd_uaudio
111
112#crypto
113device		cesa			# Marvell security engine
114device		crypto
115device		cryptodev
116
117# IPSec
118device		enc
119options 	IPSEC
120options 	IPSEC_NAT_T
121options 	TCP_SIGNATURE		# include support for RFC 2385
122
123# IPFW
124options 	IPFIREWALL
125options 	IPFIREWALL_DEFAULT_TO_ACCEPT
126options 	IPFIREWALL_VERBOSE
127options 	IPFIREWALL_VERBOSE_LIMIT=100
128options 	IPFIREWALL_NAT
129options 	LIBALIAS
130options 	DUMMYNET
131options 	IPDIVERT
132
133#PF 
134device		pf
135device		pflog
136device		pfsync
137
138# ALTQ, required for PF
139options 	ALTQ			# Basic ALTQ support
140options 	ALTQ_CBQ		# Class Based Queueing
141options 	ALTQ_RED		# Random Early Detection
142options 	ALTQ_RIO		# RED In/Out
143options 	ALTQ_HFSC		# Hierarchical Packet Scheduler
144options 	ALTQ_CDNR		# Traffic conditioner
145options 	ALTQ_PRIQ		# Priority Queueing
146options 	ALTQ_NOPCC		# Required if the TSC is unusable
147#options 	ALTQ_DEBUG
148
149# Debugging
150makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
151options 	ALT_BREAK_TO_DEBUGGER
152options 	DDB
153options 	KDB
154#options 	DIAGNOSTIC
155#options 	INVARIANTS		# Enable calls of extra sanity checking
156#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
157#options 	WITNESS			# Enable checks to detect deadlocks and cycles
158#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
159#options 	WITNESS_KDB
160
161# Enable these options for nfs root configured via BOOTP.
162options 	NFSCL			# Network Filesystem Client
163options 	NFSLOCKD		# Network Lock Manager
164#options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
165#options 	BOOTP
166#options 	BOOTP_NFSROOT
167#options 	BOOTP_NFSV3
168#options 	BOOTP_WIRED_TO=mge0
169
170# If not using BOOTP, use something like one of these...
171#options 	ROOTDEVNAME=\"ufs:/dev/da1a\"
172options 	ROOTDEVNAME=\"ufs:/dev/da1s1a\"
173#options 	ROOTDEVNAME=\"ufs:/dev/da1p10\"
174#options 	ROOTDEVNAME=\"nfs:192.168.0.254/dreamplug\"
175
176# To use this configuration with the (rare) model 1001N (nand flash),
177# create a kernel config file that looks like this:
178#
179# include DREAMPLUG-1001
180# nomakeoptions	FDT_DTS_FILE
181# makeoptions	FDT_DTS_FILE=dreamplug-1001N.dts
182# device 	nand
183
184