NetBSD/share/man/man4/sc.4

137 lines
2.6 KiB
Groff
Raw Normal View History

.\" $NetBSD: sc.4,v 1.5 2002/02/13 08:17:45 ross Exp $
2001-06-29 01:12:01 +04:00
.\"
.\" written from a reading of config files and driver source code
.\" Erik E. Fair <fair@netbsd.org>
.\" Matt Fredette <fredette@netbsd.org>
.Dd June 28, 2001
.Dt SC 4
.Os
.Sh NAME
.Nm sc
.Nd Sun Sun-2 SCSI bus host adaptor driver
.Sh SYNOPSIS
.Ss sun2
.Cd "sc0 at mbmem0 addr 0x80000 ipl 2"
.Cd "sc1 at mbmem0 addr 0x84000 ipl 2"
.Ss sun2 and sun4
.Cd "sc0 at vme0 addr 0x200000 irq 2 vec 0x40"
.Sh DESCRIPTION
The
.Nm
driver provides support for the
Sun Microsystems
.Qq Sun-2
.Tn SCSI
2001-09-12 02:52:52 +04:00
Bus Controller chipset found on various
2001-06-29 01:12:01 +04:00
VME boards
.Pq Sun part #s 501-1045, 501-1138, 501-1149, and 501-1167
and on the
.Qq Sun-2 SCSI/Serial
.Pq Sun part # 501-1006
Multibus board.
.Pp
2001-09-12 02:52:52 +04:00
All
2001-06-29 01:12:01 +04:00
versions of this driver can be configured with a
.Em flags
directive in the
.Xr config 8
file.
The values are bits in a bitfield, and are interpreted as follows:
.Pp
.Bl -tag -offset indent -compact -width 0x000ff
.It 0x0ff
Set bit (1\*[Lt]\*[Lt]target) to disable
2001-06-29 01:12:01 +04:00
.Tn SCSI
parity checking
.It 0x100
Set this bit to disable
.Tn DMA
interrupts (poll)
.It 0x200
Set this bit to disable
.Tn DMA
entirely (use PIO)
.El
.Pp
For example:
.Qq flags 0x1ff
would disable
.Tn DMA
interrupts, and disable parity checking for targets 0-7.
The
.Qq target
is the
.Tn SCSI
ID number of a particular device on a particular
.Tn SCSI
bus.
.Sh SEE ALSO
.Xr cd 4 ,
.Xr ch 4 ,
.Xr intro 4 ,
.Xr scsi 4 ,
.Xr sd 4 ,
.Xr st 4
.Sh AUTHORS
Matt Fredette,
.Aq fredette@netbsd.org ,
.br
David Jones,
.br
Gordon Ross
.Aq gwr@netbsd.org ,
.br
Adam Glass
.Aq glass@netbsd.org ,
.br
Jason R. Thorpe
.Aq thorpej@netbsd.org .
2001-06-29 01:12:01 +04:00
.Sh BUGS
2001-09-12 02:52:52 +04:00
This
.Tn SCSI
2001-06-29 01:12:01 +04:00
chipset is rumored to have bugs in its handling of
.Tn SCSI
parity, therefore it is recommended that you disable parity
2001-09-12 02:52:52 +04:00
on all
2001-06-29 01:12:01 +04:00
.Tn SCSI
devices connected to this controller, and configure it with
a
0x0ff
value for its
.Em flags
directive in the
.Xr config 8
file.
.Pp
2001-09-12 02:52:52 +04:00
This
2001-06-29 01:12:01 +04:00
chipset has no support for raising the
.Tn ATN
signal, so there is no way to ever schedule a
.Tn MSG_OUT
phase on the bus. Currently, the driver will ultimately
reset the bus if this phase is ever requested by the upper
layer
.Tn SCSI
driver.
.Pp
This chipset has no support for
.Tn SCSI
disconnect/reselect. This means that slow devices,
such as tape drives, can hog, or
.Qq lock up
the SCSI bus.
.Pp
This driver has not been tested in combination with
non-SCSI devices behind
.Tn Emulex
or
.Tn Adaptec
2001-09-12 02:52:52 +04:00
bridges, which are common in
2001-06-29 01:12:01 +04:00
.Tn Sun
2001-09-12 02:52:52 +04:00
2s and in
2001-06-29 01:12:01 +04:00
.Tn Sun
Shoebox-type configurations.
These devices pre-date the
.Tn SCSI-I
spec, and might not behave the way the chipset code currently expects.