aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
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
commit963d459fef40ea7d26475a17ee54c16ac6cd7468 (patch)
treecbf94af84687c0e14bd2139da053477129ebbf4b /package/kernel
parent3104611a8f599b29edf310614c8949b05f4c3fbd (diff)
downloadmaster-187ad058-963d459fef40ea7d26475a17ee54c16ac6cd7468.tar.gz
master-187ad058-963d459fef40ea7d26475a17ee54c16ac6cd7468.tar.bz2
master-187ad058-963d459fef40ea7d26475a17ee54c16ac6cd7468.zip
[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