Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Ops, don't forget to increment li->used for each ...



details:   https://anonhg.NetBSD.org/src/rev/02ad14144c42
branches:  trunk
changeset: 509265:02ad14144c42
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Mon Apr 30 13:58:32 2001 +0000

description:
Ops, don't forget to increment li->used for each tagged command.

diffstat:

 sys/dev/ic/ncr53c9x.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 0492808ea0e5 -r 02ad14144c42 sys/dev/ic/ncr53c9x.c
--- a/sys/dev/ic/ncr53c9x.c     Mon Apr 30 13:49:38 2001 +0000
+++ b/sys/dev/ic/ncr53c9x.c     Mon Apr 30 13:58:32 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ncr53c9x.c,v 1.77 2001/04/28 15:09:42 bouyer Exp $     */
+/*     $NetBSD: ncr53c9x.c,v 1.78 2001/04/30 13:58:32 bouyer Exp $     */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -1101,6 +1101,7 @@
                if (tag != 0) {
                        li->queued[ecb->xs->xs_tag_id] = ecb;
                        ecb->tag[1] = ecb->xs->xs_tag_id;
+                       li->used++;
                }
                splx(s);
                if (li->untagged != NULL && (li->busy != 1)) {



Home | Main Index | Thread Index | Old Index