Module Name:    src
Committed By:   jmcneill
Date:           Tue Sep  9 21:04:05 UTC 2014

Modified Files:
        src/sys/arch/evbarm/awin: awin_machdep.c

Log Message:
disable dma on cubietruck for now


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 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.5 src/sys/arch/evbarm/awin/awin_machdep.c:1.6
--- src/sys/arch/evbarm/awin/awin_machdep.c:1.5	Tue Sep  9 02:43:19 2014
+++ src/sys/arch/evbarm/awin/awin_machdep.c	Tue Sep  9 21:04:05 2014
@@ -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 @@ awin_device_register(device_t self, void
 			prop_dictionary_set_cstring(dict,
 			    "led-gpio", "status-led2");
 		}
+		if (cubietruck_p)
+			prop_dictionary_set_bool(dict, "dma", false);
 		return;
 	}
 

Reply via email to