Module Name: src
Committed By: christos
Date: Fri Mar 29 21:46:32 UTC 2013
Modified Files:
src/sbin/scsictl: scsictl.8
Log Message:
Document debug
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sbin/scsictl/scsictl.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/scsictl/scsictl.8
diff -u src/sbin/scsictl/scsictl.8:1.25 src/sbin/scsictl/scsictl.8:1.26
--- src/sbin/scsictl/scsictl.8:1.25 Wed Apr 30 09:10:53 2008
+++ src/sbin/scsictl/scsictl.8 Fri Mar 29 17:46:32 2013
@@ -1,4 +1,4 @@
-.\" $NetBSD: scsictl.8,v 1.25 2008/04/30 13:10:53 martin Exp $
+.\" $NetBSD: scsictl.8,v 1.26 2013/03/29 21:46:32 christos Exp $
.\"
.\" Copyright (c) 1998, 2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd January 22, 2007
+.Dd March 29, 2013
.Dt SCSICTL 8
.Os
.Sh NAME
@@ -61,6 +61,26 @@ and displayed to the standard output.
.Sh DEVICE COMMANDS
The following commands are supported for SCSI devices:
.Pp
+.Nm debug
+.Ar level
+.Pp
+Set the debugging level for the given device; the following flags are
+supported:
+.Pp
+.Bl -tag -compact -width xx -offset indent
+.It Ar 1
+Show scsi commands, errors, data.
+.It Ar 2
+Routine flow tracking.
+.It Ar 4
+Internal info from routine flows.
+.It Ar 8
+Device specific debugging.
+.El
+.Pp
+This option is only supported with kernels compiled with
+.Dv SCSIPI_DEBUG .
+.Pp
.Nm defects
.Op primary
.Op grown