Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/i2o Nit.



details:   https://anonhg.NetBSD.org/src/rev/86c1e9bf6b13
branches:  trunk
changeset: 500020:86c1e9bf6b13
user:      ad <ad%NetBSD.org@localhost>
date:      Sun Dec 03 15:51:36 2000 +0000

description:
Nit.

diffstat:

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

diffs (23 lines):

diff -r 245eb781f635 -r 86c1e9bf6b13 sys/dev/i2o/iop.c
--- a/sys/dev/i2o/iop.c Sun Dec 03 15:40:06 2000 +0000
+++ b/sys/dev/i2o/iop.c Sun Dec 03 15:51:36 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iop.c,v 1.6 2000/12/03 13:34:37 ad Exp $       */
+/*     $NetBSD: iop.c,v 1.7 2000/12/03 15:51:36 ad Exp $       */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -642,9 +642,12 @@
                 * Try to configure the device only if it's not already
                 * configured.
                 */
-               LIST_FOREACH(ii, &sc->sc_iilist, ii_list)
+               LIST_FOREACH(ii, &sc->sc_iilist, ii_list) {
+                       if ((ii->ii_flags & II_UTILITY) != 0)
+                               continue;
                        if (ia.ia_tid == ii->ii_tid)
                                break;
+               }
                if (ii != NULL)
                        continue;
 



Home | Main Index | Thread Index | Old Index