From 9594ef907971134604b6d29a026944c95bc8f5ae Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Wed, 22 Jul 2009 10:45:04 +0000 Subject: kernel/modules: package ATA version of the Magicbox CF driver SVN-Revision: 16957 --- package/kernel/modules/block.mk | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'package') 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)) -- cgit v1.2.3