Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/sunxi Fix typo in phy-handle property name



details:   https://anonhg.NetBSD.org/src/rev/e5bebc36d930
branches:  trunk
changeset: 828635:e5bebc36d930
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Fri Dec 22 13:39:57 2017 +0000

description:
Fix typo in phy-handle property name

diffstat:

 sys/arch/arm/sunxi/sunxi_emac.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 36b9d6dfed03 -r e5bebc36d930 sys/arch/arm/sunxi/sunxi_emac.c
--- a/sys/arch/arm/sunxi/sunxi_emac.c   Fri Dec 22 13:27:29 2017 +0000
+++ b/sys/arch/arm/sunxi/sunxi_emac.c   Fri Dec 22 13:39:57 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_emac.c,v 1.11 2017/12/01 17:47:51 jmcneill Exp $ */
+/* $NetBSD: sunxi_emac.c,v 1.12 2017/12/22 13:39:57 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2016-2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -33,7 +33,7 @@
 #include "opt_net_mpsafe.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_emac.c,v 1.11 2017/12/01 17:47:51 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_emac.c,v 1.12 2017/12/22 13:39:57 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -1327,7 +1327,7 @@
        }
        sc->rst_ephy = fdtbus_reset_get(phandle, "ephy");
        if (sc->rst_ephy == NULL) {
-               int phy_phandle = fdtbus_get_phandle(phandle, "phy-phandle");
+               int phy_phandle = fdtbus_get_phandle(phandle, "phy-handle");
                if (phy_phandle != -1)
                        sc->rst_ephy = fdtbus_reset_get_index(phy_phandle, 0);
        }



Home | Main Index | Thread Index | Old Index