UIO: UIO interface to the SMX Cryptengine
PATCH RESEND 1/1 UIO: UIO interface to the SMX Cryptengine
[Resend, apologies, linewrap death >( ]
Implement 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. So here you are. :-)
---
MAINTAINERS +5 -0
@@ -3554,6 +3554,11 @@ M: [email protected] L: [email protected] S: Maintained +SMX UIO Interface +P: Ben Nizette +M: [email protected] +S: Maintained + SOFTMAC LAYER (IEEE 802.11) P: Daniel Drake M: [email protected]
drivers/uio/Kconfig +8 -0
@@ -26,4 +26,12 @@ config UIO_CIF To compile this driver as a module, choose M here: the module will be called uio_cif. +config UIO_SMX + tristate "SMX cryptengine UIO interface" + depends on UIO + default n + help + Userspace IO interface to the Cryptography engine found on the + Nias Digital SMX boards. If you compile this as a module, it + will be called uio_smx. endmenu
drivers/uio/Makefile +1 -0
@@ -1,2 +1,3 @@ obj-$(CONFIG_UIO) += uio.o obj-$(CONFIG_UIO_CIF) += uio_cif.o +obj-$(CONFIG_UIO_SMX) += uio_smx.o
drivers/uio/uio_smx.c new file +114 -0
114 lines not on this page · raw message
Am Tue, 11 Mar 2008 19:17:24 +1100
schrieb Ben Nizette <[email protected]>:
Quoted 1 line
[Resend, apologies, linewrap death >( ]
Sorry, just hit the reply button for my review of your old patch...
Please fix the issues mentioned there, and resend it again.
Thanks,
Hans