summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-10-05 17:08:44 +0000
committerNicolas Thill <nico@openwrt.org>2009-10-05 17:08:44 +0000
commit4674fd1eae2dc0a0b461f40d24328cef6ca65462 (patch)
tree468c39fb92bf2d067ae504bde8581423445a4ebb /package/kernel
parenta93aeb7098f1e4db3dd3df298cbe820ec9bf4767 (diff)
downloadmtk-20170518-4674fd1eae2dc0a0b461f40d24328cef6ca65462.zip
mtk-20170518-4674fd1eae2dc0a0b461f40d24328cef6ca65462.tar.gz
mtk-20170518-4674fd1eae2dc0a0b461f40d24328cef6ca65462.tar.bz2
kernel: fix Promise PDC202xx IDE driver location
SVN-Revision: 17909
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/block.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk
index 908b9d6..dfeb401 100644
--- a/package/kernel/modules/block.mk
+++ b/package/kernel/modules/block.mk
@@ -256,7 +256,11 @@ define KernelPackage/ide-pdc202xx
TITLE:=Promise PDC202xx IDE driver
DEPENDS:=+kmod-ide-core
KCONFIG:=CONFIG_BLK_DEV_PDC202XX_OLD
+ ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.28)),1)
FILES:=$(LINUX_DIR)/drivers/ide/pdc202xx_old.$(LINUX_KMOD_SUFFIX)
+ else
+ FILES:=$(LINUX_DIR)/drivers/ide/pci/pdc202xx_old.$(LINUX_KMOD_SUFFIX)
+ endif
AUTOLOAD:=$(call AutoLoad,30,pdc202xx_old)
endef