* [2.5 patch] go to drivers/ide/pci/ even for !CONFIG_BLK_DEV_IDEPCI
@ 2003-01-11 13:11 Adrian Bunk
2003-01-11 13:25 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2003-01-11 13:11 UTC (permalink / raw)
To: Alan Cox; +Cc: linux-kernel
Hi Alan,
I observed the following problem with the cmd640 driver in 2.5.56:
- cmd640.c is in the drivers/ide/pci/ subdirectory.
- BLK_DEV_CMD640 does not depend on BLK_DEV_IDEPCI
- drivers/ide/Makefile only goes to pci/ if BLK_DEV_IDEPCI is selected
If the .config contains the following legal configuration:
<-- snip -->
...
CONFIG_BLK_DEV_CMD640=y
...
# CONFIG_BLK_DEV_IDEPCI is not set
...
<-- snip -->
the cmd640 driver isn't built.
The following patch fixes this (similar to 2.4 where pci/ is already
visited for !CONFIG_BLK_DEV_IDEPCI):
--- linux-2.5.56/drivers/ide/Makefile.old 2003-01-11 13:52:30.000000000 +0100
+++ linux-2.5.56/drivers/ide/Makefile 2003-01-11 13:52:51.000000000 +0100
@@ -10,7 +10,7 @@
export-objs := ide-iops.o ide-taskfile.o ide-proc.o ide.o ide-probe.o ide-dma.o ide-lib.o setup-pci.o ide-io.o
# 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
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [2.5 patch] go to drivers/ide/pci/ even for !CONFIG_BLK_DEV_IDEPCI
2003-01-11 13:11 [2.5 patch] go to drivers/ide/pci/ even for !CONFIG_BLK_DEV_IDEPCI Adrian Bunk
@ 2003-01-11 13:25 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2003-01-11 13:25 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Alan Cox, linux-kernel
> I observed the following problem with the cmd640 driver in 2.5.56:
I know
> - cmd640.c is in the drivers/ide/pci/ subdirectory.
> - BLK_DEV_CMD640 does not depend on BLK_DEV_IDEPCI
This is correct
> - drivers/ide/Makefile only goes to pci/ if BLK_DEV_IDEPCI is selected
> If the .config contains the following legal configuration:
There are a lot of configurations with this property.
> The following patch fixes this (similar to 2.4 where pci/ is already
> visited for !CONFIG_BLK_DEV_IDEPCI):
>
> --- linux-2.5.56/drivers/ide/Makefile.old 2003-01-11 13:52:30.000000000 +0100
> +++ linux-2.5.56/drivers/ide/Makefile 2003-01-11 13:52:51.000000000 +0100
> @@ -10,7 +10,7 @@
> export-objs := ide-iops.o ide-taskfile.o ide-proc.o ide.o ide-probe.o ide-dma.o ide-lib.o setup-pci.o ide-io.o
>
> # First come modules that register themselves with the core
> -obj-$(CONFIG_BLK_DEV_IDEPCI) += pci/
> +obj-$(CONFIG_BLK_DEV_IDE) += pci/
I think thats the best approach.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-11 13:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-11 13:11 [2.5 patch] go to drivers/ide/pci/ even for !CONFIG_BLK_DEV_IDEPCI Adrian Bunk
2003-01-11 13:25 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox