Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/fdt Change first pass from 1 to 0.



details:   https://anonhg.NetBSD.org/src/rev/dbb71f3f966c
branches:  trunk
changeset: 824205:dbb71f3f966c
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun May 28 00:28:17 2017 +0000

description:
Change first pass from 1 to 0.

diffstat:

 sys/dev/fdt/fdtbus.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d059c0158caf -r dbb71f3f966c sys/dev/fdt/fdtbus.c
--- a/sys/dev/fdt/fdtbus.c      Sat May 27 22:53:29 2017 +0000
+++ b/sys/dev/fdt/fdtbus.c      Sun May 28 00:28:17 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdtbus.c,v 1.12 2017/04/29 12:49:05 jmcneill Exp $ */
+/* $NetBSD: fdtbus.c,v 1.13 2017/05/28 00:28:17 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdtbus.c,v 1.12 2017/04/29 12:49:05 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdtbus.c,v 1.13 2017/05/28 00:28:17 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -161,7 +161,7 @@
        }
 
        /* Scan devices */
-       for (int pass = 1; pass <= FDTCF_PASS_DEFAULT; pass++)
+       for (int pass = 0; pass <= FDTCF_PASS_DEFAULT; pass++)
                fdt_scan(sc, pass);
 }
 



Home | Main Index | Thread Index | Old Index