Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/scsictl Document debug



details:   https://anonhg.NetBSD.org/src/rev/e1b91f90c6bd
branches:  trunk
changeset: 785777:e1b91f90c6bd
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Mar 29 21:46:32 2013 +0000

description:
Document debug

diffstat:

 sbin/scsictl/scsictl.8 |  24 ++++++++++++++++++++++--
 1 files changed, 22 insertions(+), 2 deletions(-)

diffs (45 lines):

diff -r fd2dd80f0a28 -r e1b91f90c6bd sbin/scsictl/scsictl.8
--- a/sbin/scsictl/scsictl.8    Fri Mar 29 21:45:27 2013 +0000
+++ b/sbin/scsictl/scsictl.8    Fri Mar 29 21:46:32 2013 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index