summaryrefslogtreecommitdiffstats
path: root/sbin/camcontrol/camcontrol.8
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>1998-10-02 21:00:58 +0000
committerken <ken@FreeBSD.org>1998-10-02 21:00:58 +0000
commit1ad65369755d2b6446c378c73f956c9a73ac5281 (patch)
treea06ca2b59d1188c2dcf0139dae03f582c82a0fe3 /sbin/camcontrol/camcontrol.8
parent6d472197ec99beea28652e8ef0c17a6f72b25fea (diff)
downloadFreeBSD-src-1ad65369755d2b6446c378c73f956c9a73ac5281.zip
FreeBSD-src-1ad65369755d2b6446c378c73f956c9a73ac5281.tar.gz
Add a new CAM debugging mode, CAM_DEBUG_CDB. This causes the kernel to
print out a one line description/dump of every SCSI CDB sent to a particular debugging target or targets. This is a good bit more useful than the other debugging modes, I think. Change some things in LINT to note the availability of this new option. Fix an erroneous argument to scsi_cdb_string() in scsi_all.c Reviewed by: gibbs
Diffstat (limited to 'sbin/camcontrol/camcontrol.8')
-rw-r--r--sbin/camcontrol/camcontrol.85
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/camcontrol/camcontrol.8 b/sbin/camcontrol/camcontrol.8
index ff53b83..9337e72 100644
--- a/sbin/camcontrol/camcontrol.8
+++ b/sbin/camcontrol/camcontrol.8
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: camcontrol.8,v 1.3 1998/09/17 16:12:30 ken Exp $
+.\" $Id: camcontrol.8,v 1.4 1998/09/21 20:44:39 ken Exp $
.\"
.Dd September 14, 1998
.Dt CAMCONTROL 8
@@ -292,6 +292,9 @@ Enable CAM_DEBUG_INFO printfs.
Enable CAM_DEBUG_TRACE printfs.
.It Fl S
Enable CAM_DEBUG_SUBTRACE printfs.
+.It Fl c
+Enable CAM_DEBUG_CDB printfs. This will cause the kernel to print out the
+SCSI CDBs sent to the specified device(s).
.It all
Enable debugging for all devices.
.It off
OpenPOWER on IntegriCloud