Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/dev/scsipi pullup 1.21->1.22 (pk): deal with missin...



details:   https://anonhg.NetBSD.org/src/rev/fccfe3eb6c60
branches:  netbsd-1-4
changeset: 468962:fccfe3eb6c60
user:      perry <perry%NetBSD.org@localhost>
date:      Thu Jun 24 16:17:11 1999 +0000

description:
pullup 1.21->1.22 (pk): deal with missing "raise interrupt level" code

diffstat:

 sys/dev/scsipi/scsipi_base.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 40ffdc155070 -r fccfe3eb6c60 sys/dev/scsipi/scsipi_base.c
--- a/sys/dev/scsipi/scsipi_base.c      Thu Jun 24 16:15:59 1999 +0000
+++ b/sys/dev/scsipi/scsipi_base.c      Thu Jun 24 16:17:11 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scsipi_base.c,v 1.20.2.1 1999/04/07 15:04:22 bouyer Exp $      */
+/*     $NetBSD: scsipi_base.c,v 1.20.2.2 1999/06/24 16:17:11 perry Exp $       */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -607,8 +607,11 @@
         * returned SUCCESSFULLY_QUEUED when the command was
         * submitted), we need to free the scsipi_xfer here.
         */
-       if (SCSIPI_XFER_ASYNC(xs))
+       if (SCSIPI_XFER_ASYNC(xs)) {
+               int s = splbio();
                scsipi_free_xs(xs, SCSI_NOSLEEP);
+               splx(s);
+       }
        if (bp)
                biodone(bp);
 }



Home | Main Index | Thread Index | Old Index