forked from luck/tmp_suning_uos_patched
c767db0ab4
This is V3 of uio_pdrv_genirq.c, a platform driver for UIO with generic IRQ handling code. This driver is very similar to the regular UIO platform driver, but is only suitable for devices that are connected to the interrupt controller using unique interrupt lines. The uio_pdrv_genirq driver includes generic interrupt handling code which disables the serviced interrupt in the interrupt controller and makes the user space driver responsible for acknowledging the interrupt in the device and reenabling the interrupt in the interrupt controller. Shared interrupts are not supported since the in-kernel interrupt handler will disable the interrupt line in the interrupt controller, and in a shared interrupt configuration this will stop other devices from delivering interrupts. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Hans J. Koch <hjk@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
62 lines
2.0 KiB
Plaintext
62 lines
2.0 KiB
Plaintext
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 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_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.
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
endif
|