Skip to contentSkip to conversation

m68knommu: update MAX_M68K_DMA_CHANNELS for some plattforms

PATCH New Greg Ungerer 1 participant 1 message May 1, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 m68knommu: update MAX_M68K_DMA_CHANNELS for some plattforms

From: Sebastian Siewior <[email protected]>

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

---

include/asm-m68knommu/dma.h +2 -1
diff -Naurp linux-2.6.25/include/asm-m68knommu/dma.h linux-2.6.25-uc0/include/asm-m68knommu/dma.h
@@ -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