1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 18:13:21 +02:00

kernel: add a missing module for ahci on 2.6.35+

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25553 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2011-02-16 15:12:54 +00:00
parent db4a8bc7c1
commit 12d12c26a0

View File

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