summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-10-05 17:08:44 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-10-05 17:08:44 +0000
commit9414c3b10d164319dfcad666822f7dca0c719877 (patch)
tree53b4d743713ebdc270b16d63c33c237200cc6fb4
parentd9c0c533d99f245572e8721eec8eb659a5cbecd4 (diff)
[package] kernel: fix Promise PDC202xx IDE driver location
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17909 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 908b9d6159..dfeb4012e1 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