Module Name:    src
Committed By:   kiyohara
Date:           Fri Oct  1 09:54:56 UTC 2010

Modified Files:
        src/sys/arch/arm/xscale: pxa2x0_mci.c

Log Message:
Add capacity SMC_CAPS_MULTI_SEG_DMA.  pxamci uses pxadmac for DMA.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/xscale/pxa2x0_mci.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/arm/xscale/pxa2x0_mci.c
diff -u src/sys/arch/arm/xscale/pxa2x0_mci.c:1.5 src/sys/arch/arm/xscale/pxa2x0_mci.c:1.6
--- src/sys/arch/arm/xscale/pxa2x0_mci.c:1.5	Tue Apr  6 15:55:46 2010
+++ src/sys/arch/arm/xscale/pxa2x0_mci.c	Fri Oct  1 09:54:56 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: pxa2x0_mci.c,v 1.5 2010/04/06 15:55:46 nonaka Exp $	*/
+/*	$NetBSD: pxa2x0_mci.c,v 1.6 2010/10/01 09:54:56 kiyohara Exp $	*/
 /*	$OpenBSD: pxa2x0_mmc.c,v 1.5 2009/02/23 18:09:55 miod Exp $	*/
 
 /*
@@ -54,7 +54,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pxa2x0_mci.c,v 1.5 2010/04/06 15:55:46 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pxa2x0_mci.c,v 1.6 2010/10/01 09:54:56 kiyohara Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -305,7 +305,7 @@
 	saa.saa_clkmax = sc->sc_clkmax;
 	saa.saa_caps = 0;
 	if (!ISSET(sc->sc_caps, PMC_CAPS_NO_DMA))
-		SET(saa.saa_caps, SMC_CAPS_DMA);
+		SET(saa.saa_caps, SMC_CAPS_DMA | SMC_CAPS_MULTI_SEG_DMA);
 	if (CPU_IS_PXA270 && ISSET(sc->sc_caps, PMC_CAPS_4BIT))
 		SET(saa.saa_caps, SMC_CAPS_4BIT_MODE);
 

Reply via email to