#	$OpenBSD: SUN4M,v 1.37 2001/03/08 03:37:19 itojun Exp $
# 	$NetBSD: GENERIC,v 1.28.2.1 1996/07/02 23:55:22 jtc Exp $

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

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

# This is a 4m specific kernel.
# NOTE: Cypress mbus cpus are not pure 4m, and require
#       either SUN4C or SUN4M to be specified as well
option		SUN4M		# sun4m - SS10, SS20, Classic, etc.

#option		KGDB		# support for kernel gdb
#option		KGDBDEV=0xc01	# kgdb device number (dev_t)
#option		KGDBRATE=38400	# baud rate

option		UVM		# use the UVM virtual memory system

# Options for SPARCstation hardware
option		RASTERCONSOLE	# fast rasterop console
option		COMPAT_SUNOS	# compatibility with SunOS binaries
option		COMPAT_SVR4	# compatibility with SVR4 binaries

maxusers	32		# estimated number of users

# Generic swap; second partition of root disk or network.
config		bsd	swap generic

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

# Bus types found on SPARC systems.
obio0	at mainbus0				# sun4 and sun4m
iommu0	at mainbus0				# sun4m
sbus0	at iommu0				# sun4m

audioamd0 at obio0				# sun4m
audioamd0 at sbus0 slot ? offset ?		# sun4m
audio*	at audioamd?

audiocs0 at sbus0 slot ? offset ?		# sun4m
audio*	at audiocs?

auxreg0	at obio0				# sun4m

# Power status and control register found on Sun4m systems
power0	at obio0

# Mostek clock found on 4/300, sun4c, and sun4m systems.
clock0	at obio0				# sun4m

# Memory error registers.
memreg0	at obio0				# sun4m

# Timer chip found on 4/300, sun4c, and sun4m systems.
timer0	at obio0				# sun4m

# 8 segment led display on sun4/sun4m systems
led0	at obio0				# sun4m

# Zilog 8530 serial chips.  Each has two-channels.
# zs0 is ttya and ttyb.  zs1 is the keyboard and mouse.
zs0	at obio0					# sun4m
zs1	at obio0					# sun4m

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

# SUNW,spif serial/parallel port devices
spif*	at sbus? slot ? offset ?			# spif serial cards
stty*	at spif?
sbpp*	at spif?

# SUNW,xbox SBus Expansion Subsystem
xbox*	at sbus? slot ? offset ?			# SBus Expansion box
sbus*	at xbox?

#
# 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.
#

# sun4c or sun4m SCSI - an NCR53c94 or equivalent behind
# specialized DMA glue
dma0	at sbus0 slot ? offset ?			# on-board SCSI
esp0	at dma0 flags 0xff0f				# sun4m

# FSBE/S SCSI - an NCR53c94 or equivalent behind
dma*	at sbus? slot ? offset ?			# SBus SCSI
esp*	at sbus? slot ? offset ? flags 0xff0f		# two flavours
esp*	at dma? flags 0xff0f				# depending on model

#sun4c, sun4m
isp*	at sbus? slot ? offset ?

# sun4m Ethernet - an AMD 7990 LANCE behind
# specialized DMA glue
ledma0	at sbus0 slot ? offset ?			# sun4m on-board
le0	at ledma0					#

# Additional SBus LANCE devices - glued on by lebuffer
lebuffer0	at sbus0 slot ? offset ?		# sun4m SBus
lebuffer*	at sbus? slot ? offset ?		# sun4m SBus
le0	at lebuffer0					#
le*	at lebuffer?					#

# HappyMeal ethernet
hme*	at sbus? slot ? offset ?
# Media Independent Interface (mii) drivers (required by hme)
nsphy*	at mii? phy ?				# NS and compatible PHYs
qsphy*	at mii? phy ?				# Quality Semi QS6612 PHYs

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

# Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
# systems.  If your sun4 system has a cgfour installed in the P4 slot,
# the P4 entries for "bwtwo" will attach to the overlay plane of the
# "cgfour".
bwtwo*	at sbus? slot ? offset ?		# sun4c and sun4m

# Sun "cgthree" Sbus color framebuffer
cgthree0 at sbus? slot ? offset ?
cgthree* at sbus? slot ? offset ?
#cgthree0 at obio? slot ? offset ?		# sun4m
#cgthree* at obio? slot ? offset ?		# sun4m

# Sun "cgsix" accelerated color framebuffer.
cgsix0	at sbus? slot ? offset ?
cgsix*	at sbus? slot ? offset ?

# Sun "tcx" accelerated color framebuffer.
tcx0	at sbus? slot ? offset ?
tcx*	at sbus? slot ? offset ?

# Sun "cgfourteen" accelerated 24-bit framebuffer.
cgfourteen0	at obio0			# sun4m

# Weitek p9100 found on Tadpole 3GS/3GX
pnozz0	at sbus? slot ? offset ?
# Microcontroller found on Tadpole
tctrl0  at obio0

# 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

# Floppy controller and drive found on SPARCstations.
fdc0	at obio0				# sun4m controller
fd*	at fdc0					# the drive itself

pseudo-device	kbd		# Sun keyboard
#pseudo-device	strip	1	# radio clock
pseudo-device	rd 2
