summaryrefslogtreecommitdiff
path: root/package/kernel/modules/block.mk
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2010-01-06 01:08:00 +0000
committerNicolas Thill <nico@openwrt.org>2010-01-06 01:08:00 +0000
commitad91c89f08e7f04ca9e43f4c46fc0be0d8119112 (patch)
tree1213ef71c0dd25e741f56330bfb4bc9ea370fc1d /package/kernel/modules/block.mk
parentde6bbad0100771a89b2091f6d01d0fc54633cf66 (diff)
downloadmtk-20170518-ad91c89f08e7f04ca9e43f4c46fc0be0d8119112.zip
mtk-20170518-ad91c89f08e7f04ca9e43f4c46fc0be0d8119112.tar.gz
mtk-20170518-ad91c89f08e7f04ca9e43f4c46fc0be0d8119112.tar.bz2
kernel: fix IDE modules on 2.4
SVN-Revision: 19048
Diffstat (limited to 'package/kernel/modules/block.mk')
-rw-r--r--package/kernel/modules/block.mk20
1 files changed, 16 insertions, 4 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk
index f3c345e..d6ad6a6 100644
--- a/package/kernel/modules/block.mk
+++ b/package/kernel/modules/block.mk
@@ -192,15 +192,23 @@ define KernelPackage/ide-core
CONFIG_IDE_GD_ATAPI=n \
CONFIG_BLK_DEV_IDEDMA_PCI=y \
CONFIG_BLK_DEV_IDEPCI=y
- FILES:= \
+ FILES:= \
$(LINUX_DIR)/drivers/ide/ide-core.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/drivers/ide/ide-gd_mod.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,20,ide-core) $(call AutoLoad,40,ide-gd_mod)
+ AUTOLOAD:= \
+ $(call AutoLoad,20,ide-core) \
+ $(call AutoLoad,40,ide-gd_mod)
endef
define KernelPackage/ide-core/2.4
- FILES+=$(LINUX_DIR)/drivers/ide/ide-detect.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD+=$(call AutoLoad,35,ide-detect)
+ FILES:= \
+ $(LINUX_DIR)/drivers/ide/ide-core.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/drivers/ide/ide-detect.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/drivers/ide/ide-disk.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:= \
+ $(call AutoLoad,20,ide-core) \
+ $(call AutoLoad,35,ide-detect) \
+ $(call AutoLoad,40,ide-disk)
endef
ifneq ($(CONFIG_arm)$(CONFIG_powerpc),y)
@@ -230,6 +238,10 @@ define KernelPackage/ide-aec62xx
AUTOLOAD:=$(call AutoLoad,30,aec62xx)
endef
+define KernelPackage/ide-aec62xx/2.4
+ FILES:=$(LINUX_DIR)/drivers/ide/pci/aec62xx.$(LINUX_KMOD_SUFFIX)
+endef
+
define KernelPackage/ide-aec62xx/description
Support for Acard AEC62xx (Artop ATP8xx) IDE controllers.
endef