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 Explicitly select external PHY on H6
details: https://anonhg.NetBSD.org/src/rev/ed25730ceca4
branches: trunk
changeset: 361506:ed25730ceca4
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Tue May 01 21:18:23 2018 +0000
description:
Explicitly select external PHY on H6
diffstat:
sys/arch/arm/sunxi/sunxi_emac.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 04ea1058f68c -r ed25730ceca4 sys/arch/arm/sunxi/sunxi_emac.c
--- a/sys/arch/arm/sunxi/sunxi_emac.c Tue May 01 21:16:02 2018 +0000
+++ b/sys/arch/arm/sunxi/sunxi_emac.c Tue May 01 21:18:23 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_emac.c,v 1.13 2018/02/19 20:22:48 jmcneill Exp $ */
+/* $NetBSD: sunxi_emac.c,v 1.14 2018/05/01 21:18:23 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.13 2018/02/19 20:22:48 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_emac.c,v 1.14 2018/05/01 21:18:23 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -952,7 +952,7 @@
reg |= (rx_delay << EMAC_CLK_ERXDC_SHIFT);
}
- if (sc->type == EMAC_H3) {
+ if (sc->type == EMAC_H3 || sc->type == EMAC_H6) {
if (sunxi_emac_has_internal_phy(sc)) {
reg |= EMAC_CLK_EPHY_SELECT;
reg &= ~EMAC_CLK_EPHY_SHUTDOWN;
Home |
Main Index |
Thread Index |
Old Index