summaryrefslogtreecommitdiffstats
path: root/sys/scsi
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1993-10-11 04:53:23 +0000
committerrgrimes <rgrimes@FreeBSD.org>1993-10-11 04:53:23 +0000
commit589651cf0fb26c7ff9cbc3f0f2eae18d07916d2e (patch)
tree23e382ebaec0ff0d265ba6e8189b0db99b9b3404 /sys/scsi
parent3f11d4d9df216faea4e18024ef1f5f4760e562ad (diff)
downloadFreeBSD-src-589651cf0fb26c7ff9cbc3f0f2eae18d07916d2e.zip
FreeBSD-src-589651cf0fb26c7ff9cbc3f0f2eae18d07916d2e.tar.gz
>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.
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/st.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/scsi/st.c b/sys/scsi/st.c
index ea35b92..0b7dbf2 100644
--- a/sys/scsi/st.c
+++ b/sys/scsi/st.c
@@ -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)
{
/***********************************************\
OpenPOWER on IntegriCloud