[package] kernel: fix Promise PDC202xx IDE driver location

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17909 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Nicolas Thill
2009-10-05 17:08:44 +00:00
parent 66e8d29aff
commit 59c181a38e

View File

@@ -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