From 08c3d434a7d03a4e3ae146be2c27a3b49699fd3d Mon Sep 17 00:00:00 2001
From: kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Sat, 12 Jul 2008 02:00:55 +0000
Subject: generate package for the new IXP4xx crpyto driver

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11777 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/kernel/modules/other.mk | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

(limited to 'package')

diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index a096552bd..a27149bb0 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -652,3 +652,21 @@ endef
 
 $(eval $(call KernelPackage,spi-dev))
 
+define KernelPackage/crypto-dev-ixp4xx
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=IXP4xx crypto driver
+  DEPENDS:=\
+	@TARGET_ixp4xx +kmod-crypto-core +kmod-crypto-des +kmod-crypto-aead \
+	+kmod-crypto-authenc
+  KCONFIG:=\
+	CONFIG_CRYPTO_HW=y \
+	CONFIG_CRYPTO_DEV_IXP4XX
+  FILES:=$(LINUX_DIR)/drivers/crypto/ixp4xx_crypto.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,90,ixp4xx_crypto)
+endef
+
+define KernelPackage/crypto-dev-ixp4xx/description
+ Kernel support for the IXP4xx HW crypto engine.
+endef
+
+$(eval $(call KernelPackage,crypto-dev-ixp4xx))
-- 
cgit v1.2.3