Re: CMD640 problem in 2.6.0-test8

From: Bartlomiej Zolnierkiewicz
Date: Mon Oct 20 2003 - 16:22:02 EST



On Monday 20 of October 2003 19:27, Dale Amon wrote:
> I'm seeing these compile errors:
>
> LD .tmp_vmlinux1
>
> drivers/built-in.o(.init.text+0x4e6b): In function `ide_setup':
> : undefined reference to `cmd640_vlb'
>
> drivers/built-in.o(.init.text+0x5361): In function `probe_for_hwifs':
> : undefined reference to `ide_probe_for_cmd640x'
>
> make: *** [.tmp_vmlinux1] Error 1
>
> The .config contains:
>
> CONFIG_BLK_DEV_CMD640=y
>
> but ide/pci/cmd640.c doesn't seem to get compiled. I tried doing it
> manually and got a screen full of errors.

this patch should fix it,
--bartlomiej

[IDE] fix drivers/ide/pci/cmd640.c for CONFIG_PCI=n

CMD640 driver also supports VLB version of the chipset, therefore fix
drivers/ide/Makefile to include pci/ subdir even if CONFIG_BLK_DEV_IDEPCI=n.

drivers/ide/Makefile | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/ide/Makefile~ide-cmd640-no_pci-fix drivers/ide/Makefile
--- linux-2.6.0-test8/drivers/ide/Makefile~ide-cmd640-no_pci-fix 2003-10-20 20:47:03.701132024 +0200
+++ linux-2.6.0-test8-root/drivers/ide/Makefile 2003-10-20 20:47:17.280067712 +0200
@@ -8,7 +8,7 @@
# In the future, some of these should be built conditionally.
#
# First come modules that register themselves with the core
-obj-$(CONFIG_BLK_DEV_IDEPCI) += pci/
+obj-$(CONFIG_BLK_DEV_IDE) += pci/

# Core IDE code - must come before legacy


_

-
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/