diff options
author | mjacob <mjacob@FreeBSD.org> | 1998-12-05 22:10:14 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 1998-12-05 22:10:14 +0000 |
commit | 47368a26004aec414e1518492cc93f8083990364 (patch) | |
tree | 7c9a6312db4df07a2eb334a39bedd59c598e43f9 | |
parent | 0ebf3be7f1bb2a7a90508f4b5703e771dc3cf264 (diff) | |
download | FreeBSD-src-47368a26004aec414e1518492cc93f8083990364.zip FreeBSD-src-47368a26004aec414e1518492cc93f8083990364.tar.gz |
Add in named SID field revision names (including CCS).
Add in named defines for DEFAULT and NOCHANGE densities (for sequential
access devices).
-rw-r--r-- | sys/cam/scsi/scsi_all.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_all.h b/sys/cam/scsi/scsi_all.h index 5369607..ccbab9d 100644 --- a/sys/cam/scsi/scsi_all.h +++ b/sys/cam/scsi/scsi_all.h @@ -14,7 +14,7 @@ * * Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992 * - * $Id: scsi_all.h,v 1.4 1998/10/02 05:25:49 ken Exp $ + * $Id: scsi_all.h,v 1.5 1998/10/15 19:08:58 ken Exp $ */ /* @@ -486,6 +486,11 @@ struct scsi_inquiry_data #define SID_IS_REMOVABLE(inq_data) (((inq_data)->dev_qual2 & 0x80) != 0) u_int8_t version; #define SID_ANSI_REV(inq_data) ((inq_data)->version & 0x07) +#define SCSI_REV_0 0 +#define SCSI_REV_CCS 1 +#define SCSI_REV_2 2 +#define SCSI_REV_3 3 + #define SID_ECMA 0x38 #define SID_ISO 0xC0 u_int8_t response_format; @@ -605,6 +610,8 @@ struct scsi_mode_blk_desc u_int8_t blklen[3]; }; +#define SCSI_DEFAULT_DENSITY 0x00 /* use 'default' density */ +#define SCSI_SAME_DENSITY 0x7f /* use 'same' density- >= SCSI-2 only */ /* * Status Byte */ |