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 disable dma on cubietruck for now



details:   https://anonhg.NetBSD.org/src/rev/f9c3640811b6
branches:  trunk
changeset: 332172:f9c3640811b6
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Sep 09 21:04:05 2014 +0000

description:
disable dma on cubietruck for now

diffstat:

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

diffs (27 lines):

diff -r 394eede89bb2 -r f9c3640811b6 sys/arch/evbarm/awin/awin_machdep.c
--- a/sys/arch/evbarm/awin/awin_machdep.c       Tue Sep 09 20:39:52 2014 +0000
+++ b/sys/arch/evbarm/awin/awin_machdep.c       Tue Sep 09 21:04:05 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: awin_machdep.c,v 1.5 2014/09/09 02:43:19 jmcneill Exp $ */
+/*     $NetBSD: awin_machdep.c,v 1.6 2014/09/09 21:04:05 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.5 2014/09/09 02:43:19 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.6 2014/09/09 21:04:05 jmcneill Exp $");
 
 #include "opt_machdep.h"
 #include "opt_ddb.h"
@@ -660,6 +660,8 @@
                        prop_dictionary_set_cstring(dict,
                            "led-gpio", "status-led2");
                }
+               if (cubietruck_p)
+                       prop_dictionary_set_bool(dict, "dma", false);
                return;
        }
 



Home | Main Index | Thread Index | Old Index