aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-02-16 15:12:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-02-16 15:12:54 +0000
commita800b91f59e629ebe9dda9c1b08fc7216db1b683 (patch)
tree547ec45182d7f62ea287f733e76ffd8ff09bb139 /package/kernel
parente01a14ceeae550ade6af9df0e321551a790b0ceb (diff)
downloadupstream-a800b91f59e629ebe9dda9c1b08fc7216db1b683.tar.gz
upstream-a800b91f59e629ebe9dda9c1b08fc7216db1b683.tar.bz2
upstream-a800b91f59e629ebe9dda9c1b08fc7216db1b683.zip
kernel: add a missing module for ahci on 2.6.35+
SVN-Revision: 25553
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/block.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk
index a7fbe5291a..21af7e5247 100644
--- a/package/kernel/modules/block.mk
+++ b/package/kernel/modules/block.mk
@@ -44,7 +44,12 @@ define KernelPackage/ata-ahci
TITLE:=AHCI Serial ATA support
KCONFIG:=CONFIG_SATA_AHCI
FILES:=$(LINUX_DIR)/drivers/ata/ahci.ko
- AUTOLOAD:=$(call AutoLoad,41,ahci,1)
+ ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.35)),1)
+ FILES += $(LINUX_DIR)/drivers/ata/libahci.ko
+ AUTOLOAD:=$(call AutoLoad,41,libahci ahci,1)
+ else
+ AUTOLOAD:=$(call AutoLoad,41,ahci,1)
+ endif
$(call AddDepends/ata)
endef