Devices are hardwired with "unit 0", not "lun 0" as was in these man pages.

Also, update the pass(4) man page to indicate that some CCBs must be
sent through the xpt(4) device and cannot be sent through a pass device.

PR:		8826
This commit is contained in:
Kenneth D. Merry 1999-05-08 21:28:18 +00:00
parent 756b11d957
commit acea824638
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=46733
5 changed files with 19 additions and 13 deletions

View File

@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $Id: cd.4,v 1.12 1998/10/12 03:27:51 ken Exp $
.\" $Id: cd.4,v 1.13 1999/02/27 07:56:08 ken Exp $
.\"
.Dd October 10, 1998
.Dt CD 4
@ -33,7 +33,7 @@
.Nd SCSI CD-ROM driver
.Sh SYNOPSIS
.Cd device cd
.Cd device cd1 at scbus0 target 4 lun 0
.Cd device cd1 at scbus0 target 4 unit 0
.Cd options "CHANGER_MIN_BUSY_SECONDS=3"
.Cd options "CHANGER_MAX_BUSY_SECONDS=11"
.Sh DESCRIPTION

View File

@ -1,4 +1,4 @@
.\" $Id: ch.4,v 1.12 1998/09/15 10:26:24 gibbs Exp $
.\" $Id: ch.4,v 1.13 1999/02/12 02:12:07 alex Exp $
.\" Copyright (c) 1996
.\" Julian Elischer <julian@freebsd.org>. All rights reserved.
.\"
@ -32,7 +32,7 @@
.Nd SCSI media-changer (juke box) driver
.Sh SYNOPSIS
.Cd device ch
.Cd device ch1 target 4 lun 0
.Cd device ch1 target 4 unit 0
.Sh DESCRIPTION
The
.Xr ch

View File

@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $Id: da.4,v 1.12 1998/10/16 03:28:12 ken Exp $
.\" $Id: da.4,v 1.13 1999/04/30 06:37:16 hoek Exp $
.\"
.Dd October 15, 1998
.Dt DA 4
@ -33,7 +33,7 @@
.Nd SCSI Direct Access Device Driver
.Sh SYNOPSIS
.Cd device da0
.Cd device da1 at scbus0 target 4 lun 0
.Cd device da1 at scbus0 target 4 unit 0
.Sh DESCRIPTION
The
.Nm da

View File

@ -1,5 +1,5 @@
.\"
.\" Copyright (c) 1998 Kenneth D. Merry.
.\" Copyright (c) 1998, 1999 Kenneth D. Merry.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $Id: pass.4,v 1.1 1998/10/12 00:26:03 ken Exp $
.\" $Id: pass.4,v 1.2 1998/10/16 00:26:22 ken Exp $
.\"
.Dd October 10, 1998
.Dt PASS 4
@ -35,7 +35,7 @@
.Nd CAM application passthrough driver
.Sh SYNOPSIS
.Cd device pass0
.Cd device pass2 at scbus0 target 3 lun 0
.Cd device pass2 at scbus0 target 3 unit 0
.Sh DESCRIPTION
The
.Nm pass
@ -69,8 +69,14 @@ devices are found.
.Sh IOCTLS
.Bl -tag -width 012345678901234
.It CAMIOCOMMAND
This ioctl takes any kind of CAM CCB and passes it through to the CAM
transport layer for action.
This ioctl takes most kinds of CAM CCBs and passes them through to the CAM
transport layer for action. Note that some CCB types are not allowed
through the passthrough device, and must be sent through the
.Xr xpt 4
device instead. Some examples of xpt-only CCBs are XPT_SCAN_BUS,
XPT_DEV_MATCH, XPT_RESET_BUS, XPT_SCAN_LUN, XPT_ENG_INQ, and XPT_ENG_EXEC.
These CCB types have various attributes that make it illogical or
impossible to service them through the passthrough interface.
.It CAMGETPASSTHRU
This ioctl takes an XPT_GDEVLIST CCB, and returns the passthrough device
corresponding to the device in question. Although this ioctl is available

View File

@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $Id: sa.4,v 1.14 1999/02/05 08:06:05 mjacob Exp $
.\" $Id: sa.4,v 1.15 1999/03/07 18:57:50 ghelmer Exp $
.\"
.Dd October 15, 1998
.Dt SA 4
@ -33,7 +33,7 @@
.Nd SCSI Sequential Access Device Driver
.Sh SYNOPSIS
.Cd device sa0
.Cd device sa1 at scbus0 target 4 lun 0
.Cd device sa1 at scbus0 target 4 unit 0
.Sh DESCRIPTION
The
.Nm sa