#Kernel config for IBM ThinkPad R50e FreeBSD 6.0-CURRENT
machine		i386
option		PQ_CACHESIZE=512	#Tune the size of the CPU's L2 cache.
cpu		I686_CPU
ident		LAPDANCE
maxusers	0

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

#FILE SYSTEMS
options         FFS                     #Berkeley Fast Filesystem
options         SOFTUPDATES             #Enable FFS soft updates support
options         UFS_ACL                 #Support for access control lists
options         UFS_DIRHASH             #Improve performance on big directories
#options        MD_ROOT                 #MD is a potential root device
options         NFSCLIENT               #Network Filesystem Client
options         NFSSERVER               #Network Filesystem Server
#options        NFS_ROOT                #NFS usable as root device, requires NFSCLIENT
options         MSDOSFS                 #MSDOS Filesystem
options         CD9660                  #ISO 9660 Filesystem
options 	SCSI_DELAY=15000
options         PROCFS                  #Process filesystem (requires PSEUDOFS)
options         PSEUDOFS                #Pseudo-filesystem framework
options         GEOM_GPT                # GUID Partition Tables.
# CODA
options         CODA                    #CODA filesystem.

#LINUX STUFF
options         EXT2FS                  #Linux ext2 file system support
options         LINPROCFS
options         COMPAT_LINUX

options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
options         COMPAT_FREEBSD4         #Compatible with FreeBSD4
options         COMPAT_FREEBSD5         #Compatible with FreeBSD5
options         KTRACE                  #ktrace(1) 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         SCHED_4BSD              #4BSD scheduler
options         PREEMPTION              # Enable kernel thread preemption
options         ADAPTIVE_GIANT          # Giant mutex is adaptive.

# To include support for VGA VESA video modes
options         VESA
device		agp

device		cpufreq			#CPU frequency control framework
device		ichwd 			#Intel ICH watchdog timer

device		isa
device		eisa
device		pci

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

# Parallel port
device          ppc
device          ppbus           	# Parallel port bus (required)
device          lpt             	# Printer
device          ppi             	# Parallel port interface device

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

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc			# AT keyboard controller
device		atkbd			# AT keyboard
device		vga			# VGA video card driver
device		splash			# Splash screen and screen saver support
device		psm			# PS/2 mouse style pointing device driver

# syscons is the default console driver, resembling an SCO console
device		sc

# Floating point support - do not disable.
device		npx

# Sound
device          sound
device		snd_ich

# 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		fxp			# Intel EtherExpress PRO/100B (82557, 82558)

# Wireless NIC cards
device          wlan            	# 802.11 support
device          wlan_wep  
device          wlan_ccmp
device          wlan_tkip  
device          wlan_xauth
device          wlan_acl   
#device          wi              	# WaveLAN/Intersil/Symbol 802.11 wireless NICs.

device          iwi                     # Intel PRO/Wireless 2200BG

#Atheros cards:
device          ath
device          ath_hal
device          ath_rate_onoe

# 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

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

# Pseudo devices - the number indicates how many units to allocate.
device		random		# Entropy device
device		loop		# Network loopback
device		ether		# Ethernet support
#device		sl		# Kernel SLIP
device		ppp		# Kernel PPP
device		tun		# Packet tunnel.
device		pty		# Pseudo-ttys (telnet etc)
#device		gif		# IPv6 and IPv4 tunneling
#device		faith		# IPv6-to-IPv4 relaying (translation)
device          io              # I/O device
device		snp		# tty snoop interface
#device		vlan
device          mem             # Memory and kernel memory devices
device          md              # Memory "disks"
device		carp		# Free VRRP implementation 
device		disc		# Software discard network interface
device 		if_bridge	# Network bridge device

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device		bpf		# Berkeley packet filter

#GENERAL NETWORK OPTIONS
options         INET                    #InterNETworking
options         INET6                   #IPv6 communications protocols
#options         TCPDEBUG
options         TCP_DROP_SYNFIN         #drop TCP packets with SYN+FIN
options         IPSTEALTH               #To hide firewall from traceroute, support for stealth forwarding
#options         IPSEC                   #IP security
#options         IPSEC_ESP               #IP security (crypto; define w/ IPSEC)
#options         IPSEC_DEBUG             #debug for IP security
options         ZERO_COPY_SOCKETS       #speeds up inet stuff, man zero_copy
#options        RANDOM_IP_ID
#options        BRIDGE
#options        TCPDEBUG

#FIREWALLING PF & ALTQ
device          pf
device          pflog
device          pfsync

options         ALTQ
options         ALTQ_CBQ
options         ALTQ_RED
options         ALTQ_RIO
options         ALTQ_HFSC
options         ALTQ_CDNR
options         ALTQ_PRIQ
options         ALTQ_NOPCC
options         ALTQ_DEBUG

# 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		ufm
device          ugen            # Generic
#device         udbp            # USB Double Bulk Pipe devices
device          uhid            # "Human Interface Devices"
device          ukbd            # Keyboard
device          ulpt            # Printer
device          umass           # Disks/Mass storage - Requires scbus and da
device          ums             # Mouse
#device          urio            # Diamond Rio 500 MP3 player
device          uscanner        # Scanners

# From LINT:
device          umct
device		umodem
device          ucom
device          ubsa
device          ubser
device          uftdi
device          uplcom
device          uvisor
device          uvscom

# FireWire support
#device          firewire        # FireWire bus code
#device          sbp             # SCSI over FireWire (Requires scbus and da)
#device          fwe             # Ethernet over FireWire (non-standard!)

# SCSI peripherals
device          scbus           # SCSI bus (required for SCSI)
device          da              # Direct Access (disks)
device          cd              # CD
device          ses             # SCSI Environmental Services (and SAF-TE)
device          pass            # Passthrough device (direct SCSI access)
device          ch              # SCSI media changers
