]> err.no Git - linux-2.6/commitdiff
[PATCH] cs89x0: fix setting of ALLOW_DMA
authorLennert Buytenhek <buytenh@wantstofly.org>
Wed, 11 Jan 2006 20:17:34 +0000 (12:17 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 02:42:11 +0000 (18:42 -0800)
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.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/cs89x0.c

index 907c0100974665b57e80c695f357e3d02f78cd04..e2cfde7e31eca8bf1736187909fbb4832286a66a 100644 (file)
  * 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