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 pinset-func 3 for gmac on BananaPI ...



details:   https://anonhg.NetBSD.org/src/rev/a9704bb6922a
branches:  trunk
changeset: 805437:a9704bb6922a
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Jan 02 11:46:53 2015 +0000

description:
Use pinset-func 3 for gmac on BananaPI (value taken from the only working
u-boot driver).
This makes root on NFS and ftp transfers work for me.

diffstat:

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

diffs (27 lines):

diff -r e08d6362abf1 -r a9704bb6922a sys/arch/evbarm/awin/awin_machdep.c
--- a/sys/arch/evbarm/awin/awin_machdep.c       Fri Jan 02 10:04:35 2015 +0000
+++ b/sys/arch/evbarm/awin/awin_machdep.c       Fri Jan 02 11:46:53 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: awin_machdep.c,v 1.36 2014/12/11 23:35:11 jmcneill Exp $ */
+/*     $NetBSD: awin_machdep.c,v 1.37 2015/01/02 11:46:53 martin 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.36 2014/12/11 23:35:11 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.37 2015/01/02 11:46:53 martin Exp $");
 
 #include "opt_machdep.h"
 #include "opt_ddb.h"
@@ -817,7 +817,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", 5);
+               prop_dictionary_set_uint8(dict, "pinset-func", 3);
 #endif
                return;
        }



Home | Main Index | Thread Index | Old Index