diff options
author | pst <pst@FreeBSD.org> | 1995-11-30 07:43:47 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1995-11-30 07:43:47 +0000 |
commit | 68263369e2dd33dce0b4b59b7886cca7994c80a2 (patch) | |
tree | 41e0a396b577244135b7d7bbbb990523afad96be /sys | |
parent | d26203577f0a287e87fe3d17680dd809ec3ab238 (diff) | |
download | FreeBSD-src-68263369e2dd33dce0b4b59b7886cca7994c80a2.zip FreeBSD-src-68263369e2dd33dce0b4b59b7886cca7994c80a2.tar.gz |
Fix support for QIC_3080 drives...it 1/2 worked before.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/scsi/scsi_tape.h | 3 | ||||
-rw-r--r-- | sys/scsi/st.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/scsi/scsi_tape.h b/sys/scsi/scsi_tape.h index 0e184d1..5a1b904 100644 --- a/sys/scsi/scsi_tape.h +++ b/sys/scsi/scsi_tape.h @@ -21,7 +21,7 @@ /* * Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992 * - * $Id: scsi_tape.h,v 1.12 1995/04/29 21:30:26 joerg Exp $ + * $Id: scsi_tape.h,v 1.13 1995/05/30 08:13:43 rgrimes Exp $ */ #ifndef SCSI_SCSI_TAPE_H #define SCSI_SCSI_TAPE_H 1 @@ -307,6 +307,7 @@ struct tape_pages #define QIC_1320 0x12 #define DDS 0x13 #define DAT_1 0x13 +#define QIC_3080 0x29 #endif /* NEW_SCSICONF */ #endif /*SCSI_SCSI_TAPE_H*/ diff --git a/sys/scsi/st.c b/sys/scsi/st.c index ab4e8c1..f7c5964 100644 --- a/sys/scsi/st.c +++ b/sys/scsi/st.c @@ -12,7 +12,7 @@ * on the understanding that TFS is not responsible for the correct * functioning of this software in any circumstances. * - * $Id: st.c,v 1.45 1995/11/29 10:49:05 julian Exp $ + * $Id: st.c,v 1.46 1995/11/29 14:41:04 julian Exp $ */ /* @@ -835,6 +835,7 @@ st_decide_mode(unit, first_read) case QIC_150: case QIC_525: case QIC_1320: + case QIC_3080: st->flags |= ST_FIXEDBLOCKS; if (st->media_blksiz > 0) { st->blksiz = st->media_blksiz; @@ -889,6 +890,7 @@ done: case QIC_150: case QIC_525: case QIC_1320: + case QIC_3080: st->flags &= ~ST_2FM_AT_EOD; break; default: |