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 Fix typo in BPI specific setup, spotted...



details:   https://anonhg.NetBSD.org/src/rev/e685fd357a2f
branches:  trunk
changeset: 805501:e685fd357a2f
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Jan 04 15:59:32 2015 +0000

description:
Fix typo in BPI specific setup, spotted by Jared.
Now awge works with the official sunxi-linux u-boot versions as well.

diffstat:

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

diffs (27 lines):

diff -r 321f847b9bac -r e685fd357a2f sys/arch/evbarm/awin/awin_machdep.c
--- a/sys/arch/evbarm/awin/awin_machdep.c       Sun Jan 04 15:24:18 2015 +0000
+++ b/sys/arch/evbarm/awin/awin_machdep.c       Sun Jan 04 15:59:32 2015 +0000
@@ -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 @@
                        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);



Home | Main Index | Thread Index | Old Index