#	$OpenBSD: RAMDISK,v 1.29 2004/03/17 00:41:30 miod Exp $
#
# Diskless kernel config
#

# Machine architecture; required by config(8)
machine	hppa

option		DDB		# in-kernel debugger
option		DIAGNOSTIC	# internal consistency checks

option		FFS		# UFS
option		NFSCLIENT	# Network File System client
option		CD9660		# ISO 9660 + Rock Ridge file system
option		FDESC		# /dev/fd
option		FIFO		# FIFOs; RECOMMENDED
option		INET		# IP + ICMP + TCP + UDP
option		INET6		# IPv6 (needs INET)

# Support for various CPU types
option	HP7000_CPU		# PCXS
option	HP7100_CPU	# PCXT
option	HP7200_CPU	# PCXT'
option	HP7100LC_CPU	# PCXL
option	HP7300LC_CPU	# PCXL2
#option	HP8000_CPU	# PCXU  (in 32bit mode)
#option	HP8200_CPU	# PCXU2 (in 32bit mode)
#option	HP8500_CPU	# PCXW  (in 32bit mode)

option		FPEMUL
option		USELEDS		# blink 'em
#option		USER_PCICONF	# user-space PCI configuration
option		BOOT_CONFIG	# add support for boot -c

# Need to set locally
maxusers	32

option		TIMEZONE=0	# time zone to adjust RTC time by
option		DST=0		# daylight saving time used by RTC

option		RAMDISK_HOOKS
option		MINIROOTSIZE=5120
config	bsd	root on rd0a swap on rd0b # and sd0b

mainbus0 at root		# root "bus"

mem*	at mainbus0 flags 0x0000	# /dev/*mem and memory controller
pdc0	at mainbus0		# PDC/IODC wrapper for boot console
power0	at mainbus0		# power/fail manager (iv 2)
cpu*	at mainbus0 irq 31	# HP PA-RISC cpu
#fpu*	at mainbus0		# HP PA-RISC fpu (iv N/A)
#pmu*	at mainbus0 irq 29	# HP PA-RISC perfomance monitor unit
phantomas0 at mainbus0		# Phantom PseudoBC GSC+ Port

lasi0	at mainbus0 offset 0x100000 irq 28	# LASI host adapter
lasi0	at mainbus0 offset 0xfd00000 irq 28	# LASI on C1[01]0, J2[01]0
lasi0	at phantomas0 offset 0xfd00000 irq 28	# LASI on [ABC]*
lasi1	at mainbus0 offset 0x500000 irq 27	# 712 GIO card
asp*	at mainbus0 irq 28	# this one comes w/ Viper and LEDs
wax*	at mainbus0 irq 24	# Wax may host EISA as well
mongoose* at mainbus0 irq 17	# EISA Bus Adapter (i82350 or TI???)
#vmeb*	at mainbus0 irq ?	# VME bus adapter
dino*	at phantomas? irq 26	# PCI bus bridge
pci*	at dino?
option	PCIVERBOSE
#pckbc0	at dino? irq 23
#com3	at dino? irq 21

sti0	at mainbus0 irq 11	# [H]CRX-{8,24,48}[Z] graphics
sti0	at phantomas0 irq 11	# builtin graphics on BC*
sti1	at mainbus0 irq 12
sti1	at phantomas0 irq 12

#medusa* at mainbus? irq 4	# FDDI

# internal i/o space
gsc0	at asp?			# Snakes, old 715, old 725, 735/755
gsc0	at lasi0		# 712,715/100,725/64,725/100,[ABCJ]*
gsc1	at lasi1
gsc2	at wax?			# it's another face of LASI

#vme*	at vmeb?
#option	VMEVERBOSE
eisa*	at mongoose?
#eisa*	at wax?
option	EISAVERBOSE
#isa*	at mongoose?
#isa*	at wax?

# GSC devices

hil*	at gsc? irq 1	# Human Interface Loop, kbd and mouse
hilkbd*	at hil? code ?	# keyboard, knob and buttons
#hilms*	at hil? code ?	# mouse and tablets
#hilid*	at hil? code ?	# ID module

# RS/232 serial ports
com0	at gsc0 offset 0x5000 irq 5	# on lasi
com1	at gsc1 offset 0x5000 irq 5
com1	at gsc2 offset 0x2000 irq 6	# on wax
com0	at gsc0 offset 0x23000 irq 5	# on asp
com1	at gsc0 offset 0x22000 irq 6
com2	at gsc0 offset 0x0 irq 13	# only on asp0 w/o audio (off ?)
com2	at gsc0 offset 0x4040 irq 13	# gecko's fax/voice/modems
com3	at gsc0 offset 0x4060 irq 13

