All of lore.kernel.org
 help / color / mirror / Atom feed
* Disable pxa dma option for smc911x
@ 2009-12-14 13:14 Ryan Raasch
  2009-12-14 13:22 ` Ryan Raasch
  0 siblings, 1 reply; 3+ messages in thread
From: Ryan Raasch @ 2009-12-14 13:14 UTC (permalink / raw)
  To: netdev

[-- Attachment #1: Type: text/plain, Size: 211 bytes --]

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

[-- Attachment #2: fix_smc911x_pxa_dma_disable.patch --]
[-- Type: text/x-patch, Size: 488 bytes --]

diff --git a/drivers/net/smc911x.h b/drivers/net/smc911x.h
index 05adb6a..e83213a 100644
--- a/drivers/net/smc911x.h
+++ b/drivers/net/smc911x.h
@@ -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>
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread
* Disable pxa dma option for smc911x
@ 2009-12-14 13:31 Ryan Raasch
  0 siblings, 0 replies; 3+ messages in thread
From: Ryan Raasch @ 2009-12-14 13:31 UTC (permalink / raw)
  To: linux-arm-kernel

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_smc911x_pxa_dma_disable.patch
Type: text/x-patch
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20091214/03d10766/attachment.bin>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-14 13:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-14 13:14 Disable pxa dma option for smc911x Ryan Raasch
2009-12-14 13:22 ` Ryan Raasch
  -- strict thread matches above, loose matches on Subject: below --
2009-12-14 13:31 Ryan Raasch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.