From: Gabor Juhos Date: Wed, 22 Jul 2009 10:45:04 +0000 (+0000) Subject: [package] kernel/modules: package ATA version of the Magicbox CF driver X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f27ab09ee47c3202d923ef3919d5876b42256676;p=openwrt%2Fsvn-archive%2Farchive.git [package] kernel/modules: package ATA version of the Magicbox CF driver SVN-Revision: 16957 --- 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))