summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-08-21 16:52:06 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-08-21 16:52:06 +0000
commit567f8df77eb6e2dc68966611bc9fd33584b921cc (patch)
treecbf94af84687c0e14bd2139da053477129ebbf4b /package/kernel
parentaa350ee98d884d49abd2a92716291489e00e954e (diff)
[magicbox] fix the CF driver on 2.6.26.x, and create a package for it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12364 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-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 3f8bd465b3..bf327e1696 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