Skip to contentSkip to conversation

Disable pxa dma option for smc911x

PATCH Ryan Raasch 1 participant 2 messages Dec 14, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello,

Because our system, we have had to disable the dma for our chip :) We don't know why yet...

However, when disabling the DMA, there are a couple of cpp errors, which this patch fixes.

Greetings,
Ryan

drivers/net/smc911x.h +2 -2
index 05adb6a..e83213a 100644
@@ -60,7 +60,7 @@
 #define SMC_DYNAMIC_BUS_CONFIG
 #endif
 
-#ifdef SMC_USE_PXA_DMA
+#if SMC_USE_PXA_DMA == 1
 #define SMC_USE_DMA
 #endif
 
@@ -209,7 +209,7 @@ static inline void SMC_outsl(struct smc911x_local *lp, int reg,
 #endif /* SMC_DYNAMIC_BUS_CONFIG */
 
 
-#ifdef SMC_USE_PXA_DMA
+#if SMC_USE_PXA_DMA == 1
 
 #include <mach/dma.h>
 
#1 lore raw

Hello,

Because our system, we have had to disable the dma for our chip :) We don't know why yet...

However, when disabling the DMA, there are a couple of cpp errors, which this patch fixes.

Greetings,
Ryan