aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorKenneth D. Merry <ken@FreeBSD.org>1999-05-08 21:28:18 +0000
committerKenneth D. Merry <ken@FreeBSD.org>1999-05-08 21:28:18 +0000
commitacea824638cb4e7c1ad734ead339c88f84433933 (patch)
treebe5b188c0d60ff0d2beab76f01050b18551adb7d /share
parent756b11d957d8ca9ce03a8cd0fa667e41964c5caa (diff)
downloadsrc-acea824638cb4e7c1ad734ead339c88f84433933.tar.gz
src-acea824638cb4e7c1ad734ead339c88f84433933.zip
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
Notes
Notes: svn path=/head/; revision=46733
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/cd.44
-rw-r--r--share/man/man4/ch.44
-rw-r--r--share/man/man4/da.44
-rw-r--r--share/man/man4/pass.416
-rw-r--r--share/man/man4/sa.44
5 files changed, 19 insertions, 13 deletions
diff --git a/share/man/man4/cd.4 b/share/man/man4/cd.4
index 04ffbb404809..0e012952bc6e 100644
--- a/share/man/man4/cd.4
+++ b/share/man/man4/cd.4
@@ -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
diff --git a/share/man/man4/ch.4 b/share/man/man4/ch.4
index 9c2e1068275b..9841234a3278 100644
--- a/share/man/man4/ch.4
+++ b/share/man/man4/ch.4
@@ -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
diff --git a/share/man/man4/da.4 b/share/man/man4/da.4
index e9189a2bfb1d..2452bf349a97 100644
--- a/share/man/man4/da.4
+++ b/share/man/man4/da.4
@@ -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
diff --git a/share/man/man4/pass.4 b/share/man/man4/pass.4
index 384ffabd0a7f..9c7b70362c91 100644
--- a/share/man/man4/pass.4
+++ b/share/man/man4/pass.4
@@ -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
diff --git a/share/man/man4/sa.4 b/share/man/man4/sa.4
index a5b2c1ba206e..6029a8e7f119 100644
--- a/share/man/man4/sa.4
+++ b/share/man/man4/sa.4
@@ -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