#	$OpenBSD: RAMDISKB,v 1.74 2004/08/18 02:53:50 deraadt Exp $

machine		i386		# architecture, used by config; REQUIRED

option		SCSITERSE
option		APM_NOPRINT

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

option		SMALL_KERNEL
option		NO_PROPOLICE

#option		DUMMY_NOPS	# speed hack; recommended

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

#makeoptions	DEBUG="-g"	# compile full symbol table

option		FFS		# UFS
option		EXT2FS		# Linux ext2fs

#option		NFSCLIENT	# Network File System client

option		CD9660		# ISO 9660 + Rock Ridge file system
#option		MSDOSFS		# MS-DOS file system
option		FIFO		# FIFOs; RECOMMENDED

option		INET		# IP + ICMP + TCP + UDP

option		BOOT_CONFIG	# boot-time kernel config

option		RAMDISK_HOOKS
option		MINIROOTSIZE=3560

config		bsd	root on rd0a swap on rd0b and wd0b and sd0b

mainbus0 at root

cpu0	at mainbus? apid ?
bios0	at mainbus0 apid ?
apm0	at bios0 flags 0x0000	# flags 0x0101 to force protocol version 1.1
#option	APMDEBUG
pcibios0 at bios0 flags 0x0000

isa0	at mainbus0
isa0	at pcib?
isa0	at ichpcib?
isa0	at gscpcib?
eisa0	at mainbus0
pci*	at mainbus0

option		PCIVERBOSE
#option		EISAVERBOSE

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 bridge
ichpcib* at pci? dev ? function ?	# Intel ICHx/ICHx-M LPC bridges
gscpcib* at pci? dev ? function ?	# NS Geode SC1100 PCI-ISA bridge

# ISA PCMCIA controllers
#pcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000
#pcic1	at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000
#pcic2	at isa? port 0x3e4 iomem 0xd4000 iosiz 0x4000

# PCI PCMCIA controllers
#pcic*	at pci? dev? function ?

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

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

pckbc0		at isa?			# PC keyboard controller
pckbd*		at pckbc?		# PC keyboard
wskbd*		at pckbd? console ?
vga0		at isa?
vga*		at pci? dev ? function ?
pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
wsdisplay*	at vga? console ?
wsdisplay*	at pcdisplay? console ?

pccom0	at isa? port 0x3f8 irq 4	# standard PC serial ports
pccom1	at isa? port 0x2f8 irq 3
pccom2	at isa? port 0x3e8 irq 5
#pccom3	at isa? port 0x2e8 irq 9
#ast0	at isa? port 0x1a0 irq 5	# AST 4-port serial cards
#pccom*	at ast? slave ?
#boca0	at isa? port 0x100 irq 5	# BOCA 8-port serial cards
#pccom*	at boca? slave ?
#rtfps0	at isa? port 0x1230 irq 10	# RT 4-port serial cards
#pccom*	at rtfps? slave ?
#pccom*	at pcmcia? function ?		# PCMCIA modem cards
#pccom*	at isapnp?

# option for using CD1400 handshaking for incoming data
# requires a special cable that exchanges the RTS and DTR lines
# options CY_HW_RTS
#cy0	at isa? iomem 0xd4000 irq 12	# ISA cyclom card
#cy*	at pci?				# PCI cyclom card

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

