diff options
author | mjacob <mjacob@FreeBSD.org> | 1998-12-17 19:04:18 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 1998-12-17 19:04:18 +0000 |
commit | d91789e59626a6d86471c19af25b9fadd021d984 (patch) | |
tree | 3854e55f2ac005b2edf6aacdb9eb4b1545d3dc6f | |
parent | f87175eaf784bb4e4a6e8b98c8ff332ad0b7dad0 (diff) | |
download | FreeBSD-src-d91789e59626a6d86471c19af25b9fadd021d984.zip FreeBSD-src-d91789e59626a6d86471c19af25b9fadd021d984.tar.gz |
Add some tape specific density codes- only enough of them here to recognize
some specific older units so we can choose 2FM@EOD or FIXED blocksize
quirks.
-rw-r--r-- | sys/cam/scsi/scsi_sa.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_sa.h b/sys/cam/scsi/scsi_sa.h index cc5f14d..4e602d4 100644 --- a/sys/cam/scsi/scsi_sa.h +++ b/sys/cam/scsi/scsi_sa.h @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: scsi_sa.h,v 1.1 1998/09/15 06:36:34 gibbs Exp $ */ #ifndef _SCSI_SCSI_SA_H @@ -198,6 +198,22 @@ struct scsi_data_compression_page { #define ERASE 0x19 #define LOAD_UNLOAD 0x1B +/* + * Tape specific density codes- only enough of them here to recognize + * some specific older units so we can choose 2FM@EOD or FIXED blocksize + * quirks. + */ +#define SCSI_DENSITY_HALFINCH_800 0x01 +#define SCSI_DENSITY_HALFINCH_1600 0x02 +#define SCSI_DENSITY_HALFINCH_6250 0x03 +#define SCSI_DENSITY_HALFINCH_6250C 0xC3 /* HP Compressed 6250 */ +#define SCSI_DENSITY_QIC_11_4TRK 0x04 +#define SCSI_DENSITY_QIC_11_9TRK 0x84 /* Vendor Unique Emulex */ +#define SCSI_DENSITY_QIC_24 0x05 +#define SCSI_DENSITY_HALFINCH_PE 0x06 +#define SCSI_DENSITY_QIC_120 0x0f +#define SCSI_DENSITY_QIC_150 0x10 + __BEGIN_DECLS void scsi_read_block_limits(struct ccb_scsiio *, u_int32_t, void (*cbfcnp)(struct cam_periph *, union ccb *), |