Module Name:    src
Committed By:   snj
Date:           Sat Jan  3 05:52:10 UTC 2015

Modified Files:
        src/sys/arch/evbarm/awin [netbsd-7]: awin_machdep.c

Log Message:
Pull up following revision(s) (requested by martin in ticket #376):
        sys/arch/evbarm/awin/awin_machdep.c: revision 1.35, 1.37
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.


To generate a diff of this commit:
cvs rdiff -u -r1.8.2.8 -r1.8.2.9 src/sys/arch/evbarm/awin/awin_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbarm/awin/awin_machdep.c
diff -u src/sys/arch/evbarm/awin/awin_machdep.c:1.8.2.8 src/sys/arch/evbarm/awin/awin_machdep.c:1.8.2.9
--- src/sys/arch/evbarm/awin/awin_machdep.c:1.8.2.8	Tue Nov 18 18:19:09 2014
+++ src/sys/arch/evbarm/awin/awin_machdep.c	Sat Jan  3 05:52:09 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: awin_machdep.c,v 1.8.2.8 2014/11/18 18:19:09 snj Exp $ */
+/*	$NetBSD: awin_machdep.c,v 1.8.2.9 2015/01/03 05:52:09 snj 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.8.2.8 2014/11/18 18:19:09 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.8.2.9 2015/01/03 05:52:09 snj Exp $");
 
 #include "opt_machdep.h"
 #include "opt_ddb.h"
@@ -748,7 +748,7 @@ awin_device_register(device_t self, void
 #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", 3);
 #endif
 		return;
 	}

Reply via email to