diff options
author | Kenneth D. Merry <ken@FreeBSD.org> | 1998-10-02 21:00:58 +0000 |
---|---|---|
committer | Kenneth D. Merry <ken@FreeBSD.org> | 1998-10-02 21:00:58 +0000 |
commit | d05caa00c57ff92069fd5e1991bfbff2ee836722 (patch) | |
tree | 1a4ec032ebdb3883ee7577c57cd6d8917aec3660 /sbin/camcontrol/camcontrol.8 | |
parent | bf72f680884fe25e4e27179c44b9d1d9cce52cac (diff) | |
download | src-d05caa00c57ff92069fd5e1991bfbff2ee836722.tar.gz src-d05caa00c57ff92069fd5e1991bfbff2ee836722.zip |
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
Notes
Notes:
svn path=/head/; revision=39903
Diffstat (limited to 'sbin/camcontrol/camcontrol.8')
-rw-r--r-- | sbin/camcontrol/camcontrol.8 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/camcontrol/camcontrol.8 b/sbin/camcontrol/camcontrol.8 index ff53b8348ce3..9337e725e378 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 |