aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules/block.mk
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2009-12-27 21:42:38 +0000
committerImre Kaloz <kaloz@openwrt.org>2009-12-27 21:42:38 +0000
commit27cae68270c64bb1ed90619f235f40042d4a90cf (patch)
tree9b7b976324055c29ada56324b2c8d09c27660edf /package/kernel/modules/block.mk
parentbbc7795b2fd8320a73d330df5a74cd5c5222f8f4 (diff)
downloadupstream-27cae68270c64bb1ed90619f235f40042d4a90cf.tar.gz
upstream-27cae68270c64bb1ed90619f235f40042d4a90cf.tar.bz2
upstream-27cae68270c64bb1ed90619f235f40042d4a90cf.zip
remove 2.6.28 specific stuff from kernel packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18954 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules/block.mk')
-rw-r--r--package/kernel/modules/block.mk19
1 files changed, 0 insertions, 19 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk
index cbdf2b3a0f..3ece2342d3 100644
--- a/package/kernel/modules/block.mk
+++ b/package/kernel/modules/block.mk
@@ -192,17 +192,10 @@ define KernelPackage/ide-core
CONFIG_IDE_GD_ATAPI=n \
CONFIG_BLK_DEV_IDEDMA_PCI=y \
CONFIG_BLK_DEV_IDEPCI=y
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.28)),1)
- 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)
-else
FILES:= \
$(LINUX_DIR)/drivers/ide/ide-core.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/drivers/ide/ide-disk.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,20,ide-core) $(call AutoLoad,40,ide-disk)
-endif
endef
define KernelPackage/ide-core/2.4
@@ -233,11 +226,7 @@ define KernelPackage/ide-aec62xx
TITLE:=Acard AEC62xx IDE driver
DEPENDS:=@PCI_SUPPORT +kmod-ide-core
KCONFIG:=CONFIG_BLK_DEV_AEC62XX
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.28)),1)
- FILES:=$(LINUX_DIR)/drivers/ide/aec62xx.$(LINUX_KMOD_SUFFIX)
-else
FILES:=$(LINUX_DIR)/drivers/ide/pci/aec62xx.$(LINUX_KMOD_SUFFIX)
-endif
AUTOLOAD:=$(call AutoLoad,30,aec62xx)
endef
@@ -269,11 +258,7 @@ 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
@@ -294,11 +279,7 @@ define KernelPackage/ide-it821x
TITLE:=ITE IT821x IDE driver
DEPENDS:=+kmod-ide-core
KCONFIG:=CONFIG_BLK_DEV_IT821X
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.28)),1)
- FILES=$(LINUX_DIR)/drivers/ide/it821x.$(LINUX_KMOD_SUFFIX)
-else
FILES=$(LINUX_DIR)/drivers/ide/pci/it821x.$(LINUX_KMOD_SUFFIX)
-endif
AUTOLOAD:=$(call AutoLoad,30,it821x)
endef