mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
4d80d59437
This patch adds a generic UIO platform driver. It eliminates the need for a dedicated kernel module for simple platform devices. Users only need to implement their irq handler in platform code and fill a struct uio_info there. This helps avoiding code duplication as UIO platform drivers often share a lot of common code. Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com> Signed-off-by: Hans J. Koch <hjk@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
49 lines
1.5 KiB
Plaintext
49 lines
1.5 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_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
|