define KernelPackage/ata-ixp4xx-cf
SUBMENU:=$(BLOCK_MENU)
TITLE:=IXP4XX Compact Flash support
- DEPENDS:=kmod-ata-core
+ DEPENDS:=kmod-ata-core @TARGET_ixp4xx
KCONFIG:=CONFIG_PATA_IXP4XX_CF
FILES:=$(LINUX_DIR)/drivers/ata/pata_ixp4xx_cf.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,41,pata_ixp4xx_cf)
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