Module Name: src Committed By: skrll Date: Sun Aug 25 15:23:51 UTC 2024
Modified Files: src/sys/arch/riscv/starfive: jh71x0_usb.c Log Message: spaces to tab To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/riscv/starfive/jh71x0_usb.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/arch/riscv/starfive/jh71x0_usb.c diff -u src/sys/arch/riscv/starfive/jh71x0_usb.c:1.1 src/sys/arch/riscv/starfive/jh71x0_usb.c:1.2 --- src/sys/arch/riscv/starfive/jh71x0_usb.c:1.1 Thu Jan 18 07:48:57 2024 +++ src/sys/arch/riscv/starfive/jh71x0_usb.c Sun Aug 25 15:23:51 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: jh71x0_usb.c,v 1.1 2024/01/18 07:48:57 skrll Exp $ */ +/* $NetBSD: jh71x0_usb.c,v 1.2 2024/08/25 15:23:51 skrll Exp $ */ /*- * Copyright (c) 2023 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: jh71x0_usb.c,v 1.1 2024/01/18 07:48:57 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: jh71x0_usb.c,v 1.2 2024/08/25 15:23:51 skrll Exp $"); #include <sys/param.h> @@ -232,11 +232,11 @@ jh71x0_usb_attach(device_t parent, devic aprint_naive("\n"); aprint_normal(": USB\n"); - for (int child = OF_child(phandle); child; child = OF_peer(child)) { - if (!fdtbus_status_okay(child)) - continue; + for (int child = OF_child(phandle); child; child = OF_peer(child)) { + if (!fdtbus_status_okay(child)) + continue; fdt_add_child(parent, child, faa, 0); - } + } //fdtbus_register_phy_controller(self, phandle, &XXX_usbphy_funcs);