summaryrefslogtreecommitdiff
path: root/drivers/uio/Kconfig
diff options
context:
space:
mode:
authorXu Yilun <yilun.xu@intel.com>2021-03-08 09:59:35 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-28 14:58:18 +0200
commitbbfb54e7b3e484943f8c00c58a0d6549e9078640 (patch)
tree896ac45a67a19fbd58308c20aaa0da9cd5491f8f /drivers/uio/Kconfig
parentdb3a4f0abefd7be96089fcd74029c259df3bed76 (diff)
uio: uio_dfl: add userspace i/o driver for DFL bus
This patch supports the DFL drivers be written in userspace. This is realized by exposing the userspace I/O device interfaces. The driver now only binds the ether group feature, which has no irq. So the irq support is not implemented yet. Reviewed-by: Tom Rix <trix@redhat.com> Signed-off-by: Xu Yilun <yilun.xu@intel.com> Link: https://lore.kernel.org/r/1615168776-8553-2-git-send-email-yilun.xu@intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uio/Kconfig')
-rw-r--r--drivers/uio/Kconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/uio/Kconfig b/drivers/uio/Kconfig
index 202ee81cfc2b..5531f3afeb21 100644
--- a/drivers/uio/Kconfig
+++ b/drivers/uio/Kconfig
@@ -165,4 +165,21 @@ config UIO_HV_GENERIC
to network and storage devices from userspace.
If you compile this as a module, it will be called uio_hv_generic.
+
+config UIO_DFL
+ tristate "Generic driver for DFL (Device Feature List) bus"
+ depends on FPGA_DFL
+ help
+ Generic DFL (Device Feature List) driver for Userspace I/O devices.
+ It is useful to provide direct access to DFL devices from userspace.
+ A sample userspace application using this driver is available for
+ download in a git repository:
+
+ git clone https://github.com/OPAE/opae-sdk.git
+
+ It could be found at:
+
+ opae-sdk/tools/libopaeuio/
+
+ If you compile this as a module, it will be called uio_dfl.
endif