aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-07-22 10:45:04 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-07-22 10:45:04 +0000
commitad45bf440890c65a239d549919157daaafe31e90 (patch)
tree7b47d0cd358223d7d55c838a02ac6045832bd900
parenta19b477b119db527a40ebcd93974d1e973dbb077 (diff)
downloadupstream-ad45bf440890c65a239d549919157daaafe31e90.tar.gz
upstream-ad45bf440890c65a239d549919157daaafe31e90.tar.bz2
upstream-ad45bf440890c65a239d549919157daaafe31e90.zip
[package] kernel/modules: package ATA version of the Magicbox CF driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16957 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/block.mk22
1 files changed, 20 insertions, 2 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk
index f58de2eb8c..df0978a9c6 100644
--- a/package/kernel/modules/block.mk
+++ b/package/kernel/modules/block.mk
@@ -113,6 +113,24 @@ endef
$(eval $(call KernelPackage,ata-nvidia-sata))
+define KernelPackage/ata-magicbox-cf
+ SUBMENU:=$(BLOCK_MENU)
+ TITLE:=Magicbox v2/OpenRB Compact flash support (ATA)
+ DEPENDS:=@TARGET_ppc40x +kmod-ata-core
+ KCONFIG:=\
+ CONFIG_PATA_MAGICBOX_CF \
+ CONFIG_ATA_SFF=y
+ FILES:=$(LINUX_DIR)/drivers/ata/pata_magicbox_cf.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,41,pata_magicbox_cf)
+endef
+
+define KernelPackage/ata-magicbox-cf/description
+ Support for Magicbox v2/OpenRB on-board CF slot. (ATA version).
+endef
+
+$(eval $(call KernelPackage,ata-magicbox-cf))
+
+
define KernelPackage/ata-piix
SUBMENU:=$(BLOCK_MENU)
TITLE:=Intel PIIX PATA/SATA support
@@ -219,7 +237,7 @@ $(eval $(call KernelPackage,ide-aec62xx))
define KernelPackage/ide-magicbox
SUBMENU:=$(BLOCK_MENU)
- TITLE:=Magicbox 2.0 IDE CF driver
+ TITLE:=Magicbox v2/OpenRB Compact flash support (IDE)
DEPENDS:=@TARGET_ppc40x +kmod-ide-core
KCONFIG:=CONFIG_BLK_DEV_IDE_MAGICBOX
FILES:=$(LINUX_DIR)/drivers/ide/magicbox_ide.$(LINUX_KMOD_SUFFIX)
@@ -227,7 +245,7 @@ define KernelPackage/ide-magicbox
endef
define KernelPackage/ide-magicbox/description
- Support for Magicbox 2.0 onboard CF slot.
+ Support for Magicbox v2/OpenRB on-board CF slot. (IDE version).
endef
$(eval $(call KernelPackage,ide-magicbox))