diff options
author | mjacob <mjacob@FreeBSD.org> | 1998-12-22 17:17:17 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 1998-12-22 17:17:17 +0000 |
commit | 1a33b99ce0196e014f91a44cc65a817154211885 (patch) | |
tree | 024d452c1bbb2bbef7e123aeffd0fff8fd95b9e1 | |
parent | fa77afb3a92355f264d96feabf27d8d663551308 (diff) | |
download | FreeBSD-src-1a33b99ce0196e014f91a44cc65a817154211885.zip FreeBSD-src-1a33b99ce0196e014f91a44cc65a817154211885.tar.gz |
add command storage to correlate with latched error
-rw-r--r-- | sys/sys/mtio.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/mtio.h b/sys/sys/mtio.h index 77a36d3..2a7b53c 100644 --- a/sys/sys/mtio.h +++ b/sys/sys/mtio.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)mtio.h 8.1 (Berkeley) 6/2/93 - * $Id: mtio.h,v 1.13 1998/12/19 20:21:56 mjacob Exp $ + * $Id: mtio.h,v 1.14 1998/12/21 22:14:02 mjacob Exp $ */ #ifndef _SYS_MTIO_H_ @@ -132,8 +132,10 @@ struct scsi_tape_errors { */ u_int8_t io_sense[32]; /* Last Sense Data For Data I/O */ u_int32_t io_resid; /* residual count from last Data I/O */ + u_int8_t io_cdb[16]; /* Command that Caused the Last Data Sense */ u_int8_t ctl_sense[32]; /* Last Sense Data For Control I/O */ u_int32_t ctl_resid; /* residual count from last Control I/O */ + u_int8_t ctl_cdb[16]; /* Command that Caused the Last Control Sense */ /* * These are the read and write cumulative error counters. * (how to reset cumulative error counters is not yet defined). |