Module Name: src
Committed By: martin
Date: Sun Jan 4 15:59:32 UTC 2015
Modified Files:
src/sys/arch/evbarm/awin: awin_machdep.c
Log Message:
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.37 -r1.38 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.37 src/sys/arch/evbarm/awin/awin_machdep.c:1.38
--- src/sys/arch/evbarm/awin/awin_machdep.c:1.37 Fri Jan 2 11:46:53 2015
+++ src/sys/arch/evbarm/awin/awin_machdep.c Sun Jan 4 15:59:32 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: awin_machdep.c,v 1.37 2015/01/02 11:46:53 martin Exp $ */
+/* $NetBSD: awin_machdep.c,v 1.38 2015/01/04 15:59:32 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.37 2015/01/02 11:46:53 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.38 2015/01/04 15:59:32 martin Exp $");
#include "opt_machdep.h"
#include "opt_ddb.h"
@@ -814,7 +814,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);