summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-22 10:45:04 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-22 10:45:04 +0000
commit08ee8a9ed65c614db2ff93113045799b86e63d07 (patch)
tree7b47d0cd358223d7d55c838a02ac6045832bd900
parent7269593779f774ecfe0ac2cc12ce44fbed9e3f0a (diff)
[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 f58de2eb8..df0978a9c 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))