From 963d459fef40ea7d26475a17ee54c16ac6cd7468 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Thu, 21 Aug 2008 16:52:06 +0000 Subject: [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 --- package/kernel/modules/block.mk | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'package/kernel') 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 -- cgit v1.2.3