lpt0	at gsc? irq 7			# both com and lpt are on WD16C552
ie0	at gsc0 irq 8			# 82C596DX/CA ether
#ie1	at gsc1 irq 8
#ie*	at eisa? slot ?
#ie*	at isa? port 0x360 iomem 0xd0000 irq 7
#ie*	at isa? port 0x300 irq 10
#ie*	at pci? dev ? function ?
#tms*	at gsc? irq 10			# TMS380C26 Network Controller
osiop*	at gsc? irq 9			# NCR 53C710 (Narrow SE)
#osiop* at eisa? slot ?
scsibus* at osiop?
oosiop*	at gsc? irq 9			# NCR 53C700 (Narrow SE)
scsibus* at oosiop?
#harmony* at gsc? irq 13		# Audio Type 2 (CS4215/AD1849)
#audio*	at harmony?
gsckbc*	at gsc? irq 26
gsckbd*	at gsckbc?			# PS/2 keyboard
#pms*	at gsckbc?			# PS/2 mouse

# EISA devices
#sh*	at eisa? slot ?			# Interphase Seahawk 4811 EISA/FDDI
#ep*	at eisa? slot ?			# 3C579 ethernet
#ep*	at pci? dev ? function ?	# 3c59x ethernets
#ahb*	at eisa? slot ?			# Adaptec 174[024] SCSI controllers
#scsibus* at aha?
#ahc*	at eisa? slot ?			# Adaptec 274x, aic7770 SCSI controllers
ahc*	at pci? dev ? function ?	# Adaptec 2940 SCSI controllers
scsibus* at ahc?
#option	BHADEBUG
#bha*	at eisa? slot ?
#bha*	at pci? dev ? function ?
#scsibus* at bha?

ppb*	at pci? dev ? function ?
pci*	at ppb?

#siop*	at mainbus? irq 3		# NCR 53C720 (Fast/Wide Diff)
siop*	at pci? dev ? function ?	# NCR 538XX SCSI controllers(new)
scsibus* at siop?

#fpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
dc*	at pci? dev ? function ?	# 21143, "tulip" clone ethernet
#xl*	at pci? dev ? function ?	# 3C9xx ethernet
#em*	at pci? dev ? function ?	# Intel Pro/1000 ethernet
#ti*	at pci? dev ? function ?	# Alteon Tigon 1Gb ethernet
fxp*	at pci? dev ? function ?	# EtherExpress 10/100B ethernet
#txp*	at pci? dev ? function ?	# 3com 3CR990
#ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
#an*	at pci? dev ? function ?	# Cisco/Aironet 802.11DS
#wi*	at pci? dev ? function ?	# WaveLAN IEEE 802.11DS

dcphy*		at mii? phy ?		# Digital Clone PHYs
amphy*		at mii? phy ?		# AMD 79C873 PHYs
#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 ?		# ICS1890 PHYs
lxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
nsphy*		at mii? phy ?		# NS83840 PHYs
#nsphyter*	at mii? phy ?		# NS83843 PHYs
#mtdphy*	at mii? phy ?		# Myson MTD972 PHYs
#qsphy*		at mii? phy ?		# Quality Semi QS6612 PHYs
#sqphy*		at mii? phy ?		# Seeq 8022[013] PHYs
#tlphy*		at mii? phy ?		# ThunderLAN PHYs
#tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
#brgphy*	at mii? phy ?		# Broadcom 10/100/1000 PHYs
#bmtphy*	at mii? phy ?		# Broadcom 10/100 PHYs
#eephy*		at mii? phy ?		# Marvell 88E1000 Gigabit PHYs
ukphy*		at mii? phy ?		# generic unknown PHYs

# MI devices
#wsdisplay*	at vgafb?
wsdisplay*	at sti?
wskbd*		at gsckbd? # mux 1
wskbd*		at hilkbd? # mux 1
#wsmouse*	at pms? mux 0
#wsmouse*	at hilms? mux 0

#fdc*	at gsc?		# PC floppy controller (WD37C65C)
#fdc*	at isa? port 0x3f0 irq 6 drq 2
#option	FD_DEBUG
#fd*	at fdc?	drive ?	# floppy drives

#pciide*	at pci ? dev ? function ? flags 0x0000
#wdc0	at isa? port 0x1f0 irq 14
#wdc1	at isa? port 0x170 irq 15
#wd*	at wdc? channel ? drive ? flags 0x0000
#wd*	at pciide? channel ? drive ? flags 0x0000
#atapiscsi* at pciide? channel ?
#scsibus* at atapiscsi?

# These entries find devices on all SCSI busses and assign
# unit numers dynamically.
sd*	at scsibus? target ? lun ?
st*	at scsibus? target ? lun ?
cd*	at scsibus? target ? lun ?
ch*	at scsibus? target ? lun ?
ss*	at scsibus? target ? lun ?
uk*	at scsibus? target ? lun ?

pseudo-device	rd	1	# ramdisk
pseudo-device	loop	1	# network loopback
pseudo-device	bpfilter 1	# packet filter
pseudo-device	pty	16	# pseudo-terminals
pseudo-device	ksyms	1	# kernel symbols device
