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.66->1.67 (pk): deal with missin...



details:   https://anonhg.NetBSD.org/src/rev/a566535017d8
branches:  netbsd-1-4
changeset: 468963:a566535017d8
user:      perry <perry%NetBSD.org@localhost>
date:      Thu Jun 24 16:18:20 1999 +0000

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

diffstat:

 sys/dev/scsipi/scsi_base.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r fccfe3eb6c60 -r a566535017d8 sys/dev/scsipi/scsi_base.c
--- a/sys/dev/scsipi/scsi_base.c        Thu Jun 24 16:17:11 1999 +0000
+++ b/sys/dev/scsipi/scsi_base.c        Thu Jun 24 16:18:20 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scsi_base.c,v 1.66 1998/11/17 14:38:42 bouyer Exp $    */
+/*     $NetBSD: scsi_base.c,v 1.66.4.1 1999/06/24 16:18:20 perry Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -92,7 +92,7 @@
        int flags;
 {
        struct scsipi_xfer *xs;
-       int error;
+       int error, s;
 
        SC_DEBUG(sc_link, SDEV_DB2, ("scsi_scsipi_cmd\n"));
 
@@ -121,7 +121,9 @@
         * we have finished with the xfer stuct, free it and
         * check if anyone else needs to be started up.
         */
+       s = splbio();
        scsipi_free_xs(xs, flags);
+       splx(s);
        return (error);
 }
 



Home | Main Index | Thread Index | Old Index