#	$OpenBSD: LAP,v 1.27 1998/09/11 11:35:35 fgsch Exp $
#	$NetBSD: TDR,v 1.64 1996/03/25 05:45:49 perry Exp $
#
#	TDR -- Theo Deraadt's 486
#

machine		i386		# architecture, used by config; REQUIRED

option		I386_CPU	# CPU classes; at least one is REQUIRED
option		I486_CPU
option		I586_CPU
#option		GPL_MATH_EMULATE	# floating point emulation

# Some BIOSes don't get the size of extended memory right.  If you
# have a broken BIOS, uncomment the following and set the value
# properly for your system.
#option		EXTMEM_SIZE=... # size of extended memory

option		DUMMY_NOPS	# speed hack; recommended
option		XSERVER		# diddle with console driver

maxusers	10		# estimated number of users
#option		TIMEZONE=0	# time zone to adjust RTC time by
#option		DST=0		# daylight savings time used by RTC

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		SYSVMSG		# System V-like message queues
option		SYSVSEM		# System V-like semaphores
option		SYSVSHM		# System V-like memory sharing
#option		SHMMAXPGS=1024	# 1024 pages is the default

option		COMPAT_09	# Kernel compatibility with NetBSD 0.9,
option		COMPAT_10	# NetBSD 1.0,
option		COMPAT_11	# NetBSD 1.1,
option		COMPAT_43	# and 4.3BSD
#option		TCP_COMPAT_42	# TCP bug compatibility with 4.2BSD

option		COMPAT_SVR4	# binary compatibility with SVR4
option		COMPAT_IBCS2	# binary compatibility with SCO and ISC
option		COMPAT_BSDOS	# binary compatibility with BSD/OS

option		USER_LDT	# user-settable LDT; used by WINE
option		LKM		# loadable kernel modules

option		FFS,QUOTA	# UFS and quotas
option		MFS		# memory file system

option		NFSCLIENT	# Network File System client
#option		NFSSERVER	# Network File System server

#option		CD9660		# ISO 9660 + Rock Ridge file system
option		MSDOSFS		# MS-DOS file system
#option		FDESC		# /dev/fd
option		FIFO		# FIFOs; RECOMMENDED
option		KERNFS		# /kern
#option		NULLFS		# loopback file system
#option		PORTAL		# dynamically created filesystem objects
#option		PROCFS		# /proc
#option		UMAPFS		# NULLFS + uid and gid remapping
#option		UNION		# union file system

option		GATEWAY		# packet forwarding
option		INET		# IP + ICMP + TCP + UDP
option		IPSEC		# IPsec
#option		NS		# XNS
#option		ISO,TPIP	# OSI
#option		EON		# OSI tunneling over IP
#option		CCITT,LLC,HDLC	# X.25

config		bsd	root on wd0 swap on wd0

mainbus0 at root

isa0	at mainbus0
#eisa0	at mainbus0
#pci0	at mainbus0

#ppb*	at pci? dev ? function ?	# PCI-PCI bridges
#pci*	at ppb? bus ?

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

#pc0	at isa? port 0x60 irq 1		# generic PC console device
vt0	at isa? port 0x60 irq 1

com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
com1	at isa? port 0x2f8 irq 3
#com2	at isa? port 0x3e8 irq 5
#com3	at isa? port 0x2e8 irq 9
#ast0	at isa? port 0x1a0 irq 5	# AST 4-port serial cards
#com*	at ast? slave ?
#rtfps0	at isa? port 0x1230 irq 10	# RT 4-port serial cards
#com*	at rtfps? slave ?

#cy0	at isa? ...

#lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
#lpt1	at isa? port 0x278
#lpt2	at isa? port 0x3bc

#lms0	at isa? port 0x23c irq 5	# Logitech bus mouse
#lms1	at isa? port 0x238 irq 5
#mms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
#mms1	at isa? port 0x238 irq 5
pms0	at pckbd? irq 12		# PS/2 auxiliary port mouse

