Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/awin Use correct pinset function (5 not 2) f...



details:   https://anonhg.NetBSD.org/src/rev/9038e151d460
branches:  trunk
changeset: 804994:9038e151d460
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed Dec 10 17:45:53 2014 +0000

description:
Use correct pinset function (5 not 2) for gmac on BananaPi

diffstat:

 sys/arch/evbarm/awin/awin_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3d289aa8bcfc -r 9038e151d460 sys/arch/evbarm/awin/awin_machdep.c
--- a/sys/arch/evbarm/awin/awin_machdep.c       Wed Dec 10 17:09:49 2014 +0000
+++ b/sys/arch/evbarm/awin/awin_machdep.c       Wed Dec 10 17:45:53 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: awin_machdep.c,v 1.34 2014/12/07 00:36:26 jmcneill Exp $ */
+/*     $NetBSD: awin_machdep.c,v 1.35 2014/12/10 17:45:53 jmcneill Exp $ */
 
 /*
  * Machine dependent functions for kernel setup for TI OSK5912 board.
@@ -125,7 +125,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.34 2014/12/07 00:36:26 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.35 2014/12/10 17:45:53 jmcneill Exp $");
 
 #include "opt_machdep.h"
 #include "opt_ddb.h"
@@ -807,7 +807,7 @@
 #if AWIN_BOARD == AWIN_bpi
                prop_dictionary_set_cstring(dict, "phy-power", "gmacpwren");
                prop_dictionary_set_cstring(dict, "phy-type", "rgmii-bpi");
-               prop_dictionary_set_uint8(dict, "pinset-func", 2);
+               prop_dictionary_set_uint8(dict, "pinset-func", 5);
 #endif
                return;
        }



Home | Main Index | Thread Index | Old Index