#
# WACKY OpenBSD 2.8 kernel config, based on
#
# /sys/arch/i386/conf/GENERIC:
#       $OpenBSD: GENERIC,v 1.224 2001/01/27 04:02:44 deraadt Exp $
#
# /sys/conf/GENERIC:
#      $OpenBSD: GENERIC,v 1.68 2001/01/05 05:13:46 angelos Exp $

machine		i386		# architecture, used by config; REQUIRED

option		I686_CPU

option		RAW4ALL		# raw sockets for everyone
option		ETHERSPOOF	# spoof MAC address
option		NFRSNIFF	# sniff from kmem
option		INSECURE	# needed to support NFRSNIFF

option		TIMEZONE=0	# time zone to adjust RTC time by
option		DST=0		# daylight savings time used by RTC
option		NTP		# hooks supporting the Network Time Protocol

option		SWAPPAGER	# paging; REQUIRED
option		DEVPAGER	# mmap() of devices
option		NMBCLUSTERS=8192
option		BUFCACHEPERCENT=20
option		APM_NOPRINT

option		DDB		# in-kernel debugger
option		DIAGNOSTIC	# internal consistency checks
option		KTRACE		# system call tracing, a la ktrace(1)
#option		KMEMSTATS	# collect malloc(9) statistics
option		DUMMY_NOPS	# speed hack; recommended

option		CRYPTO		# Cryptographic framework

option		SYSVMSG		# System V-like message queues
option		SYSVSEM		# System V-like semaphores
option		SYSVSHM		# System V-like memory sharing

option		UVM		# use the UVM virtual memory system
#option		UVM_SWAP_ENCRYPT# support encryption of pages going to swap

option		XSERVER		# diddle with console driver
option		APERTURE	# in-kernel aperture driver for XFree86

option		COMPAT_LINUX	# binary compatibility with Linux
option		COMPAT_FREEBSD	# binary compatibility with FreeBSD
option		COMPAT_BSDOS	# binary compatibility with BSD/OS

option		FFS		# UFS
option		FFS_SOFTUPDATES	# Soft updates
option		MFS		# memory file system
option		CD9660		# ISO 9660 + Rock Ridge file system
option		MSDOSFS		# MS-DOS file system
option		FDESC		# /dev/fd
option		FIFO		# FIFOs; RECOMMENDED

option		INET		# IP + ICMP + TCP + UDP
#option		INET6		# IPv6 (needs INET)
#option		PULLDOWN_TEST	# use m_pulldown for IPv6 packet parsing
option		IPSEC		# IPsec
option		IPFILTER	# IP packet filter for security
option		IPFILTER_LOG	# use /dev/ipl to log IPF
option		TCP_SACK	# Selective Acknowledgements for TCP
option		TCP_FACK	# Forward Acknowledgements for TCP

option		NFSCLIENT	# Network File System client

maxusers	32		# estimated number of users

config		bsd	root on wd0 swap on wd0

mainbus0 at root

bios0	at mainbus0
apm0	at bios0 flags 0x0000	# flags 0x0101 to force protocol version 1.1
pcibios0 at bios0 flags 0x0000

isa0	at pcib?
pci*	at mainbus0 bus ?

option		PCIVERBOSE
#option		PCMCIAVERBOSE
option		USBVERBOSE
#option		PCIBIOSVERBOSE

pchb*	at pci? dev ? function ?	# PCI-Host bridges
ppb*	at pci? dev ? function ?	# PCI-PCI bridges
pci*	at ppb? bus ?
pcib*	at pci? dev ? function ?	# PCI-ISA bridges (do nothing)

# CardBus bus support
cardbus*	at cardslot?
pcmcia*		at cardslot?
cbb*		at pci? dev ? function ?
cardslot*	at cbb?

# PCI USB Controllers
uhci*	at pci? 			# Universal Host Controller (Intel)

# USB bus support
usb*	at uhci?

# USB Hubs
uhub*	at usb?
uhub*	at uhub? port ? configuration ? interface ?

# USB Generic HID devices
uhid*	at uhub? port ? configuration ? interface ?

# USB Mass Storage devices
umass*	at uhub? port ? configuration ? interface ?
scsibus* at umass?

# USB Modems
umodem*	at uhub? port ? configuration ?
ucom*	at umodem?

# USB Audio
uaudio* at uhub? port ? configuration ?

# Handspring Visor
uvisor*	at uhub? port ? configuration ?
ucom*	at uvisor?

# USB Generic driver
ugen*	at uhub? port ? configuration ? interface ?

npx0	at isa? port 0xf0 irq 13	# math coprocessor
isadma0	at isa?

vt0	at isa? port 0x60 irq 1

pcppi0	at isa?
sysbeep0	at pcppi?

pccom*	at pcmcia? function ?		# PCMCIA modems/serial ports

lpt2	at isa? port 0x3bc

pms0	at pckbd? irq 12		# PS/2 auxiliary port mouse

fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
fd*	at fdc? drive ?

# IDE controllers
pciide* at pci ? dev ? function ? flags 0x0000

wdc*	at pcmcia? function ?

# IDE hard drives
wd*	at wdc? channel ? drive ? flags 0x0000
wd*	at pciide? channel ? drive ? flags 0x0000

# Networking devices
fxp*	at pci? dev ? function ?		# EtherExpress 10/100B ethernet
fxp*	at cardbus? dev ? function ?		# Intel PRO/100 ethernet
xl*	at cardbus? dev ? function ?		# 3C575/3C656 ethernet
ne*	at pcmcia? function ?			# PCMCIA based NE2000 ethernet
ep*	at pcmcia? function ?			# PCMCIA based 3C5xx ethernet
xe*	at pcmcia? function ?			# Xircom ethernet

# Wireless network cards
wi*	at pcmcia? function ?			# WaveLAN IEEE 802.11DS
an*	at pcmcia? function ?			# Aironet IEEE 802.11DS

# Media Independent Interface (mii) drivers
inphy*	at mii? phy ?				# Intel 82555 PHYs

clct*	at pci? dev ? function ?		# CS4281 CrystalClear audio

# MIDI support
midi*	at pcppi?		# MIDI interface to the PC speaker

#Audio Support
audio*	at clct?

pseudo-device	loop	2	# network loopback
pseudo-device	bpfilter 8	# packet filter
pseudo-device	tun	2	# network tunneling over tty
pseudo-device	enc	1	# IPSEC needs the encapsulation interface
pseudo-device	pty	64	# pseudo-terminals
pseudo-device	tb	1	# tablet line discipline
pseudo-device	vnd	4	# paging to files
pseudo-device	ksyms	1	# kernel symbols device
pseudo-device	bridge	2	# network bridging support
pseudo-device	pctr		1
pseudo-device	mtrr		1	# Memory range attributes control
pseudo-device	sequencer	1
# for IPv6
#pseudo-device	gif		4
