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 cubieboard2 uses awge not awe



details:   https://anonhg.NetBSD.org/src/rev/3e6b8c586ccd
branches:  trunk
changeset: 802290:3e6b8c586ccd
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Sep 09 02:43:19 2014 +0000

description:
cubieboard2 uses awge not awe

diffstat:

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

diffs (27 lines):

diff -r 2fd1880b4f35 -r 3e6b8c586ccd sys/arch/evbarm/awin/awin_machdep.c
--- a/sys/arch/evbarm/awin/awin_machdep.c       Tue Sep 09 00:16:03 2014 +0000
+++ b/sys/arch/evbarm/awin/awin_machdep.c       Tue Sep 09 02:43:19 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: awin_machdep.c,v 1.4 2014/09/07 06:26:08 skrll Exp $ */
+/*     $NetBSD: awin_machdep.c,v 1.5 2014/09/09 02:43:19 jmcneill 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.4 2014/09/07 06:26:08 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.5 2014/09/09 02:43:19 jmcneill Exp $");
 
 #include "opt_machdep.h"
 #include "opt_ddb.h"
@@ -585,7 +585,7 @@
 
        if (device_is_a(self, "awinio")) {
 #if AWIN_board == AWIN_cubieboard || AWIN_board == AWIN_cubietruck
-               if (cubietruck_p) {
+               if (awin_chip_id() == AWIN_CHIP_ID_A20) {
                        prop_dictionary_set_bool(dict, "no-awe", true);
                } else {
                        prop_dictionary_set_bool(dict, "no-awge", true);



Home | Main Index | Thread Index | Old Index