#bha0	at isa? port 0x330 irq ? drq ?	# BusLogic [57]4X SCSI controllers
#bha1	at isa? disable port 0x334 irq ? drq ? # BusLogic [57]4X SCSI controllers
#bha2	at isa? disable port ? irq ?
#bha*	at pci? dev ? function ?
#bha*	at eisa? slot ?			# XXX eisa still runs in isa-compat
#scsibus* at bha?
#aha0	at isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI controllers
#aha1	at isa? port 0x334 irq ? drq ?	# Adaptec 154[02] SCSI controllers
#aha*	at isapnp?
#scsibus* at aha?
#ahb*	at eisa? slot ?			# Adaptec 174[024] SCSI controllers
#scsibus* at ahb?
#ahc0	at isa? port ? irq ?		# Adaptec 284x SCSI controllers
#ahc*	at eisa? slot ?			# Adaptec 274x, aic7770 SCSI controllers
#ahc*	at pci? dev ? function ?	# Adaptec 2940 SCSI controllers
#scsibus* at ahc?
ahd*	at pci? dev ? function ?	# Adaptec 79?? SCSI controllers
scsibus* at ahd?
mpt*	at pci? dev ? function ?	# LSI Fusion-MPT SCSI/Fibre
scsibus* at mpt?
dpt*	at pci? dev ? function ?        # DPT SmartCache/SmartRAID PCI
dpt*	at eisa? slot ?			# DPT SmartCache/SmartRAID EISA
scsibus* at dpt?
gdt*	at pci? dev ? function ?	# ICP Vortex GDT RAID controllers
scsibus* at gdt?
aac*	at pci? dev ? function ?	# Adaptec FSA RAID controllers
scsibus* at aac?
ami*	at pci? dev ? function ?	# AMI MegaRAID controllers
scsibus* at ami?
cac*	at pci? dev ? function ?	# Compaq Smart ARRAY RAID controllers
cac*	at eisa? slot ?
scsibus* at cac?
twe*	at pci? dev ? function ?	# 3ware Escalade RAID controllers
scsibus* at twe?
iha*	at pci? dev ? function ?	# Initio Ultra/UltraWide SCSI controllers
scsibus* at iha?
isp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
scsibus* at isp?
#aic0	at isa? port 0x340 irq 11	# Adaptec 152[02] SCSI controllers
#aic*	at isapnp?
#scsibus* at aic?
#ncr*	at pci? dev ? function ?	# NCR 538XX SCSI controllers(old)
#scsibus* at ncr?
#siop*	at pci? dev ? function ?	# NCR 538XX SCSI controllers(new)
#scsibus* at siop?
#adv*	at pci? dev ? function ?	# AdvanSys 1200A/B and ULTRA SCSI
#scsibus* at adv?
adw*	at pci? dev ? function ?	# AdvanSys ULTRA WIDE SCSI
scsibus* at adw?
#pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
#scsibus* at pcscp?
#sea0	at isa? iomem 0xc8000 irq 5	# Seagate ST0[12] SCSI controllers
#scsibus* at sea?
#trm*	at pci? dev ? function ?	# Tekram DC-3x5U SCSI Controllers
#scsibus* at trm?
#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?
#wds0	at isa? port 0x350 irq 15 drq 6	# WD7000 and TMC-7000 controllers
#wds1	at isa? port 0x358 irq 11 drq 5
#scsibus* at wds?

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
#uk*	at scsibus? target ? lun ?	# SCSI unknown devices

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 10	# Mitsumi CD-ROM drives

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

wdc0	at isa? port 0x1f0 irq 14 flags 0x00
wdc1	at isa? port 0x170 irq 15 flags 0x00
#wdc*	at pcmcia? function ?
#wdc*	at isapnp?

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

# I2O
iop*	at pci? dev ? function ?	# I2O
ioprbs*	at iop? tid ?			# Random block storage
scsibus* at ioprbs?

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

#wt0	at isa? port 0x308 irq 5 drq 1		# Archive/Wangtek QIC tapes

