summaryrefslogtreecommitdiff
path: root/package/kernel/modules
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-10-20 14:39:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-10-20 14:39:17 +0000
commitdb9e706f8c1427752e6a17ed210138ac11d93935 (patch)
tree355fd7e40b8cc30153473ab82d98db28243f4067 /package/kernel/modules
parentab8a75d73f97dd727c6af411340dda4cd81adbf6 (diff)
downloadmtk-20170518-db9e706f8c1427752e6a17ed210138ac11d93935.zip
mtk-20170518-db9e706f8c1427752e6a17ed210138ac11d93935.tar.gz
mtk-20170518-db9e706f8c1427752e6a17ed210138ac11d93935.tar.bz2
fix up a few ide related kernel config issues (related to #2516)
SVN-Revision: 9364
Diffstat (limited to 'package/kernel/modules')
-rw-r--r--package/kernel/modules/block.mk11
1 files changed, 6 insertions, 5 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk
index 2da963d..fc33073 100644
--- a/package/kernel/modules/block.mk
+++ b/package/kernel/modules/block.mk
@@ -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)