From b54f2863a26d2b7c002d96abcde149940733c8e6 Mon Sep 17 00:00:00 2001 From: Ben Nizette Date: Thu, 13 Mar 2008 22:27:30 +1100 Subject: UIO: Implement a UIO interface for the SMX Cryptengine MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch implements a UIO interface for the SMX Cryptengine. The Cryptengine found on the Nias Digital SMX board is best suited for a UIO interface. It is not wired in to the cryptographic API as the engine handles it's own keys, algorithms, everything. All that we know about is that if there's room in the buffer, you can write data to it and when there's data ready, you read it out again. There isn't necessarily even any direct correlation between data going in and data coming out again, the engine may consume or generate data all on its own. This driver is for proprietary hardware but we're always told to submit the drivers anyway; here you are. :-) This is version 4 of this patch and addresses all issues raised by Hans-Jürgen Koch and Paul Mundt in their reviews. Slightly altered is Paul's suggestion to use DRV_NAME and DRV_VERSION as the UIO version and name. While at the moment they are the same, there is no reason for them to stay that way. Nevertheless we now at least provide a MODULE_VERSION macro to keep modinfo happy. Signed-off-by: Ben Nizette Acked-by: Paul Mundt Signed-off-by: Hans J Koch Signed-off-by: Greg Kroah-Hartman --- drivers/uio/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/uio/Makefile') diff --git a/drivers/uio/Makefile b/drivers/uio/Makefile index 7fecfb459da..18c45662431 100644 --- a/drivers/uio/Makefile +++ b/drivers/uio/Makefile @@ -1,2 +1,3 @@ obj-$(CONFIG_UIO) += uio.o obj-$(CONFIG_UIO_CIF) += uio_cif.o +obj-$(CONFIG_UIO_SMX) += uio_smx.o -- cgit v1.2.3