#	$OpenBSD: GENERIC,v 1.57 2002/04/04 23:16:21 jason Exp $
# 	$NetBSD: GENERIC32,v 1.18 2001/07/20 00:07:12 eeh Exp $

machine		sparc64

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

option		SUN4U
option		_LP64

option		PCIVERBOSE
option		USER_PCICONF	# user-space PCI configuration
option		APERTURE

maxusers	64

config		bsd	swap generic

# Main bus and CPU .. all systems.
mainbus0 at root
cpu0	at mainbus0

# Bus types found on SPARC systems.

sbus0	at mainbus0				# Ultra 1
psycho*	at mainbus0
pci*	at psycho?				# Ultra 5
pci*	at ppb?
ppb*	at pci? dev ? function ?
ebus*	at pci?

# PCI Ethernet
hme*	at pci? dev ? function ?
gem*	at pci? dev ? function ?
dc*	at pci? dev ? function ?

# PCI SCSI
siop*	at pci? dev ? function ?
scsibus* at siop?

# PCI Display
vgafb*		at pci? dev ? function ?
wsdisplay*	at vgafb?

# PCI crypto
hifn*		at pci? dev ? function ?
ubsec*		at pci? dev ? function ?

# PCI sound
autri*		at pci? dev ? function ?	# Trident 4D WAVE
eap*		at pci? dev ? function ?	# Ensoniq
midi*		at autri?
audio*		at autri?
audio*		at eap?

# USB bridges
ohci*	at pci? dev ? function ?
usb*	at ohci? flags 0x1

# USB devices
uhub*	at usb?
uhub*	at uhub? port ? configuration ?
ukbd*	at uhub?				# USB keyboard
wskbd*	at ukbd? console ?
ums*	at uhub? port ? configuration ?		# USB mouse
wsmouse* at ums?
uhid*	at uhub? port ? configuration ?		# USB generic human interface
ugen*	at uhub? port ? configuration ?		# USB generic device

#### Standard system devices -- all required for a given architecture

auxio*	at ebus?
beeper*	at ebus?

# SAB82532 based serial ports
sab*	at ebus?
sabtty* at sab?

# NS16550 based serial ports
com*	at ebus?
comkbd*	at ebus?
wskbd* at comkbd?

# i8042 based serial ports (PS/2 ports)
pckbc*	at ebus?				# controller
pckbd*	at pckbc?				#  ps2 keyboard
wskbd*	at pckbd? console ?			#   generic keyboard layer
pms*	at pckbc?				#  ps2 mouse
wsmouse* at pms?				#   generic mouse
pmsi*	at pckbc?				#  ps2 "intelli"mouse
wsmouse* at pmsi?				#   generic mouse

audioce*	at ebus?
audio*		at audioce?

# parallel ports
lpt*	at ebus?

# performance counters
uperf*	at ebus?
uperf*	at sbus? slot ? offset ?

zs*	at sbus? slot ? offset ?
zstty*	at zs? channel ?
zskbd*	at zs? channel ?
wskbd*	at zskbd? console ?

## PROM console driver -- if all else fails
pcons0	at mainbus0				# PROM console

## Mostek/DS1287 clocks
clock*	at sbus? slot ? offset ?
clock*	at ebus?
rtc*	at ebus?

## Timer chip found on (some) sun4u systems.
timer*	at mainbus0

## Lance Ethernet - AMD7990
le*		at sbus? slot ? offset ?
ledma*		at sbus? slot ? offset ?
le*		at ledma?

# Quad-ethernet glue device, and sub-devices
qec*		at sbus? slot ? offset ?
qe*		at qec?
be*		at qec?

hme*		at sbus? slot ? offset ?

# Magma serial/parallel port devices
magma*		at sbus? slot ? offset ?
mtty*		at magma?
mbpp*		at magma?

# Magma serial/parallel port devices
spif*		at sbus? slot ? offset ?
stty*		at spif?
sbpp*		at spif?

pciide*	at pci? dev ? function ? flags 0x0000
wd*	at pciide? channel ? drive ? flags 0x0a00
atapiscsi* at pciide? channel ?
scsibus* at atapiscsi?

#
# Note the flags on the esp entries below, that work around
# deficiencies in the current driver:
#	bits 0-7:  disable disconnect/reselect for the corresponding target
#	bits 8-15: disable synch negotiation for target [bit-8]
#	Note: targets 4-7 have disconnect/reselect enabled on the premise
#	      that tape devices normally have one of these targets. Tape
#	      devices should be allowed to disconnect for the SCSI bus
#	      to operate acceptably.
#
dma*	at sbus? slot ? offset ?		# SBus
esp*	at dma? flags 0x0000			# SBus
esp*	at sbus? slot ? offset ?

isp*	at sbus? slot ? offset ?

# SCSI bus layer.  SCSI devices attach to the SCSI bus, which attaches
# to the underlying hardware controller.
scsibus*	at esp?
scsibus*	at isp?

# These entries find devices on all SCSI busses and assign
# unit numers dynamically.
sd*		at scsibus? target ? lun ?	# SCSI disks
st*		at scsibus? target ? lun ?	# SCSI tapes
cd*		at scsibus? target ? lun ?	# SCSI CD-ROMs
ch*		at scsibus? target ? lun ?	# SCSI changer devices
ss*		at scsibus? target ? lun ?	# SCSI scanners
uk*		at scsibus? target ? lun ?	# unknown SCSI devices

# Media Independent Interface (mii) drivers)
nsphy*	at mii? phy ?				# NS and compatible PHYs
qsphy*	at mii? phy ?				# Quality Semi QS6612 PHYs
dcphy*	at mii? phy ?				# Digital clone PHYs
ukphy*	at mii? phy ?				# Unknown PHYs

cgsix*		at sbus? slot ? offset ?
wsdisplay*	at cgsix?

cgthree*	at sbus? slot ? offset ?
wsdisplay*	at cgthree?

audiocs*	at sbus? slot ? offset ?
audio*		at audiocs?

asio*		at sbus? slot ? offset ?	# Aurora 210SJ
com*		at asio?
apio*		at sbus? slot ? offset ?	# Aurora 210SJ
lpt*		at apio?

# mouse & keyboard multiplexor pseudo-devices
#pseudo-device	wsmux 	2
