#
# Thinkpad 240
#

machine		i386

option		CITI

option		I686_CPU

option		XSERVER
option		APERTURE	# in-kernel aperture driver for XFree86
option		BOOT_CONFIG	# add support for boot -c

option		TIMEZONE=300
option		DST=0
option		NTP		# High precision timekeeping support

option		SWAPPAGER	# paging; REQUIRED
option		DEVPAGER	# mmap() of devices

option		DDB		# in-kernel debugger
option		DIAGNOSTIC	# internal consistency checks
option		KTRACE		# system call tracing, a la ktrace(1)
option		LKM		# needed for afs
option		CRYPTO		# Cryptographic framework
option		UVM
option		APM_DISABLE_INTERRUPTS=0

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

option		COMPAT_43	# and 4.3BSD
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		EXT2FS
option		CD9660		# ISO 9660 + Rock Ridge file system
option		MSDOSFS		# MS-DOS file system
option		FIFO		# FIFOs; RECOMMENDED
option		KERNFS		# /kern
option		NULLFS		# loopback file system
option		PROCFS		# /proc

option		NFSCLIENT	# Network File System client

option		GATEWAY		# packet forwarding
option		INET		# IP + ICMP + TCP + UDP
option		IPSEC		# IPsec
option		TCP_SACK	# Selective Acknowledgements for TCP
option		PPP_DEFLATE

maxusers	16

config		bsd	root on wd0a swap on wd0b and vnd0c

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 mainbus0
isa0	at pcib?
pci*	at mainbus0 bus ?

option		PCIVERBOSE

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

# ISA PCMCIA controllers
pcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000

# PCMCIA bus support
pcmcia*	at pcic? controller ? socket ?

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

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

# USB bus support
#usb*	at uhci?
#usb*	at ohci?

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

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

# USB Printers
#ulpt*	at uhub? port ? configuration ? interface ?

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

# 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
options	PCVT_NSCREENS=6
options	PCVT_CTRL_ALT_DEL		# three-fingered salute
options	PCVT_INHIBIT_NUMLOCK
options	PCVT_META_ESC			# for "sane" ALT key handling
options	COLOR_KERNEL_FG=FG_CYAN
options COLOR_KERNEL_BG=BG_BLACK
options PCVT_EMU_MOUSE			# mouse-be-gone

pcppi0	at isa?
sysbeep0	at pcppi?

#pccom0	at isa? port 0x3f8 irq 4	# stupid loser modem
pccom0	at isa? port 0x2f8 irq 3	# serial port
pccom1	at pcmcia? function ?		# PCMCIA modem cards
pccom2	at isa? port 0x3e8 irq 4	# IR

lpt0	at isa? port 0x378 irq 7

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

fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
fd0	at fdc0 drive 0 flags 0x32	# don't auto-detect, assume 1.44 MB

# IDE controllers
pciide0 at pci ? dev ? function ? flags 0x0000
wdc*	at pcmcia? function ?

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

# ATAPI<->SCSI
atapiscsi* at wdc? channel ?
atapiscsi* at pciide? channel ?
scsibus* at atapiscsi?

cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives

# Network
ne*	at pcmcia? function ?			# PCMCIA based NE2000 cards
ep*	at pcmcia? function ?			# PCMCIA based 3C5xx cards
sm*	at pcmcia? function ?			# PCMCIA based sm cards
wi*	at pcmcia? function ?			# WaveLAN IEEE 802.11

# Audio
spkr0	at pcppi?		# PC speaker
eso*	at pci? dev ? function ?		# ESS Solo-1 PCI AudioDrive
opl*	at eso?
midi*	at pcppi?		# MIDI interface to the PC speaker
midi*	at opl?			# OPL FM synth
audio*	at eso?

pseudo-device	loop	1	# network loopback
pseudo-device	bpfilter 8	# packet filter
pseudo-device	ppp	2	# PPP
pseudo-device	tun	2	# network tunneling over tty
pseudo-device	ksyms	1	# kernel symbols device
pseudo-device	enc	4	# IPSEC needs the encapsulation interface
pseudo-device	gre	1	# GRE encapsulation interface

pseudo-device	pctr		1
pseudo-device	mtrr		1	# Memory range attributes control

pseudo-device	pty	32		# pseudo-terminals
pseudo-device	vnd	4		# paging to files