#we0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC 80x3 ethernet series
#we1	at isa? port 0x300 iomem 0xcc000 irq 10	#
#we*	at isapnp?
#ec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3C503 ethernet card
#ne0	at isa? port 0x240 irq 9		# NE[12]000 ethernet card
#ne1	at isa? port 0x300 irq 10		# NE[12]000 ethernet card
#ne2	at isa? port 0x280 irq 9		# NE[12]000 ethernet
#ne*	at isapnp?				# NE[12]000 PnP ethernet cards
#eg0	at isa? port 0x310 irq 5		# 3C505/Etherlink+ ethernet cards
#el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
#ep0	at isa? port ? irq ?			# 3C509 ethernet cards
#ep*	at isa? port ? irq ?			# 3C509 ethernet cards
#ef*	at isapnp?				# 3C515 PnP ethernet
#ie0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN and 3C507
#ie1	at isa? port 0x300 irq 10		# EtherExpress
#le0	at isa? port 0x360 irq 15 drq 6		# IsoLan, NE2100, and DEPCA
#ex0	at isa? port 0x320 irq 5		# Intel EtherExpress PRO/10
#ep0	at eisa? slot ?
#ep*	at eisa? slot ?				# 3C579 ethernet cards
#fea*	at eisa? slot ?				# DEC DEFEA FDDI cards
#le*	at pci? dev ? function ?		# PCnet-PCI based ethernet cards
#ep*	at isapnp?				# 3C509 PnP ethernet cards
#le*	at isapnp?
de*	at pci? dev ? function ?		# DC21X4X-based ethernet cards
fxp*	at pci? dev ? function ?		# EtherExpress 10/100B ethernet cards
ep0	at pci? dev ? function ?		# 3C59x ethernet cards
ep*	at pci? dev ? function ?		# 3C59x ethernet cards
#ne*	at pci? dev ? function ?		# NE2000-compat ethernet cards
#ne*	at pcmcia? function ?			# PCMCIA based NE2000 cards
#ep*	at pcmcia? function ?			# PCMCIA based 3c5xx cards
#sm*	at pcmcia? function ?			# PCMCIA based sm cards
#xe*	at pcmcia? function ?			# Xircom ethernet
#fpa*	at pci? dev ? function ?		# DEC DEFPA FDDI cards
xl*	at pci? dev ? function ?		# 3C9xx ethernet cards
#rl*	at pci? dev ? function ?		# RealTek 81[23]9 ethernet
#tx*	at pci? dev ? function ?		# SMC 83C170 EPIC ethernet cards
#tl*	at pci? dev ? function ?		# Compaq Thunderlan ethernet cards
vr*	at pci? dev ? function ?		# VIA Rhine ethernet
#wb*	at pci? dev ? function ?		# Winbond W89C840F ethernet
dc*	at pci? dev ? function ?		# 21143, "tulip" clone ethernet
#ti*	at pci? dev ? function ?		# Alteon Tigon 1Gb ethernet
#skc*	at pci? dev ? function ?		# SysKonnect GEnesis 984x
#sk*	at skc?					#  each port of above
em*	at pci? dev ? function ?		# Intel Pro/1000 ethernet
#txp*	at pci? dev ? function ?		# 3com 3CR990
#nge*	at pci? dev ? function ?		# NS DP83820/DP83821 GigE
bge*	at pci? dev ? function ?		# Broadcom BCM570x (aka Tigon3)
#stge*	at pci? dev ? function ?		# Sundance TC9021 GigE
re*	at pci? dev ? function ?		# Realtek 8169/8169S/8110S
#lge*	at pci? dev ? function ?		# Level1 LXT1001 GigE
#hme*	at pci? dev ? function ?		# Sun Happy Meal

# Wireless network cards
wi*	at pci? dev ? function ?		# WaveLAN IEEE 802.11DS
#wi*	at pcmcia? function ?			# WaveLAN IEEE 802.11DS
#awi*	at pcmcia? function ?			# Bay Networks IEEE 802.11FH
#an*	at pcmcia? function ?			# Aironet IEEE 802.11DS
#cnw*	at pcmcia? function ?			# Xircom Netwave
#ray*	at pcmcia? function ?			# Raylink Aviator2.4/Pro 802.11FH

# Media Independent Interface (mii) drivers
exphy*	at mii? phy ?				# 3Com internal PHYs
inphy*	at mii? phy ?				# Intel 82555 PHYs
iophy*	at mii? phy ?				# Intel 82553 PHYs
icsphy*	at mii? phy ?				# ICS 1890 PHYs
#lxtphy*	at mii? phy ?			# Level1 LXT970 PHYs
nsphy*	at mii? phy ?				# NS and compatible PHYs
nsphyter*	at mii? phy ?				# NS and compatible PHYs
qsphy*	at mii? phy ?				# Quality Semi QS6612 PHYs
#sqphy*	at mii? phy ?				# Seeq 8x220 PHYs
rlphy* at mii? phy ?				# RealTek 8139 internal PHYs
mtdphy*	at mii? phy ?				# Myson MTD972 PHYs
dcphy*	at mii? phy ?				# Digital Clone PHYs
amphy*	at mii? phy ?				# AMD 79C873 PHYs
tqphy*	at mii? phy ?				# TDK 78Q212x PHYs
bmtphy* at mii? phy ?				# Broadcom 10/100 PHYs
ukphy*	at mii? phy ?				# "unknown" PHYs

pseudo-device	loop	1		# network loopback
#pseudo-device	sl	1		# CSLIP
#pseudo-device	ppp	1		# PPP
pseudo-device	bpfilter 1		# packet filter
pseudo-device	rd	1		# ramdisk
