#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    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: src/sys/i386/conf/GENERIC,v 1.474.2.7 2008/04/10 22:09:22 rwatson Exp $

cpu		I486_CPU
cpu		I586_CPU
cpu		I686_CPU
ident		WLEIDEN

# options 	CLK_USE_I8254_CALIBRATION

options		CPU_ELAN		# (mandatory) The ElanSC520 cpu has a number of quirks that needs to 
                                        # be worked around, in particular the i8254 timer ticks
					# at a non-standard rate of 1189161Hz.

options		CPU_SOEKRIS		# (recommended) This option sets things up for the soekris board.
                                        # Amongst other things, this makes /dev/led/error appear.

# CPU_GEODE is for the SC1100 Geode embedded processor.  This option
# is necessary because the i8254 timecounter is toast.
options		CPU_GEODE		# net4801 requirement

options		HZ=250			# (recommended)	It is necessary to increas HZ to at least 150 in order
                                        # to take advantage of the "ELAN" timecounter.

options AH_SUPPORT_AR5416

options        NO_SWAPPING		# We do not have a swap space, so swapping would be pretty useless

options        SW_WATCHDOG		# Watchdog option to verify various tasks and reboot if needed


# To statically compile in device wiring instead of /boot/device.hints
#hints		"GENERIC.hints"		# Default places to look for devices.

options 	SCHED_ULE		# ULE scheduler
options 	PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
options 	INET6			# IPv6 communications protocols
options 	SCTP			# Stream Control Transmission Protocol
options 	FFS			# Berkeley Fast Filesystem
options 	SOFTUPDATES		# Enable FFS soft updates support
options         NFS_ROOT		# Allow NFS to be / mount
options 	NFSCLIENT		# Network Filesystem Client
#options 	NFSLOCKD		# Network Lock Manager
options 	PSEUDOFS		# Pseudo-filesystem framework
options 	GEOM_LABEL		# Provides labelization
options 	COMPAT_43TTY		# BSD 4.3 TTY compat [KEEP THIS!]
options 	KTRACE			# ktrace(1) support
#options 	STACK			# stack(9) support
options 	SYSVSHM			# SYSV-style shared memory
options 	SYSVMSG			# SYSV-style message queues
options 	SYSVSEM			# SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
# options 	ADAPTIVE_GIANT		# Giant mutex is adaptive.
# options 	STOP_NMI		# Stop CPUS using NMI instead of IPI
options		DEVICE_POLLING		# Enable support for device polling
options         TMPFS

# Bus support.
device		pci
device 		eisa

# ATA and ATAPI devices
device		ata
device		atadisk		# ATA disk drives
options 	ATA_STATIC_ID	# Static device numbering

# Add suspend/resume support for the i8254.
device		pmtimer

# Serial (COM) ports
# device		sio		# 8250, 16[45]50 based serial ports
device		uart		# Generic UART driver

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device		cbb		# cardbus (yenta) bridge
device		pccard		# PC Card (16-bit) bus
device		cardbus		# CardBus (32-bit) bus

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
device		vr		# VIA Rhine, Rhine II
device		sis		# SiS 900/SiS 7016
device		if_bridge	# Bridge support 

# ISA Ethernet NICs.  pccard NICs included.
device		cs		# Crystal Semiconductor CS89x0 NIC
# 'device ed' requires 'device miibus'
device		ed		# NE[12]000, SMC Ultra, 3c503, DS8390 cards
device		ex		# Intel EtherExpress Pro/10 and Pro/10+
device		ep		# Etherlink III based cards
#device		fe		# Fujitsu MB8696x based cards
device		ie		# EtherExpress 8/16, 3C507, StarLAN 10 etc.
device		sn		# SMC's 9000 series of Ethernet chips
device		xe		# Xircom pccard Ethernet
device          dc              # DEC/Intel21143 and clone 10/100 Ethernet

# Wireless NIC cards
device		wlan		# 802.11 support.
device		wlan_wep	# 802.11 WEP support.
device		wlan_ccmp	# 802.11 CCMP support.
device		wlan_tkip	# 802.11 TKIP support.
device		wlan_amrr	# AMRR transmit rate control algorithm.
# device		wlan_scan_ap	# 802.11 AP mode scanning.
# device		wlan_scan_sta	# 802.11 STA mode scanning.
device		ath		# Atheros pci/cardbus NIC's.
device		ath_hal		# Atheros HAL (Hardware Access Layer).
device		ath_rate_sample	# SampleRate tx rate control for ath.
device		wi		# WaveLan/Intersil/Symbol 802.11 wireless NICs.

# Pseudo devices.
device		loop		# Network loopback
device		random		# Entropy device
device		ether		# Ethernet support
# device		ppp		# Kernel PPP
device		tun		# Packet tunnel.
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"
#device		gif		# IPv6 and IPv4 tunneling
#device		faith		# IPv6-to-IPv4 relaying (translation)
device		firmware	# firmware assist module

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device		bpf		# Berkeley packet filter

# USB support
device          uhci          # UHCI PCI->USB interface
device          ohci          # OHCI PCI->USB interface
device          ehci          # EHCI PCI->USB interface (USB 2.0)
device          usb           # USB Bus (required)
#device         udbp          # USB Double Bulk Pipe devices
#device          ugen          # Generic
#device          uhid          # “Human Interface Devices”
#device          ukbd          # Keyboard
#device          ulpt          # Printer
#device          umass         # Disks/Mass storage - Requires scbus and da
#device          ums           # Mouse
device          ural          # Ralink Technology RT2500USB wireless NICs
#device          urio          # Diamond Rio 500 MP3 player
#device          uscanner      # Scanners
# USB Ethernet, requires mii
device          aue           # ADMtek USB Ethernet
device          axe           # ASIX Electronics USB Ethernet
device          cdce          # Generic USB over Ethernet
device          cue           # CATC USB Ethernet
device          kue           # Kawasaki LSI USB Ethernet
device          rue           # RealTek RTL8150 USB Ethernet
device          udav          # Davicom DM9601 USB Ethernet

#
# Authentication, encryption and protection on network layer
device		wlan_xauth		#802.11 external authenticator support
device		enc			#IPsec interface
device          crypto          	# core crypto support
device          cryptodev       	# /dev/crypto for access to h/w
device          pf                      #PF OpenBSD packet-filter firewall
device          pflog                   #logging support interface for PF
options         IPSEC                   #IP security (requires device crypto)
options         IPSEC_FILTERTUNNEL      #filter ipsec packets from a tunnel

options         NETGRAPH                # netgraph(4) system
options         NETGRAPH_SOCKET
options         NETGRAPH_MPPC_ENCRYPTION
options         NETGRAPH_IFACE
options         NETGRAPH_PPP
options         NETGRAPH_TEE
options         NETGRAPH_PPPOE
options         NETGRAPH_ETHER

# glxsb is a driver for the Security Block in AMD Geode LX processors.
# Requires 'device crypto'.
device          glxsb           # AMD Geode LX Security Block


# Firewall fore the use of fancy stuff, like forwarding ports
options		IPFIREWALL
options		IPFIREWALL_DEFAULT_TO_ACCEPT
options		IPFIREWALL_FORWARD
options		IPFIREWALL_NAT
options		LIBALIAS 		# Required for IPFIREWALL_NAT

# Uncomment if you like to compile a debugging kernel 
#options		KDB
#options		DDB
#options 	BREAK_TO_DEBUGGER
#options		KDB_UNATTENDED
#makeoptions     DEBUG=-g