[kernel] config: add missing CONFIG_SPI_MPC52xx_PSC to mpc52xx/config
[openwrt.git] / package / kernel / modules / block.mk
index 908b9d6..e39bda8 100644 (file)
@@ -70,7 +70,7 @@ $(eval $(call KernelPackage,ata-artop))
 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)
@@ -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
 
This page took 0.024539 seconds and 4 git commands to generate.