11590Srgrimes# Kernel config for GlobalScale Technologies DreamPlug version 1001.
21590Srgrimes#
31590Srgrimes# This is for units that are version 10, revision 01, with NOR SPI flash.
41590Srgrimes# These units are identified with the number "1001" on the S/N label.
51590Srgrimes#
61590Srgrimes# For more information on this file, please read the handbook section on
71590Srgrimes# Kernel Configuration Files:
81590Srgrimes#
91590Srgrimes#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
101590Srgrimes#
111590Srgrimes# The handbook is also available locally in /usr/share/doc/handbook
121590Srgrimes# if you've installed the doc distribution, otherwise always see the
131590Srgrimes# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
141590Srgrimes# latest information.
151590Srgrimes#
161590Srgrimes# An exhaustive list of options and more detailed explanations of the
171590Srgrimes# device lines is also present in the ../../conf/NOTES and NOTES files. 
181590Srgrimes# If you are in doubt as to the purpose or necessity of a line, check first 
191590Srgrimes# in NOTES.
201590Srgrimes#
211590Srgrimes# $FreeBSD$
221590Srgrimes#
231590Srgrimes#NO_UNIVERSE
241590Srgrimes
251590Srgrimesident		DREAMPLUG-1001
261590Srgrimes
271590Srgrimesinclude		"../mv/kirkwood/std.db88f6xxx"
281590Srgrimes
2950477Spetermakeoptions	FDT_DTS_FILE=dreamplug-1001.dts
301590Srgrimes
31240506Seadleroptions 	SOC_MV_KIRKWOOD
321590Srgrimes
3379535Sruoptions 	SCHED_4BSD		# 4BSD scheduler
341590Srgrimesoptions 	INET			# InterNETworking
351590Srgrimesoptions 	INET6			# IPv6 communications protocols
3634781Ssteveoptions 	SOFTUPDATES
371590Srgrimesoptions 	TMPFS			# Efficient memory filesystem
3868963Sruoptions 	CD9660			# ISO 9660 filesystem
3929311Sacheoptions 	FFS			# Berkeley Fast Filesystem
401590Srgrimesoptions 	MSDOSFS			# MS DOS File System (FAT, FAT32)
411590Srgrimesoptions 	NULLFS			# NULL filesystem
4249177Sgreenoptions 	SYSVSHM			# SYSV-style shared memory
431590Srgrimesoptions 	SYSVMSG			# SYSV-style message queues
441590Srgrimesoptions 	SYSVSEM			# SYSV-style semaphores
4528694Scharnieroptions 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
461590Srgrimesoptions 	GEOM_PART_BSD		# BSD partition scheme
471590Srgrimesoptions 	GEOM_PART_MBR		# MBR partition scheme
481590Srgrimesoptions 	GEOM_ELI		# Disk encryption.
491590Srgrimesoptions 	GEOM_LABEL		# Providers labelization.
501590Srgrimesoptions 	GEOM_PART_GPT		# GPT partitioning
511590Srgrimes
521590Srgrimes# Flattened Device Tree
531590Srgrimesdevice		fdt
541590Srgrimesoptions 	FDT
551590Srgrimesoptions 	FDT_DTB_STATIC
561590Srgrimes
571590Srgrimes# Misc pseudo devices
581590Srgrimesdevice		bpf			# Required for DHCP
591590Srgrimesdevice  	faith			# IPv6-to-IPv4 relaying (translation)
60165226Srudevice		firmware		# firmware(9) required for USB wlan
6129311Sachedevice		gif			# IPv6 and IPv4 tunneling
6229311Sachedevice		loop			# Network loopback
6329311Sachedevice		md			# Memory/malloc disk
641590Srgrimesdevice		pty			# BSD-style compatibility pseudo ttys
651590Srgrimesdevice		random			# Entropy device
661590Srgrimesdevice		tun			# Packet tunnel.
671590Srgrimesdevice		ether			# Required for all ethernet devices
681590Srgrimesdevice		vlan			# 802.1Q VLAN support
691590Srgrimesdevice		wlan			# 802.11 WLAN support
701590Srgrimes
71165226Sru# cam support for umass and ahci
721590Srgrimesdevice		scbus
731590Srgrimesdevice		pass
741590Srgrimesdevice		da
75165226Srudevice		cd
761590Srgrimes
77141846Sru# Serial ports
7828694Scharnierdevice		uart
7980407Sbrian
801590Srgrimes# Networking
811590Srgrimesdevice		mge			# Marvell Gigabit Ethernet controller
8249177Sgreendevice		mii
831590Srgrimesdevice		e1000phy
8449177Sgreen
851590Srgrimes# USB
86202756Sedoptions 	USB_HOST_ALIGN=32	# Align DMA to cacheline
87202756Sed#options 	USB_DEBUG       	# Compile in USB debug support
881590Srgrimesdevice		usb  			# Basic usb support			
891590Srgrimesdevice		ehci 			# USB host controller
90140420Srudevice		umass			# Mass storage
91140420Srudevice		uhid 			# Human-interface devices
92140420Srudevice		rum  			# Ralink Technology RT2501USB wireless NICs
93140420Srudevice		uath 			# Atheros AR5523 wireless NICs
94140420Srudevice		ural 			# Ralink Technology RT2500USB wireless NICs
95140420Srudevice		zyd  			# ZyDAS zb1211/zb1211b wireless NICs
96140420Srudevice		urtw 			# Realtek RTL8187B/L USB
97140420Srudevice		upgt 			# Conexant/Intersil PrismGT SoftMAC USB
981590Srgrimesdevice		u3g  			# USB-based 3G modems (Option, Huawei, Sierra)
991590Srgrimes
1001590Srgrimes# I2C (TWSI)
10121748Swoschdevice		iic
10221748Swoschdevice		iicbus
103140420Sru
104140420Sru# SATA
105140420Srudevice		mvs
106140420Srudevice		ahci
107140420Sru
1081590Srgrimes# Sound
1091590Srgrimesdevice		sound
1101590Srgrimesdevice		snd_uaudio
1111590Srgrimes
112165226Sru#crypto
113165226Srudevice		cesa			# Marvell security engine
114165226Srudevice		crypto
1151590Srgrimesdevice		cryptodev
116165226Sru
117165226Sru# IPSec
1181590Srgrimesdevice		enc
1191590Srgrimesoptions 	IPSEC
1201590Srgrimesoptions 	IPSEC_NAT_T
1211590Srgrimesoptions 	TCP_SIGNATURE		# include support for RFC 2385
12228694Scharnier
1231590Srgrimes# IPFW
124165226Sruoptions 	IPFIREWALL
1251590Srgrimesoptions 	IPFIREWALL_DEFAULT_TO_ACCEPT
1261590Srgrimesoptions 	IPFIREWALL_VERBOSE
1271590Srgrimesoptions 	IPFIREWALL_VERBOSE_LIMIT=100
1281590Srgrimesoptions 	IPFIREWALL_NAT
1291590Srgrimesoptions 	LIBALIAS
1301590Srgrimesoptions 	DUMMYNET
1311590Srgrimesoptions 	IPDIVERT
1321590Srgrimes
1331590Srgrimes#PF 
1341590Srgrimesdevice		pf
1351590Srgrimesdevice		pflog
1361590Srgrimesdevice		pfsync
1371590Srgrimes
1381590Srgrimes# ALTQ, required for PF
1391590Srgrimesoptions 	ALTQ			# Basic ALTQ support
14079755Sddoptions 	ALTQ_CBQ		# Class Based Queueing
14128694Scharnieroptions 	ALTQ_RED		# Random Early Detection
1421590Srgrimesoptions 	ALTQ_RIO		# RED In/Out
1431590Srgrimesoptions 	ALTQ_HFSC		# Hierarchical Packet Scheduler
1441590Srgrimesoptions 	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