Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/scsipi Patches from msouth%scruz.net@localhost to handle QIC 3...



details:   https://anonhg.NetBSD.org/src/rev/4bcfee8920ef
branches:  trunk
changeset: 482755:4bcfee8920ef
user:      mjacob <mjacob%NetBSD.org@localhost>
date:      Mon Feb 21 05:11:09 2000 +0000

description:
Patches from msouth%scruz.net@localhost to handle QIC 3220 (HP T20).

diffstat:

 sys/dev/scsipi/scsi_tape.h |  3 ++-
 sys/dev/scsipi/st.c        |  4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diffs (39 lines):

diff -r d44d1404404e -r 4bcfee8920ef sys/dev/scsipi/scsi_tape.h
--- a/sys/dev/scsipi/scsi_tape.h        Mon Feb 21 04:08:21 2000 +0000
+++ b/sys/dev/scsipi/scsi_tape.h        Mon Feb 21 05:11:09 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scsi_tape.h,v 1.18 1999/09/30 12:12:41 soren Exp $     */
+/*     $NetBSD: scsi_tape.h,v 1.19 2000/02/21 05:11:09 mjacob Exp $    */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -240,3 +240,4 @@
 #define DDS            0x13
 #define DAT_1          0x13
 #define QIC_3095       0x45
+#define        QIC_3220        0x47
diff -r d44d1404404e -r 4bcfee8920ef sys/dev/scsipi/st.c
--- a/sys/dev/scsipi/st.c       Mon Feb 21 04:08:21 2000 +0000
+++ b/sys/dev/scsipi/st.c       Mon Feb 21 05:11:09 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: st.c,v 1.119 2000/02/20 07:38:48 mjacob Exp $ */
+/*     $NetBSD: st.c,v 1.120 2000/02/21 05:11:09 mjacob Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -1004,6 +1004,7 @@
        case QIC_525:
        case QIC_1320:
        case QIC_3095:
+       case QIC_3220:
                st->flags |= ST_FIXEDBLOCKS;
                if (st->media_blksize > 0)
                        st->blksize = st->media_blksize;
@@ -1057,6 +1058,7 @@
        case QIC_525:
        case QIC_1320:
        case QIC_3095:
+       case QIC_3220:
                st->flags &= ~ST_2FM_AT_EOD;
                break;
        default:



Home | Main Index | Thread Index | Old Index