Re: Linux 2.6.3-rc4

From: Martin Diehl
Date: Tue Feb 17 2004 - 04:24:35 EST


On Tue, 17 Feb 2004, Martin Diehl wrote:

> drivers/built-in.o(.text+0x3aa33): In function `set_using_dma':
> : undefined reference to `__ide_dma_off'
> drivers/built-in.o(.text+0x401bc): In function `check_dma_crc':
> : undefined reference to `__ide_dma_off'
> make: *** [.tmp_vmlinux1] Error 1

FWIW, the patch below solved this, but I'm not sure if it's the correct
fix.

Martin

-----------------------------

--- linux-2.6.3-rc4/drivers/ide/Makefile Tue Feb 10 18:14:34 2004
+++ v2.6.3-rc4-md-ob/drivers/ide/Makefile Tue Feb 17 10:24:46 2004
@@ -14,13 +14,13 @@
obj-$(CONFIG_BLK_DEV_IDE) += pci/

ide-core-y += ide.o ide-default.o ide-io.o ide-iops.o ide-lib.o ide-probe.o \
- ide-taskfile.o
+ ide-taskfile.o ide-dma.o

ide-core-$(CONFIG_BLK_DEV_CMD640) += pci/cmd640.o

# Core IDE code - must come before legacy
ide-core-$(CONFIG_BLK_DEV_IDEPCI) += setup-pci.o
-ide-core-$(CONFIG_BLK_DEV_IDEDMA) += ide-dma.o
+# ide-core-$(CONFIG_BLK_DEV_IDEDMA) += ide-dma.o
ide-core-$(CONFIG_BLK_DEV_IDE_TCQ) += ide-tcq.o
ide-core-$(CONFIG_PROC_FS) += ide-proc.o
ide-core-$(CONFIG_BLK_DEV_IDEPNP) += ide-pnp.o

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/