2010-09-08 19:50:47 +00:00
|
|
|
#
|
|
|
|
# Custom kernel for Seagate DockStar (Marvell SheevaPlug based) devices.
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
2014-01-05 20:44:10 +00:00
|
|
|
# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
|
|
|
|
#
|
|
|
|
# The handbook is also available locally in /usr/share/doc/handbook
|
|
|
|
# if you've installed the doc distribution, otherwise always see the
|
|
|
|
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
|
|
|
|
# latest information.
|
|
|
|
#
|
|
|
|
# An exhaustive list of options and more detailed explanations of the
|
|
|
|
# device lines is also present in the ../../conf/NOTES and NOTES files.
|
|
|
|
# If you are in doubt as to the purpose or necessity of a line, check first
|
|
|
|
# in NOTES.
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
2015-03-10 14:36:51 +00:00
|
|
|
#NO_UNIVERSE
|
2010-09-08 19:50:47 +00:00
|
|
|
|
|
|
|
ident DOCKSTAR
|
2014-01-05 20:44:10 +00:00
|
|
|
|
2015-05-07 12:38:23 +00:00
|
|
|
include "std.arm"
|
|
|
|
include "../mv/kirkwood/std.db88f6xxx"
|
2010-09-08 19:50:47 +00:00
|
|
|
|
2014-01-05 20:44:10 +00:00
|
|
|
options SOC_MV_KIRKWOOD
|
2010-09-08 19:50:47 +00:00
|
|
|
|
2014-03-16 15:22:46 +00:00
|
|
|
options SCHED_4BSD # 4BSD scheduler
|
|
|
|
options INET # InterNETworking
|
|
|
|
options INET6 # IPv6 communications protocols
|
|
|
|
options FFS # Berkeley Fast Filesystem
|
2015-05-10 09:23:49 +00:00
|
|
|
options SOFTUPDATES # Enable FFS soft updates support
|
|
|
|
options NFSCL # Network Filesystem Client
|
|
|
|
options NFSLOCKD # Network Lock Manager
|
|
|
|
#options NFS_ROOT # NFS usable as /, requires NFSCL
|
|
|
|
options MSDOSFS # MSDOS Filesystem
|
|
|
|
options CD9660 # ISO 9660 filesystem
|
2014-03-16 15:22:46 +00:00
|
|
|
options NULLFS # NULL filesystem
|
2015-05-10 09:23:49 +00:00
|
|
|
options TMPFS # Efficient memory filesystem
|
|
|
|
options GEOM_PART_GPT # GUID Partition Tables
|
|
|
|
options GEOM_PART_BSD # BSD partition scheme
|
|
|
|
options GEOM_PART_MBR # MBR partition scheme
|
|
|
|
options GEOM_LABEL # Provides labelization
|
|
|
|
options GEOM_ELI # Disk encryption
|
2014-03-16 15:22:46 +00:00
|
|
|
options SYSVSHM # SYSV-style shared memory
|
|
|
|
options SYSVMSG # SYSV-style message queues
|
|
|
|
options SYSVSEM # SYSV-style semaphores
|
2015-05-10 09:23:49 +00:00
|
|
|
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
|
2010-09-08 19:50:47 +00:00
|
|
|
|
2015-05-10 09:23:49 +00:00
|
|
|
# Enable these options for nfs root configured via BOOTP.
|
|
|
|
#options BOOTP
|
|
|
|
#options BOOTP_NFSROOT
|
|
|
|
#options BOOTP_NFSV3
|
|
|
|
#options BOOTP_WIRED_TO=mge0
|
|
|
|
|
|
|
|
# If not using BOOTP, use something like one of these...
|
|
|
|
#options ROOTDEVNAME=\"ufs:/dev/da0a\"
|
|
|
|
options ROOTDEVNAME=\"ufs:/dev/da0s1a\"
|
|
|
|
#options ROOTDEVNAME=\"ufs:/dev/da0p10\"
|
|
|
|
#options ROOTDEVNAME=\"nfs:192.168.0.254/dreamplug\"
|
2014-01-05 20:44:10 +00:00
|
|
|
|
|
|
|
# Misc pseudo devices
|
2014-03-16 15:22:46 +00:00
|
|
|
device bpf # Required for DHCP
|
2014-12-21 11:55:40 +00:00
|
|
|
device firmware # firmware(9) required for USB wlan
|
|
|
|
device gif # IPv6 and IPv4 tunneling
|
2014-03-16 15:22:46 +00:00
|
|
|
device loop # Network loopback
|
2014-12-21 11:55:40 +00:00
|
|
|
device md # Memory/malloc disk
|
2014-03-16 15:22:46 +00:00
|
|
|
device pty # BSD-style compatibility pseudo ttys
|
|
|
|
device random # Entropy device
|
2014-12-21 11:55:40 +00:00
|
|
|
device tun # Packet tunnel.
|
2014-03-16 15:22:46 +00:00
|
|
|
device ether # Required for all ethernet devices
|
2014-12-21 11:55:40 +00:00
|
|
|
device vlan # 802.1Q VLAN support
|
2014-03-16 15:22:46 +00:00
|
|
|
device wlan # 802.11 WLAN support
|
2010-09-08 19:50:47 +00:00
|
|
|
|
2014-01-05 20:44:10 +00:00
|
|
|
# cam support for umass and ahci
|
|
|
|
device scbus
|
|
|
|
device pass
|
|
|
|
device da
|
2010-09-08 19:50:47 +00:00
|
|
|
|
|
|
|
# Serial ports
|
|
|
|
device uart
|
|
|
|
|
|
|
|
# Networking
|
|
|
|
device mge # Marvell Gigabit Ethernet controller
|
|
|
|
device mii
|
2015-10-25 22:00:56 +00:00
|
|
|
device mdio
|
2014-01-05 20:44:10 +00:00
|
|
|
device e1000phy
|
2010-09-08 19:50:47 +00:00
|
|
|
|
|
|
|
# USB
|
2014-01-05 20:44:10 +00:00
|
|
|
options USB_HOST_ALIGN=32 # Align DMA to cacheline
|
2014-12-21 11:55:40 +00:00
|
|
|
device usb # Basic usb support
|
|
|
|
device ehci # USB host controller
|
|
|
|
device umass # Mass storage
|
|
|
|
device uhid # Human-interface devices
|
|
|
|
device rum # Ralink Technology RT2501USB wireless NICs
|
|
|
|
device uath # Atheros AR5523 wireless NICs
|
|
|
|
device ural # Ralink Technology RT2500USB wireless NICs
|
|
|
|
device zyd # ZyDAS zb1211/zb1211b wireless NICs
|
|
|
|
device urtw # Realtek RTL8187B/L USB
|
|
|
|
device upgt # Conexant/Intersil PrismGT SoftMAC USB
|
|
|
|
device u3g # USB-based 3G modems (Option, Huawei, Sierra)
|
2014-01-05 20:44:10 +00:00
|
|
|
|
|
|
|
# I2C (TWSI)
|
|
|
|
device iic
|
|
|
|
device iicbus
|
2016-02-14 23:42:07 +00:00
|
|
|
device twsi
|
2014-01-05 20:44:10 +00:00
|
|
|
|
|
|
|
# Sound
|
2014-12-21 11:55:40 +00:00
|
|
|
device sound
|
|
|
|
device snd_uaudio
|
2014-01-05 20:44:10 +00:00
|
|
|
|
|
|
|
#crypto
|
2014-12-21 11:55:40 +00:00
|
|
|
device cesa # Marvell security engine
|
|
|
|
device crypto
|
|
|
|
device cryptodev
|
2014-01-05 20:44:10 +00:00
|
|
|
|
|
|
|
# IPSec
|
2014-12-21 11:55:40 +00:00
|
|
|
device enc
|
|
|
|
options IPSEC
|
|
|
|
options IPSEC_NAT_T
|
|
|
|
options TCP_SIGNATURE # include support for RFC 2385
|
2014-01-05 20:44:10 +00:00
|
|
|
|
|
|
|
# IPFW
|
2014-12-21 11:55:40 +00:00
|
|
|
options IPFIREWALL
|
|
|
|
options IPFIREWALL_DEFAULT_TO_ACCEPT
|
|
|
|
options IPFIREWALL_VERBOSE
|
|
|
|
options IPFIREWALL_VERBOSE_LIMIT=100
|
|
|
|
options IPFIREWALL_NAT
|
|
|
|
options LIBALIAS
|
|
|
|
options DUMMYNET
|
|
|
|
options IPDIVERT
|
2014-01-05 20:44:10 +00:00
|
|
|
|
|
|
|
#PF
|
2014-12-21 11:55:40 +00:00
|
|
|
device pf
|
|
|
|
device pflog
|
|
|
|
device pfsync
|
2014-01-05 20:44:10 +00:00
|
|
|
|
2016-01-20 11:57:11 +00:00
|
|
|
# GPIO
|
|
|
|
device gpio
|
|
|
|
|
2014-01-05 20:44:10 +00:00
|
|
|
# ALTQ, required for PF
|
2014-12-21 11:55:40 +00:00
|
|
|
options ALTQ # Basic ALTQ support
|
|
|
|
options ALTQ_CBQ # Class Based Queueing
|
|
|
|
options ALTQ_RED # Random Early Detection
|
|
|
|
options ALTQ_RIO # RED In/Out
|
|
|
|
options ALTQ_HFSC # Hierarchical Packet Scheduler
|
|
|
|
options ALTQ_CDNR # Traffic conditioner
|
|
|
|
options ALTQ_PRIQ # Priority Queueing
|
|
|
|
options ALTQ_NOPCC # Required if the TSC is unusable
|
2014-01-05 20:44:10 +00:00
|
|
|
#options ALTQ_DEBUG
|
|
|
|
|
2015-05-10 09:23:49 +00:00
|
|
|
# Flattened Device Tree
|
|
|
|
options FDT # Configure using FDT/DTB data
|
|
|
|
options FDT_DTB_STATIC
|
|
|
|
makeoptions FDT_DTS_FILE=dockstar.dts
|