#aha0	at isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI controllers
#aha1	at isa? port 0x334 irq ? drq ?	# Adaptec 154[02] SCSI controllers
#scsibus* at aha?
#ahb*	at eisa? slot ?			# Adaptec 174[024] SCSI controllers
#scsibus* at ahb?
#aic0	at isa? port 0x340 irq 12	# Adaptec 152[02] SCSI controllers
#scsibus* at aic?
#bt0	at isa? port 0x330 irq ? drq ?	# BusLogic [57]4X SCSI controllers
#bt1	at isa? port 0x334 irq ? drq ?	# BusLogic [57]4X SCSI controllers
#bt2	at isa? port ? irq ?
#scsibus* at bt?
#ncr*	at pci? dev ? function ?	# NCR 538XX SCSI controllers
#scsibus* at ncr?
#sea0	at isa? iomem 0xc8000 irq 5	# Seagate ST0[12] SCSI controllers
#scsibus* at sea?
#uha0	at isa? port 0x330 irq ? drq ?	# UltraStor [13]4f SCSI controllers
#uha1	at isa? port 0x334 irq ? drq ?	# UltraStor [13]4f SCSI controllers
#uha*	at eisa? slot ?			# UltraStor 24f SCSI controllers
#scsibus* at uha?
#sd*	at scsibus? target ? lun ?	# SCSI disk drives
#st*	at scsibus? target ? lun ?	# SCSI tape drives
#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
#ch*	at scsibus? target ? lun ?	# SCSI autochangers

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

#mcd0	at isa? port 0x300 irq 7	# Mitsumi CD-ROM drives

wdc0	at isa? port 0x1f0 irq 14	# ST506, ESDI, and IDE controllers
#wdc1	at isa? port 0x170 irq ?
wd*	at wdc? drive ?

#wt0	at isa? port 0x308 irq 5 drq 1	# Archive and Wangtek QIC tape drives

#ed0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC, 3C503, and NE[12]000
#ed1	at isa? port 0x250 iomem 0xd8000 irq 9	#   ethernet cards
#ed2	at isa? port 0x300 iomem 0xcc000 irq 10
#eg0	at isa? ...				# 3C505 ethernet cards
#el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
#ep0	at isa? port ? irq ?			# 3C509 ethernet cards
#ep1	at isa? port ? irq ?
#ep2	at isa? port ? irq ?
#ie0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN & 3C507 ethernet cards
#le0	at isa? port 0x320 irq 10 drq 7		# IsoLan, NE2100, and DEPCA

#sb0	at isa? port 0x220 irq 7 drq 1	# SoundBlaster
#spkr0	at pckbd? port 0x61

#option		PCIVERBOSE
#option		PCMCIA_DEBUG
#option		PCMCIA_ISA_DEBUG

#apm0	at bios0

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

# Multiple controllers need some testing.  Some laptops have multiple PCIC
# controllers instead of two-slot controllers.
# The i82365 (pcic) controller uses the same ports for the first two
# controllers and for the second two controllers.
# On some systems there the pcicmaster is a pci-chip (you'll see a pci
# device of the type "class bridge, subclass PCMCIA, ..." at bootup)
# you may try the following:
#
#   pcic0           at isa? port 0x3000 iomem 0xd0000 iosiz 0x4000
#
# ISA PCMCIA controllers
pcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000
pcic1	at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000

#ed*	at pcmcia? function ?
#ed*	at pcmcia? function ?
ep*	at pcmcia? function ?
#com*	at pcmcia? function ?
#com*	at pcmcia? function ?
com*	at pcmcia? function ?

pseudo-device	loop	1		# network loopback
pseudo-device	bpfilter 16		# packet filter
pseudo-device	sl	2		# CSLIP
pseudo-device	ppp	2		# PPP
pseudo-device	tun	2		# network tunneling over tty

pseudo-device	pty	32		# pseudo-terminals
#pseudo-device	tb	1		# tablet line discipline
pseudo-device	vnd	4		# paging to files
pseudo-device	enc		4	# encryption device
