* CMD640 problem in 2.6.0-test8
@ 2003-10-20 17:27 Dale Amon
2003-10-20 18:56 ` Bartlomiej Zolnierkiewicz
0 siblings, 1 reply; 3+ messages in thread
From: Dale Amon @ 2003-10-20 17:27 UTC (permalink / raw)
To: kernel list
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: CMD640 problem in 2.6.0-test8
2003-10-20 17:27 CMD640 problem in 2.6.0-test8 Dale Amon
@ 2003-10-20 18:56 ` Bartlomiej Zolnierkiewicz
2003-10-20 22:47 ` Dale Amon
0 siblings, 1 reply; 3+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2003-10-20 18:56 UTC (permalink / raw)
To: Dale Amon; +Cc: kernel list
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
_
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: CMD640 problem in 2.6.0-test8
2003-10-20 18:56 ` Bartlomiej Zolnierkiewicz
@ 2003-10-20 22:47 ` Dale Amon
0 siblings, 0 replies; 3+ messages in thread
From: Dale Amon @ 2003-10-20 22:47 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz; +Cc: Dale Amon, kernel list
On Mon, Oct 20, 2003 at 08:56:42PM +0200, Bartlomiej Zolnierkiewicz wrote:
> this patch should fix it,
> --bartlomiej
I had a bit of trouble with it caused by the cut and paste and ended up
just doing the edit manually. But it does the trick. Kernel compiles fine
now. Thanks.
> [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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-10-20 22:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-20 17:27 CMD640 problem in 2.6.0-test8 Dale Amon
2003-10-20 18:56 ` Bartlomiej Zolnierkiewicz
2003-10-20 22:47 ` Dale Amon
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.