>From: Julian Elischer <julian@jules.DIALix.oz.au>

Subject: Re: Error reading from DAT (fwd)
Date: Mon, 11 Oct 1993 03:02:39 -40962758 (WST)

Some tapes won't do anything until you tell them to load.
Other tapes think that being asked to load is a great excuse to
make the next command return a "unit attention" (media changed) error.
Since we need to do the load, throw in a dummy instruction to cop the
error.

specifically for DEC DAT drives.
This commit is contained in:
Rodney W. Grimes 1993-10-11 04:53:23 +00:00
parent 64e154d67b
commit 0e08d66ab8

View File

@ -21,13 +21,13 @@
* 16 Feb 93 Julian Elischer ADDED for SCSI system
* 1.15 is the last verion to support MACH and OSF/1
*/
/* $Revision: 1.8 $ */
/* $Revision: 1.9 $ */
/*
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
* major changes by Julian Elischer (julian@jules.dialix.oz.au) May 1993
*
* $Id: st.c,v 1.8 1993/09/07 15:58:00 rgrimes Exp $
* $Id: st.c,v 1.9 1993/09/20 06:27:06 rgrimes Exp $
*/
@ -483,6 +483,7 @@ int dev, flags;
{
return(errno);
}
st_test_ready(unit,0);
if(st->quirks & ST_Q_SNS_HLP)
{
/***********************************************\