#	$OpenBSD: GENERIC,v 1.36 2003/08/20 20:53:31 mickey Exp $

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

include "../../../conf/GENERIC"

# 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

# Need to set locally
maxusers	32

config	bsd swap generic

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 mainbus0 irq ?	# 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
pms*	at gsckbc?	# PS/2 mouse
#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? mux 1
wskbd*		at hilkbd? mux 1
wsmouse*	at pms? mux 0
wsmouse*	at hilms? mux 0

#fd*	at fdc?	drive ?	# floppy drives

# 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	wsmux	2	# mouse and keyboard multiplexor
