[PATCH] m68knommu: update MAX_M68K_DMA_CHANNELS for some plattforms

From: Greg Ungerer
Date: Wed Apr 30 2008 - 22:21:09 EST


From: Sebastian Siewior <bigeasy@xxxxxxxxxxxxx>

include/asm-m68knommu/mcfdma.h defines base0-3 for M523x,
M527x and M528x so it looks this has been forgotten.

Signed-off-by: Sebastian Siewior <bigeasy@xxxxxxxxxxxxx>
Signed-off-by: Greg Ungerer <gerg@xxxxxxxxxxx>
---


diff -Naurp linux-2.6.25/include/asm-m68knommu/dma.h linux-2.6.25-uc0/include/asm-m68knommu/dma.h
--- linux-2.6.25/include/asm-m68knommu/dma.h 2008-04-17 12:49:44.000000000 +1000
+++ linux-2.6.25-uc0/include/asm-m68knommu/dma.h 2008-04-29 12:03:05.000000000 +1000
@@ -35,7 +35,8 @@
/*
* Set number of channels of DMA on ColdFire for different implementations.
*/
-#if defined(CONFIG_M5249) || defined(CONFIG_M5307) || defined(CONFIG_M5407)
+#if defined(CONFIG_M5249) || defined(CONFIG_M5307) || defined(CONFIG_M5407) || \
+ defined(CONFIG_M523x) || defined(CONFIG_M527x) || defined(CONFIG_M528x)
#define MAX_M68K_DMA_CHANNELS 4
#elif defined(CONFIG_M5272)
#define MAX_M68K_DMA_CHANNELS 1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/