![Ben Nizette](/assets/img/avatar_default.png)
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 <bn@niasdigital.com> Acked-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Hans J Koch <hjk@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
43 lines
1.3 KiB
Text
43 lines
1.3 KiB
Text
menuconfig UIO
|
|
tristate "Userspace I/O drivers"
|
|
depends on !S390
|
|
default n
|
|
help
|
|
Enable this to allow the userspace driver core code to be
|
|
built. This code allows userspace programs easy access to
|
|
kernel interrupts and memory locations, allowing some drivers
|
|
to be written in userspace. Note that a small kernel driver
|
|
is also required for interrupt handling to work properly.
|
|
|
|
If you don't know what to do here, say N.
|
|
|
|
if UIO
|
|
|
|
config UIO_CIF
|
|
tristate "generic Hilscher CIF Card driver"
|
|
depends on UIO && PCI
|
|
default n
|
|
help
|
|
Driver for Hilscher CIF DeviceNet and Profibus cards. This
|
|
driver requires a userspace component that handles all of the
|
|
heavy lifting and can be found at:
|
|
http://www.osadl.org/projects/downloads/UIO/user/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. These will be available from Q4 2008
|
|
from http://www.niasdigital.com. The userspace part of this
|
|
driver will be released under the GPL at the same time as the
|
|
hardware and will be able to be downloaded from the same site.
|
|
|
|
If you compile this as a module, it will be called uio_smx.
|
|
|
|
endif
|