Module Name: src
Committed By: msaitoh
Date: Wed Jan 7 21:08:06 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 #382):
sys/arch/evbarm/awin/awin_machdep.c: revision 1.38
Fix typo in BPI specific setup, spotted by Jared.
Now awge works with the official sunxi-linux u-boot versions as well.
To generate a diff of this commit:
cvs rdiff -u -r1.8.2.9 -r1.8.2.10 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.9 src/sys/arch/evbarm/awin/awin_machdep.c:1.8.2.10
--- src/sys/arch/evbarm/awin/awin_machdep.c:1.8.2.9 Sat Jan 3 05:52:09 2015
+++ src/sys/arch/evbarm/awin/awin_machdep.c Wed Jan 7 21:08:06 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: awin_machdep.c,v 1.8.2.9 2015/01/03 05:52:09 snj Exp $ */
+/* $NetBSD: awin_machdep.c,v 1.8.2.10 2015/01/07 21:08:06 msaitoh 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.9 2015/01/03 05:52:09 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.8.2.10 2015/01/07 21:08:06 msaitoh Exp $");
#include "opt_machdep.h"
#include "opt_ddb.h"
@@ -745,7 +745,7 @@ awin_device_register(device_t self, void
prop_dictionary_set_cstring(dict, "phy-type", "mii");
}
#endif
-#if AWIN_BOARD == AWIN_bpi
+#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", 3);