Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/scsipi Remove a bit of old cruft.



details:   https://anonhg.NetBSD.org/src/rev/f6b1d51d6bf9
branches:  trunk
changeset: 574462:f6b1d51d6bf9
user:      soren <soren%NetBSD.org@localhost>
date:      Mon Feb 28 22:56:15 2005 +0000

description:
Remove a bit of old cruft.

diffstat:

 sys/dev/scsipi/scsi_tape.h |  21 ++++-----------------
 1 files changed, 4 insertions(+), 17 deletions(-)

diffs (49 lines):

diff -r de7b1d8a0223 -r f6b1d51d6bf9 sys/dev/scsipi/scsi_tape.h
--- a/sys/dev/scsipi/scsi_tape.h        Mon Feb 28 22:11:31 2005 +0000
+++ b/sys/dev/scsipi/scsi_tape.h        Mon Feb 28 22:56:15 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scsi_tape.h,v 1.22 2005/02/01 00:19:34 reinoud Exp $   */
+/*     $NetBSD: scsi_tape.h,v 1.23 2005/02/28 22:56:15 soren Exp $     */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -197,21 +197,9 @@
 #define        SMH_DSP_BUFF_MODE_MLTI  0x20
 #define        SMH_DSP_WRITE_PROT      0x80
 
-/* A special for the CIPHER ST150S(old drive) */
-struct block_desc_cipher {
-       u_int8_t density;
-       u_int8_t nblocks[3];
-       u_int8_t reserved;
-       u_int8_t blklen[3];
-       u_int8_t other;
-#define ST150_SEC              0x01    /* soft error count */
-#define        SR150_AUI               0x02    /* autoload inhibit */
-};
-
-
 #define        READ_POSITION   0x34
 struct scsi_tape_read_position {
-       u_int8_t opcode;                /* READ_POSITION */
+       u_int8_t opcode;
        u_int8_t byte1;                 /* set LSB to read hardware block pos */
        u_int8_t reserved[8];
 };
@@ -230,14 +218,13 @@
 #define        HALFINCH_800    0x01
 #define        HALFINCH_1600   0x02
 #define        HALFINCH_6250   0x03
-#define        QIC_11          0x04    /* from Archive 150S Theory of Op. XXX  */
-#define QIC_24         0x05    /* may be bad, works for CIPHER ST150S XXX */
+#define        QIC_11          0x04
+#define QIC_24         0x05
 #define QIC_120                0x0f
 #define QIC_150                0x10
 #define QIC_320                0x11
 #define QIC_525                0x11
 #define QIC_1320       0x12
 #define DDS            0x13
-#define DAT_1          0x13
 #define QIC_3095       0x45
 #define QIC_3220       0x47



Home | Main Index | Thread Index | Old Index