2008-02-02 17:51:35 +08:00
|
|
|
menuconfig UIO
|
2006-12-07 17:58:29 +08:00
|
|
|
tristate "Userspace I/O drivers"
|
2008-02-02 17:51:35 +08:00
|
|
|
depends on !S390
|
2006-12-07 17:58:29 +08:00
|
|
|
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.
|
|
|
|
|
2008-02-02 17:51:35 +08:00
|
|
|
if UIO
|
|
|
|
|
UIO: Hilscher CIF card driver
this is a patch that adds support for Hilscher CIF DeviceNet and
Profibus cards. I tested it on a Kontron CPX board, and Thomas reviewed
it.
You can find the user space part here:
http://www.osadl.org/projects/downloads/UIO/user/cif-0.1.0.tar.gz
Notes: cif_api.c is the main file you want to look at. It contains the
functions to open, close, mmap and so on. cif_dps.c adds functions
specific to Profibus cards, and cif_dn.c contains functions for
DeviceNet cards. cif.c is a universal playground, it's just a small
test program. The user space part of this UIO driver is still work in
progress, and not everything is tested yet. At the moment, the thread in
cif_api.c contains some code that artificially makes the card generate
interrupts, this was added for testing and will be removed later. But
the driver already contains all the functions needed for useful
operation, so it gives a good idea of how such a thing looks like.
For comparison, here's what you get from the manufacturer
(www.hilscher.com) when you ask for a Linux 2.6 driver:
http://www.tglx.de/private/hjk/cif-orig-2.6.tar.bz2
WARNING: Don't look at the code for too long, you might become sick :-)
Signed-off-by: Hans-Jürgen Koch <hjk@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-03-02 20:03:12 +08:00
|
|
|
config UIO_CIF
|
|
|
|
tristate "generic Hilscher CIF Card driver"
|
2008-05-31 17:37:27 +08:00
|
|
|
depends on PCI
|
UIO: Hilscher CIF card driver
this is a patch that adds support for Hilscher CIF DeviceNet and
Profibus cards. I tested it on a Kontron CPX board, and Thomas reviewed
it.
You can find the user space part here:
http://www.osadl.org/projects/downloads/UIO/user/cif-0.1.0.tar.gz
Notes: cif_api.c is the main file you want to look at. It contains the
functions to open, close, mmap and so on. cif_dps.c adds functions
specific to Profibus cards, and cif_dn.c contains functions for
DeviceNet cards. cif.c is a universal playground, it's just a small
test program. The user space part of this UIO driver is still work in
progress, and not everything is tested yet. At the moment, the thread in
cif_api.c contains some code that artificially makes the card generate
interrupts, this was added for testing and will be removed later. But
the driver already contains all the functions needed for useful
operation, so it gives a good idea of how such a thing looks like.
For comparison, here's what you get from the manufacturer
(www.hilscher.com) when you ask for a Linux 2.6 driver:
http://www.tglx.de/private/hjk/cif-orig-2.6.tar.bz2
WARNING: Don't look at the code for too long, you might become sick :-)
Signed-off-by: Hans-Jürgen Koch <hjk@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-03-02 20:03:12 +08:00
|
|
|
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.
|
|
|
|
|
2008-05-31 17:37:27 +08:00
|
|
|
config UIO_PDRV
|
|
|
|
tristate "Userspace I/O platform driver"
|
|
|
|
help
|
|
|
|
Generic platform driver for Userspace I/O devices.
|
|
|
|
|
|
|
|
If you don't know what to do here, say N.
|
|
|
|
|
2008-07-11 17:55:27 +08:00
|
|
|
config UIO_PDRV_GENIRQ
|
|
|
|
tristate "Userspace I/O platform driver with generic IRQ handling"
|
|
|
|
help
|
|
|
|
Platform driver for Userspace I/O devices, including generic
|
|
|
|
interrupt handling code. Shared interrupts are not supported.
|
|
|
|
|
|
|
|
This kernel driver requires that the matching userspace driver
|
|
|
|
handles interrupts in a special way. Userspace is responsible
|
|
|
|
for acknowledging the hardware device if needed, and re-enabling
|
|
|
|
interrupts in the interrupt controller using the write() syscall.
|
|
|
|
|
|
|
|
If you don't know what to do here, say N.
|
|
|
|
|
2008-03-13 19:27:30 +08:00
|
|
|
config UIO_SMX
|
|
|
|
tristate "SMX cryptengine UIO interface"
|
|
|
|
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.
|
|
|
|
|
2008-02-02 17:51:35 +08:00
|
|
|
endif
|