fix up a few ide related kernel config issues (related to #2516)
authorFelix Fietkau <nbd@openwrt.org>
Sat, 20 Oct 2007 14:39:17 +0000 (14:39 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 20 Oct 2007 14:39:17 +0000 (14:39 +0000)
SVN-Revision: 9364

package/kernel/modules/block.mk

index 2da963d4de5ad842cc8ad80e7f84aeff010fd8c2..fc33073d5c7096e1590e6990032d9812dd252283 100644 (file)
@@ -61,7 +61,9 @@ define KernelPackage/ide-core
        CONFIG_IDE_GENERIC \
        CONFIG_BLK_DEV_IDE \
        CONFIG_IDE_GENERIC \
-       CONFIG_BLK_DEV_IDEDISK
+       CONFIG_BLK_DEV_IDEDISK \
+       CONFIG_BLK_DEV_IDEDMA_PCI=y \
+       CONFIG_BLK_DEV_IDEPCI=y
   FILES:= \
        $(LINUX_DIR)/drivers/ide/ide-core.$(LINUX_KMOD_SUFFIX) \
        $(LINUX_DIR)/drivers/ide/ide-disk.$(LINUX_KMOD_SUFFIX)
@@ -74,7 +76,6 @@ define KernelPackage/ide-core/2.4
 endef
 
 define KernelPackage/ide-core/2.6
-#  KCONFIG+=CONFIG_IDE_GENERIC
   FILES+=$(LINUX_DIR)/drivers/ide/ide-generic.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD+=$(call AutoLoad,30,ide-generic)
 endef
@@ -93,8 +94,8 @@ $(eval $(call KernelPackage,ide-core))
 define KernelPackage/ide-aec62xx
   SUBMENU:=$(BLOCK_MENU)
   TITLE:=Acard AEC62xx IDE driver
-  DEPENDS:=@PCI_SUPPORT
-  KCONFIG:=CONFIG_BLK_DEV_AEC62XX
+  DEPENDS:=@PCI_SUPPORT +kmod-ide-core
+  KCONFIG:=CONFIG_BLK_DEV_AEC62XX 
   FILES:=$(LINUX_DIR)/drivers/ide/pci/aec62xx.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,30,aec62xx)
 endef
@@ -109,7 +110,7 @@ $(eval $(call KernelPackage,ide-aec62xx))
 define KernelPackage/ide-pdc202xx
   SUBMENU:=$(BLOCK_MENU)
   TITLE:=Promise PDC202xx IDE driver
-  DEPENDS:=@LINUX_2_4
+  DEPENDS:=@LINUX_2_4 +kmod-ide-core
   KCONFIG:=CONFIG_BLK_DEV_PDC202XX_OLD
   FILES:=$(LINUX_DIR)/drivers/ide/pci/pdc202xx_old.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,30,pdc202xx_old)