Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/imx/fdt Fixed bug.
details: https://anonhg.NetBSD.org/src/rev/3defa28a76c6
branches: trunk
changeset: 465257:3defa28a76c6
user: hkenken <hkenken%NetBSD.org@localhost>
date: Thu Nov 14 06:00:16 2019 +0000
description:
Fixed bug.
diffstat:
sys/arch/arm/imx/fdt/if_enet_imx.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 213aefb54253 -r 3defa28a76c6 sys/arch/arm/imx/fdt/if_enet_imx.c
--- a/sys/arch/arm/imx/fdt/if_enet_imx.c Thu Nov 14 04:14:30 2019 +0000
+++ b/sys/arch/arm/imx/fdt/if_enet_imx.c Thu Nov 14 06:00:16 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_enet_imx.c,v 1.7 2019/11/13 07:56:10 hkenken Exp $ */
+/* $NetBSD: if_enet_imx.c,v 1.8 2019/11/14 06:00:16 hkenken Exp $ */
/*-
* Copyright (c) 2019 Genetec Corporation. All rights reserved.
* Written by Hashimoto Kenichi for Genetec Corporation.
@@ -25,7 +25,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_enet_imx.c,v 1.7 2019/11/13 07:56:10 hkenken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_enet_imx.c,v 1.8 2019/11/14 06:00:16 hkenken Exp $");
#include "opt_fdt.h"
@@ -210,7 +210,7 @@
fdtbus_gpio_write(sc->sc_pin_reset, 0);
/* Post delay */
- if (!of_getprop_uint32(phandle, "phy-reset-post-delay", &msec))
+ if (of_getprop_uint32(phandle, "phy-reset-post-delay", &msec))
msec = 0;
delay(msec * 1000);
Home |
Main Index |
Thread Index |
Old Index