summaryrefslogtreecommitdiff
path: root/package/kernel/modules/block.mk
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-08-21 16:52:06 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-08-21 16:52:06 +0000
commit8d28e6dc687ce6847e794b87b265c46266dade0e (patch)
treef0981d73b1d064c1dc7d3ca1240513d3b0a0763c /package/kernel/modules/block.mk
parent4419978f8408d073307e69a929b739e4eff27922 (diff)
downloadmtk-20170518-8d28e6dc687ce6847e794b87b265c46266dade0e.zip
mtk-20170518-8d28e6dc687ce6847e794b87b265c46266dade0e.tar.gz
mtk-20170518-8d28e6dc687ce6847e794b87b265c46266dade0e.tar.bz2
fix the CF driver on 2.6.26.x, and create a package for it
SVN-Revision: 12364
Diffstat (limited to 'package/kernel/modules/block.mk')
-rw-r--r--package/kernel/modules/block.mk18
1 files changed, 17 insertions, 1 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk
index 3f8bd46..bf327e1 100644
--- a/package/kernel/modules/block.mk
+++ b/package/kernel/modules/block.mk
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -175,6 +175,22 @@ endef
$(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)
+ AUTOLOAD:=$(call AutoLoad,30,magicbox_ide)
+endef
+
+define KernelPackage/ide-magicbox/description
+ Support for Magicbox 2.0 onboard CF slot.
+endef
+
+$(eval $(call KernelPackage,ide-magicbox))
+
+
define KernelPackage/ide-pdc202xx
SUBMENU:=$(BLOCK_MENU)
TITLE:=Promise PDC202xx IDE driver