# openbsd/i386 3.0 kernel config file
# for a macintosh running virtual pc
# peter bartoli - downtime@slagheap.net
# last modified 3/9/2001

# machine architecture
machine		i386
#option		I386_CPU	# kernel crashes w/o this option under vpc 4
option		I686_CPU
option		VIRTUAL_PC

# kernel filename and swap configuration
config		bsd	swap generic

# core kernel options
#option		GPL_MATH_EMULATE
#option		CRYPTO		# cryptographic framework
#option		ALTQ		# altq base
#option		DDB		# in-kernel debugger
#option		DIAGNOSTIC	# internal consistency checks
#option		KTRACE		# system call tracing, a la ktrace(1)

# i386-specific kernel options
option		XSERVER		# diddle with console driver
option		APERTURE	# in-kernel aperture driver for xfree86
option		DUMMY_NOPS	# speed hack; recommended

# memory management / paging options
#option		KMEMSTATS	# collect malloc(9) statistics

# file system support
option		FFS		# unix file system, berkeley style
option		FFS_SOFTUPDATES	# softupdates
option		CD9660		# iso9660 + rock ridge file system
option		FIFO		# fifo's (recommended)
option		MSDOSFS		# ms-dos file system
#option		NFSCLIENT	# nfs client-side kernel code

# network options
option		INET		# ip + icmp + tcp + udp
option		RAW4ALL		# raw sockets for all users
option		TCP_SACK	# selective acknowledgements for tcp
#option		IPSEC		# ipsec (kernel won't compile w/o this one)

# time options
option		TIMEZONE=480	# pacific timezone -0800
option		DST=1		# assume mac clock tracks DST

# compatibility options
option		COMPAT_LINUX	# binary compatibility with Linux
#option		COMPAT_FREEBSD	# binary compatibility with FreeBSD
#option		COMPAT_BSDOS	# binary compatibility with BSD/OS
option		SYSVMSG		# system V-like message queues
option		SYSVSEM		# system V-like semaphores
option		SYSVSHM		# system V-like memory sharing

# display options
option		WSDISPLAY_COMPAT_USL		# VT handling          
option		WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
option		WSDISPLAY_COMPAT_PCVT		# emulate some ioctls  
option		WSDISPLAY_DEFAULTSCREENS=6                             

maxusers	64		# estimated number of users

# device support
mainbus0 at root
bios0	at mainbus0
apm0	at bios0 flags 0x0000
pcibios0 at bios0 flags 0x0000
# math coprocessor
npx0	at isa? port 0xf0 irq 13
# pci bus and bridges
pci*	at mainbus0 bus ?
pchb*	at pci? dev ? function ?	# pci-host bridges
pcib*	at pci? dev ? function ?	# pci-isa bridges (do nothing)
# isa support
isa0    at pcib?
isadma0	at isa?
isapnp0	at isa?				# plug and pray
# console
vga*	at pci? dev ? function ?	# display
pckbc0	at isa?				# keyboard controller
pckbd*	at pckbc?			# pc keyboard
pmsi*	at pckbc?			# mouse
wsdisplay* at vga? console ?
wskbd*	at pckbd? console?
wsmouse* at pmsi? mux 0
# emulated tulip-based network card
de0	at pci? dev ? function ?
# ide controllers and hard disks
pciide* at pci ? dev ? function ? flags 0x0000
wd*	at pciide? channel ? drive ? flags 0x0000
# atapi/scsi bridge (used by cdrom)
atapiscsi* at pciide? channel ?
scsibus* at atapiscsi?
# cdrom driver
cd*	at scsibus? target ? lun ?
# floppy drive and controller
fdc0	at isa? port 0x3f0 irq 6 drq 2
fd*	at fdc? drive ?
# serial ports (supported, but disabled)
#pccom0	at isa? port 0x3f8 irq 4
#pccom1 at isa? port 0x2f8 irq 3
# parallel port (supported, but disabled)
#lpt0	at isa? port 0x378 irq 7
# usb controller, bus, and hubs (supported, but disabled)
#ohci*   at pci?
#usb*    at ohci?
#uhub*   at usb?
#uhub*  at uhub? port ? configuration ? interface ?

# audio support (works, but disabled)
#sb*	at isapnp?
#midi*   at sb?
#audio*  at sb?
#opl*    at sb?
#midi*   at opl?
# pc speaker (also works, but disabled)
#pcppi0	at isa?
#sysbeep0 at pcppi?
#midi*   at pcppi?

# pseudo devices
pseudo-device	ksyms		1	# kernel symbols device
pseudo-device	pctr		1	# cpu performance counters
pseudo-device	mtrr		1	# memory range attributes control
pseudo-device	pty		64	# pseudo-terminals
pseudo-device	wsmux		2	# keyboard and mouse multiplexor
#pseudo-device	crypto		1	# cryptographic framework
pseudo-device	loop		2	# network loopback
pseudo-device	bpfilter	16	# packet filter
#pseudo-device	enc		1	# encapsulation device for ipsec
pseudo-device	sequencer	1

