Patches from msouth@scruz.net to handle QIC 3220 (HP T20).

This commit is contained in:
mjacob 2000-02-21 05:11:09 +00:00
parent 17a313075f
commit 296fbeed2a
2 changed files with 5 additions and 2 deletions

View File

@ -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 @@ struct scsi_tape_locate {
#define DDS 0x13
#define DAT_1 0x13
#define QIC_3095 0x45
#define QIC_3220 0x47

View File

@ -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 @@ st_decide_mode(st, first_read)
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 @@ done:
case QIC_525:
case QIC_1320:
case QIC_3095:
case QIC_3220:
st->flags &= ~ST_2FM_AT_EOD;
break;
default: