From b3f8d22993b0134d7ce9cc79d86cbffb25a6908d Mon Sep 17 00:00:00 2001 From: bouyer Date: Fri, 3 May 2002 20:41:17 +0000 Subject: [PATCH] Back out previous. It has issues with multiple dumps to one tape using /dev/nrstx, as pointed out by Matthew Jacob. My problem is probably related to mt using /dev/nrst0 instead of /dev/enrst0 by default. --- sys/dev/scsipi/st.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/sys/dev/scsipi/st.c b/sys/dev/scsipi/st.c index ddf512e3f457..05778ad7bbb5 100644 --- a/sys/dev/scsipi/st.c +++ b/sys/dev/scsipi/st.c @@ -1,4 +1,4 @@ -/* $NetBSD: st.c,v 1.153 2002/05/02 12:36:23 bouyer Exp $ */ +/* $NetBSD: st.c,v 1.154 2002/05/03 20:41:17 bouyer Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. @@ -56,7 +56,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: st.c,v 1.153 2002/05/02 12:36:23 bouyer Exp $"); +__KERNEL_RCSID(0, "$NetBSD: st.c,v 1.154 2002/05/03 20:41:17 bouyer Exp $"); #include "opt_scsi.h" @@ -2099,14 +2099,9 @@ st_interpret_sense(xs) } /* - * If the device is not open yet, a Not Ready To Ready Transition - * is acceptable. Let generic code handle other ASC/ASQ. + * If the device is not open yet, let generic handle */ if ((periph->periph_flags & PERIPH_OPEN) == 0) { - if (key == SKEY_UNIT_ATTENTION && - st->asc == 0x28 && st->ascq == 0x0) { - return (0); - } return (retval); }