summaryrefslogtreecommitdiff
path: root/package/kernel/modules/block.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-08-24 00:52:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-08-24 00:52:00 +0000
commit13269c189143273bddb88b616bdfe4f1cfeadea6 (patch)
tree3d75d0c33c2cb81246157ff0521b62f893b162b2 /package/kernel/modules/block.mk
parentf29409ca1cbad8e543ceff386f6b82b4003369a8 (diff)
downloadmtk-20170518-13269c189143273bddb88b616bdfe4f1cfeadea6.zip
mtk-20170518-13269c189143273bddb88b616bdfe4f1cfeadea6.tar.gz
mtk-20170518-13269c189143273bddb88b616bdfe4f1cfeadea6.tar.bz2
fix pdc20xx compile for linux 2.6
SVN-Revision: 17359
Diffstat (limited to 'package/kernel/modules/block.mk')
-rw-r--r--package/kernel/modules/block.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk
index 3fa7b1c..09450bf 100644
--- a/package/kernel/modules/block.mk
+++ b/package/kernel/modules/block.mk
@@ -254,12 +254,16 @@ $(eval $(call KernelPackage,ide-magicbox))
define KernelPackage/ide-pdc202xx
SUBMENU:=$(BLOCK_MENU)
TITLE:=Promise PDC202xx IDE driver
- DEPENDS:=@LINUX_2_4 +kmod-ide-core
+ DEPENDS:=+kmod-ide-core
KCONFIG:=CONFIG_BLK_DEV_PDC202XX_OLD
- FILES:=$(LINUX_DIR)/drivers/ide/pci/pdc202xx_old.$(LINUX_KMOD_SUFFIX)
+ FILES:=$(LINUX_DIR)/drivers/ide/pdc202xx_old.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,30,pdc202xx_old)
endef
+define KernelPackage/ide-pdc202xx/2.4
+ FILES:=$(LINUX_DIR)/drivers/ide/pci/pdc202xx_old.$(LINUX_KMOD_SUFFIX)
+endef
+
define KernelPackage/ide-pdc202xx/description
Support for the Promise Ultra 33/66/100 (PDC202{46|62|65|67|68}) IDE
controllers.