#	$OpenBSD: RAMDISK,v 1.19 2003/08/20 20:53:31 mickey Exp $
#
# Diskless kernel config
#

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,HP7150_CPU		# PCXT
option	HP7100LC_CPU,HP7300LC_CPU	# PCXL, PCXL2
option	HP7200_CPU,HP7250_CPU		# PCXT'
#option	HP8000_CPU			# PCXU
#option	HP8200_CPU			# PCXU2
#option	HP8500_CPU			# PCXW

option		FPEMUL
option		USELEDS		# blink 'em
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		# /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

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

#medusa* at mainbus? irq 4	# FDDI
#siop*  at mainbus? irq 3	# NCR 53C720 (Fast/Wide Diff)
#scsibus* at siop?

# 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
#pci*	at dino?
#option	PCIVERBOSE
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
#tms*	at gsc? irq 10	# TMS380C26 Network Controller (802.3 or 802.5)
osiop*	at gsc? irq 9	# NCR 53C700/710 (Narrow SE)
scsibus* at osiop?
#harmony* at gsc? irq 13	# Audio Type 2 (CS4215/AD1849)
#audio*	at harmony?
gsckbc*	at gsc? irq 26
gsckbd*	at gsckbc?	# PS/2 keyboard
#fdc*	at gsc?		# PC floppy controller (WD37C65C)
#option	FD_DEBUG

# EISA devices
#sh*	at eisa? slot ?	# Interphase Seahawk 4811 EISA/FDDI board
#ep*	at eisa? slot ?
#ie*	at eisa? slot ?
#option	BHADEBUG
#bha*	at eisa? slot ?
#scsibus* at bha?

# ISA devices
#vga*	at isa?
#fdc*	at isa? port 0x3f0 irq 6 drq 2
#wdc0	at isa? port 0x1f0 irq 14
#wdc1	at isa? port 0x170 irq 15
#ie*	at isa? port 0x360 iomem 0xd0000 irq 7
#ie*	at isa? port 0x300 irq 10

# MI devices
#wsdisplay*	at vgafb?
wsdisplay*	at sti?
wskbd*		at gsckbd?
wskbd*		at hilkbd?

#fd*	at fdc?	drive ?	# floppy drives

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
