#	$OpenBSD: GENERIC,v 1.56 2004/08/19 08:13:05 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		# 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		USE_HPT

option		FPEMUL
option		USELEDS		# blink 'em
option		USER_PCICONF	# user-space PCI configuration

# 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

config	bsd swap generic

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 30)
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 9
com1	at dino? irq 11

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

# CardBus bus support
cbb*		at pci? dev ? function ?
cardslot*	at cbb?
option		CARDBUS_DEBUG,CARDSLOT_DEBUG,CARDBUS_MAP_DEBUG
cardbus*	at cardslot?
option		PCMCIADEBUG,PCMCIAVERBOSE
pcmcia*		at cardslot?

# PCI USB Controllers
#ehci*	at pci?				# Enhanced Host Controller
#uhci*	at pci?				# Universal Host Controller (Intel)
#ohci*	at pci?				# Open Host Controller

# USB bus support
#usb*	at ehci?
#usb*	at uhci?
#usb*	at ohci?

# USB devices
#uhub*	at usb?				# USB Hubs
#uhub*	at uhub? port ? configuration ?	# USB Hubs
#umodem*	at uhub? port ? configuration ?	# USB Modems/Serial
#ucom*	at umodem?
#uvisor*	at uhub? port ? configuration ?	# Handspring Visor
#ucom*	at uvisor?
#uvscom*	at uhub? port ?			# SUNTAC Slipper U VS-10U serial
#ucom*	at uvscom? portno ?
#ubsa*	at uhub? port ?			# Belkin serial adapter
#ucom*	at ubsa? portno ?
#uftdi*	at uhub? port ?			# FTDI FT8U100AX serial adapter
#ucom*	at uftdi? portno ?
#uplcom* at uhub? port ?			# I/O DATA USB-RSAQ2 serial adapter
#ucom*	at uplcom? portno ?
#umct*	at uhub? port ?			# MCT USB-RS232 serial adapter
#ucom*	at umct? portno ?
#uaudio* at uhub? port ? configuration ?	# USB Audio
#audio*	at uaudio?
#umidi*	at uhub? port ? configuration ?	# USB MIDI
#midi*	at umidi?
#ulpt*	at uhub? port ? configuration ? # USB Printers
#umass*	at uhub? port ? configuration ? # USB Mass Storage devices
#scsibus* at umass?
#uhidev*	at uhub? port ? configuration ? interface ?	# Human Interface Devices
#ums*	at uhidev? reportid ?		# USB mouse
#wsmouse* at ums? mux 0
#ukbd*	at uhidev? reportid ?		# USB keyboard
#wskbd*	at ukbd? console ? mux 1
#uhid*	at uhidev? reportid ?		# USB generic HID support
#aue*	at uhub? port ?			# ADMtek AN986 Pegasus Ethernet
#axe*	at uhub? port ?			# ASIX Electronics AX88172 USB Ethernet
#cue*	at uhub? port ?			# CATC USB-EL1201A based Ethernet
#kue*	at uhub? port ?			# Kawasaki KL5KUSB101B based Ethernet
#cdce*	at uhub? port ?			# CDC Ethernet
#upl*	at uhub? port ?			# Prolific PL2301/PL2302 host-to-host `network'
#url*	at uhub? port ?			# Realtek RTL8150L based adapters
#wi*	at uhub? port ?			# WaveLAN IEEE 802.11DS
#urio*	at uhub? port ?			# Diamond Multimedia Rio 500
#uscanner* at uhub? port ?		# USB Scanners
#usscanner* at uhub? port ?		# USB SCSI scanners, e.g., HP5300
#scsibus* at usscanner?
#uyap*	at uhub? port ?			# Y@P firmware loader
#udsbr*	at uhub? port ?			# D-Link DSB-R100 radio
#radio*	at udsbr?			# USB radio
#ugen*	at uhub? port ? configuration ? # USB Generic driver

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
#venus* at mainbus? irq 5	# ATM J2498A/J3420A

# 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
#com*	at pcmcia? function ?		# PCMCIA modems

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?

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

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

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
wdc*	at pcmcia? function ?
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	wsmux	2	# mouse and keyboard multiplexor
