mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
Fix support for QIC_3080 drives...it 1/2 worked before.
This commit is contained in:
parent
df5379dcaf
commit
dedbc6f872
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12545
2 changed files with 5 additions and 2 deletions
|
@ -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*/
|
||||
|
|
|
@ -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 @@ st_decide_mode(unit, first_read)
|
|||
case QIC_150:
|
||||
case QIC_525:
|
||||
case QIC_1320:
|
||||
case QIC_3080:
|
||||
st->flags &= ~ST_2FM_AT_EOD;
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue