There's an ifdef in cs89x0.c that seems to have been the wrong way round
since it was merged (and noone seems to have noticed) -- the IXDP2x01
doesn't support ISA-style DMA, but when building for IXDP2x01, cs89x0's
ALLOW_DMA is set to 1, and when building for another platform, ALLOW_DMA
is set to 0.

rmk proposed replacing CONFIG_ARCH_IXDP2X01 with CONFIG_ISA_DMA_API.  Ok?

Signed-off-by: Lennert Buytenhek <[EMAIL PROTECTED]>

--- linux-2.6.15/drivers/net/cs89x0.c.orig      2006-01-08 21:35:35.000000000 
+0100
+++ linux-2.6.15/drivers/net/cs89x0.c   2006-01-08 21:35:53.000000000 +0100
@@ -100,7 +100,7 @@
  * Note that even if DMA is turned off we still support the 'dma' and  
'use_dma'
  * module options so we don't break any startup scripts.
  */
-#ifndef CONFIG_ARCH_IXDP2X01
+#ifndef CONFIG_ISA_DMA_API
 #define ALLOW_DMA      0
 #else
 #define ALLOW_DMA      1
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to