aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-07-19 09:13:25 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-07-19 09:13:25 +0000
commit69d8e574d7d98175bbd762c70d88e289f5af6b8e (patch)
tree9e2d1b3ce2acf75c180d790866fc24f7441bdc5d /package
parent9ce9ef316155970f3f349a0a34517d3afefaaef5 (diff)
downloadupstream-69d8e574d7d98175bbd762c70d88e289f5af6b8e.tar.gz
upstream-69d8e574d7d98175bbd762c70d88e289f5af6b8e.tar.bz2
upstream-69d8e574d7d98175bbd762c70d88e289f5af6b8e.zip
[package] kernel/modules: fix Magicbox CF card driver definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16911 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/block.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk
index 2d14e42d5b..f0be71c950 100644
--- a/package/kernel/modules/block.mk
+++ b/package/kernel/modules/block.mk
@@ -179,7 +179,7 @@ define KernelPackage/ide-core/2.4
AUTOLOAD+=$(call AutoLoad,30,ide-detect)
endef
-ifneq ($(CONFIG_arm),y)
+ifneq ($(CONFIG_arm)$(CONFIG_powerpc),y)
define KernelPackage/ide-core/2.6
FILES+=$(LINUX_DIR)/drivers/ide/ide-generic.$(LINUX_KMOD_SUFFIX)
AUTOLOAD+=$(call AutoLoad,30,ide-generic)
@@ -220,9 +220,9 @@ $(eval $(call KernelPackage,ide-aec62xx))
define KernelPackage/ide-magicbox
SUBMENU:=$(BLOCK_MENU)
TITLE:=Magicbox 2.0 IDE CF driver
- DEPENDS:=@TARGET_magicbox +kmod-ide-core
- KCONFIG:=CONFIG_BLK_DEV_MAGICBOX_IDE
- FILES:=$(LINUX_DIR)/drivers/ide/ppc/magicbox_ide.$(LINUX_KMOD_SUFFIX)
+ DEPENDS:=@TARGET_ppc40x @LINUX_2_6_30 +kmod-ide-core
+ KCONFIG:=CONFIG_BLK_DEV_IDE_MAGICBOX
+ FILES:=$(LINUX_DIR)/drivers/ide/magicbox_ide.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,30,magicbox_ide)
endef