2.4.22-rc2, modular ide, missing dependencies in drivers/ide/Config.in?
Hello,
I've tried to build a kernel with modular IDE drivers (CONFIG_IDE=m) and got unresolved symbols during make modules_install. The reason was CONFIG_BLK_DEV_CMD640=y which has to be set to 'm' when you try to build IDE drivers as modules.
I think the IDE chipset bugfix/support should depend on CONFIG_BLK_DEV_IDE to force building them as modules if the IDE driver is build as a module:
drivers/ide/Config.in Wed Aug 13 22:12:37 2003 renamed from drivers/ide/Config.in Wed Aug 13 11:28:08 2003 +1 -1
@@ -27,7 +27,7 @@ comment 'IDE chipset support/bugfixes' if [ "$CONFIG_BLK_DEV_IDE" != "n" ]; then - dep_bool ' CMD640 chipset bugfix/support' CONFIG_BLK_DEV_CMD640 $CONFIG_X86 + dep_tristate ' CMD640 chipset bugfix/support' CONFIG_BLK_DEV_CMD640 $CONFIG_X86 $CONFIG_BLK_DEV_IDE
The same holds for nearly all other drivers in the ide subdirectories. Unfortunately I'm not familiar enough with the sources and dependencies to provide a complete diff.
regards,
Jean