1999-07-17 00:26:57 +04:00
|
|
|
.\" $NetBSD: ncr.4,v 1.8 1999/07/16 20:26:57 hwr Exp $
|
1994-12-14 04:11:40 +03:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1994 James A. Jegers
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. The name of the author may not be used to endorse or promote products
|
|
|
|
.\" derived from this software without specific prior written permission
|
1998-04-30 12:50:03 +04:00
|
|
|
.\"
|
1994-12-14 04:11:40 +03:00
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
|
|
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
|
|
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
|
|
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
|
|
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
|
|
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
|
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
|
|
|
.\"
|
1997-01-15 08:47:50 +03:00
|
|
|
.Dd January 15, 1997
|
|
|
|
.Dt NCR 4
|
1999-03-16 04:19:14 +03:00
|
|
|
.Os
|
1994-12-14 04:11:40 +03:00
|
|
|
.Sh NAME
|
|
|
|
.Nm ncr
|
1997-01-15 08:47:50 +03:00
|
|
|
.Nd NCR 53C8xx SCSI driver
|
1994-12-14 04:11:40 +03:00
|
|
|
.Sh SYNOPSIS
|
1997-01-15 09:25:55 +03:00
|
|
|
.Cd "ncr* at pci? dev ? function ?"
|
1994-12-14 04:11:40 +03:00
|
|
|
.Cd "scsibus* at ncr?"
|
1998-03-11 12:55:19 +03:00
|
|
|
.Pp
|
|
|
|
.Cd "options FAILSAFE"
|
|
|
|
.Cd "options NCR_CDROM_ASYNC"
|
|
|
|
.Cd "options NCR_IOMAPPED"
|
|
|
|
.Cd "options NCR_TEKRAM_EEPROM"
|
|
|
|
.Cd "options SCSI_NCR_DFLT_TAGS=integer"
|
|
|
|
.Cd "options SCSI_NCR_MAX_SYNC=integer"
|
|
|
|
.Cd "options SCSI_NCR_MAX_WIDE=integer"
|
|
|
|
.Cd "options SCSI_NCR_SYMBIOS_COMPAT"
|
|
|
|
.Cd "options SCSI_NCR_TRUST_BIOS"
|
1994-12-14 04:11:40 +03:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
1997-01-15 08:47:50 +03:00
|
|
|
.Nm
|
1998-03-11 12:55:19 +03:00
|
|
|
driver provides support for the NCR (Symbios) 53C810, 53C815, 53C820,
|
1998-04-30 12:50:03 +04:00
|
|
|
53C825, 53C860, 53C875, 53C885, 53C895, and 53C896
|
|
|
|
.Tn SCSI
|
|
|
|
controller chips.
|
1998-03-11 12:55:19 +03:00
|
|
|
.Pp
|
|
|
|
The following kernel configuration options are available:
|
|
|
|
.Bl -ohang
|
|
|
|
.It Cd options FAILSAFE
|
|
|
|
Disables tagged command queuing and forces asynchronous transfers for
|
1998-04-30 12:50:03 +04:00
|
|
|
.Tn CD-ROM
|
|
|
|
devices.
|
1998-03-11 12:55:19 +03:00
|
|
|
.It Cd options NCR_CDROM_ASYNC
|
1998-04-30 12:50:03 +04:00
|
|
|
Always use asynchronous transfers with
|
|
|
|
.Tn CD-ROM
|
|
|
|
devices.
|
|
|
|
By default, synchronous transfers are used if the
|
|
|
|
.Tn CD-ROM
|
|
|
|
supports it.
|
1998-03-11 12:55:19 +03:00
|
|
|
.It Cd options NCR_IOMAPPED
|
|
|
|
Attempt to access the controller chip via I/O port-mapped I/O, falling back
|
1998-04-30 12:50:03 +04:00
|
|
|
to memory-mapped I/O if the I/O ports couldn't be mapped.
|
|
|
|
By default, memory-mapped I/O is tried first.
|
1998-03-11 12:55:19 +03:00
|
|
|
.It Cd options NCR_TEKRAM_EEPROM
|
1998-04-30 12:50:03 +04:00
|
|
|
Enables support for reading the configuration
|
|
|
|
.Tn EEPROM
|
|
|
|
of the Tekram DC-390 series of
|
|
|
|
.Tn SCSI
|
|
|
|
cards.
|
|
|
|
Enable this only if using a Tekram DC-390 card.
|
1998-03-11 12:55:19 +03:00
|
|
|
.It Cd options SCSI_NCR_DFLT_TAGS=integer
|
1998-04-30 12:50:03 +04:00
|
|
|
Specifies the maximum number of tags per logical unit.
|
|
|
|
Unless
|
1998-03-11 12:55:19 +03:00
|
|
|
.Dv FAILSAFE
|
1998-04-30 12:50:03 +04:00
|
|
|
is defined, the default value is 4.
|
|
|
|
A value of 0 will disable tagged command queuing.
|
1998-03-11 12:55:19 +03:00
|
|
|
.It Cd options SCSI_NCR_MAX_SYNC=integer
|
1998-04-30 12:50:03 +04:00
|
|
|
Specifies the maximum synchronous transfer frequency to use, in kHz.
|
|
|
|
A value of 0 means asynchronous transfers only.
|
|
|
|
The default is 20000 (20MHz), unless the controller chip only
|
|
|
|
supports fast transfers, in which case it's 10000 (10MHz).
|
1998-03-11 12:55:19 +03:00
|
|
|
.It Cd options SCSI_NCR_MAX_WIDE=integer
|
1998-04-30 12:50:03 +04:00
|
|
|
Specifies the maximum
|
|
|
|
.Tn SCSI
|
1999-07-17 00:26:57 +04:00
|
|
|
bus width, with 0 meaning 8 bits and 1 meaning 16 bits.
|
1998-04-30 12:50:03 +04:00
|
|
|
Defaults to 1 on chips that support wide
|
|
|
|
.Tn SCSI ,
|
|
|
|
0 otherwise.
|
|
|
|
Set this to 0 to disable wide transfers even if both controller
|
|
|
|
and device support them (e.g. when using a wide controller and wide
|
|
|
|
drive through a narrow cable).
|
1998-03-11 12:55:19 +03:00
|
|
|
.It Cd options SCSI_NCR_SYMBIOS_COMPAT
|
1998-04-30 12:50:03 +04:00
|
|
|
Enables the use of the GPIO register as a disk activity indicator.
|
|
|
|
Enable this if the activity LED isn't working, but make sure the
|
|
|
|
card doesn't use GPIO for something else.
|
|
|
|
Cards known to support this:
|
1998-03-11 12:55:19 +03:00
|
|
|
ASUS SC875, Diamond FirePort 40, and Symbios SYM8751S.
|
|
|
|
.It Cd options SCSI_NCR_TRUST_BIOS
|
|
|
|
Specifies that the driver should use the register configuration set by the
|
1998-03-23 13:23:30 +03:00
|
|
|
firmware instead of configuring the chip itself.
|
1998-03-11 12:55:19 +03:00
|
|
|
.El
|
1994-12-14 04:11:40 +03:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr intro 4 ,
|
1998-04-30 12:50:03 +04:00
|
|
|
.Xr scsi 4 ,
|
1994-12-14 04:11:40 +03:00
|
|
|
.Xr sd 4 ,
|
|
|
|
.Xr st 4 ,
|
|
|
|
.Xr cd 4 ,
|
1997-01-15 08:47:50 +03:00
|
|
|
.Xr ch 4 ,
|
|
|
|
.Xr uk 4
|