summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-20 14:39:17 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-20 14:39:17 +0000
commit880c2d571df7f30ba3259449d83bcffd8cbdca60 (patch)
tree60495c5b1051f1e4641d1cb955c88f07a8e4c6a4 /package
parent34047fa1ae07ac1771cbe21a5f8ba6abfc5e74b1 (diff)
fix up a few ide related kernel config issues (related to #2516)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9364 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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 2da963d4de..fc33073d5c 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)