Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Oops, put back the initalization of "done" in ml...



details:   https://anonhg.NetBSD.org/src/rev/7d9ecae0efde
branches:  trunk
changeset: 513427:7d9ecae0efde
user:      ad <ad%NetBSD.org@localhost>
date:      Tue Jul 31 02:07:14 2001 +0000

description:
Oops, put back the initalization of "done" in mly_thread().

diffstat:

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

diffs (17 lines):

diff -r 35ef350f4a54 -r 7d9ecae0efde sys/dev/pci/mly.c
--- a/sys/dev/pci/mly.c Tue Jul 31 01:31:26 2001 +0000
+++ b/sys/dev/pci/mly.c Tue Jul 31 02:07:14 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mly.c,v 1.4 2001/07/30 23:49:51 ad Exp $       */
+/*     $NetBSD: mly.c,v 1.5 2001/07/31 02:07:14 ad Exp $       */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -1277,6 +1277,7 @@
 
                /* Re-scan up to 1 device. */
                s = splbio();
+               done = 0;
                for (bus = 0; bus < mly->mly_nchans && !done; bus++) {
                        for (target = 0; target < MLY_MAX_TARGETS; target++) {
                                /* Perform device rescan? */



Home | Main Index | Thread Index | Old Index