Module Name: src Committed By: jmcneill Date: Sun May 28 00:28:17 UTC 2017
Modified Files: src/sys/dev/fdt: fdtbus.c Log Message: Change first pass from 1 to 0. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/fdt/fdtbus.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/fdt/fdtbus.c diff -u src/sys/dev/fdt/fdtbus.c:1.12 src/sys/dev/fdt/fdtbus.c:1.13 --- src/sys/dev/fdt/fdtbus.c:1.12 Sat Apr 29 12:49:05 2017 +++ src/sys/dev/fdt/fdtbus.c Sun May 28 00:28:17 2017 @@ -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 <jmcne...@invisible.ca> @@ -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 @@ fdt_attach(device_t parent, device_t sel } /* Scan devices */ - for (int pass = 1; pass <= FDTCF_PASS_DEFAULT; pass++) + for (int pass = 0; pass <= FDTCF_PASS_DEFAULT; pass++) fdt_scan(sc, pass); }