summaryrefslogtreecommitdiffstats
path: root/drivers/net/caif/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/caif/Kconfig')
-rw-r--r--drivers/net/caif/Kconfig33
1 files changed, 33 insertions, 0 deletions
diff --git a/drivers/net/caif/Kconfig b/drivers/net/caif/Kconfig
new file mode 100644
index 0000000000..709660cb38
--- /dev/null
+++ b/drivers/net/caif/Kconfig
@@ -0,0 +1,33 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
+# CAIF physical drivers
+#
+
+menuconfig CAIF_DRIVERS
+ bool "CAIF transport drivers"
+ depends on CAIF
+ help
+ Enable this to see CAIF physical drivers.
+
+if CAIF_DRIVERS
+
+config CAIF_TTY
+ tristate "CAIF TTY transport driver"
+ depends on CAIF && TTY
+ default n
+ help
+ The CAIF TTY transport driver is a Line Discipline (ldisc)
+ identified as N_CAIF. When this ldisc is opened from user space
+ it will redirect the TTY's traffic into the CAIF stack.
+
+config CAIF_VIRTIO
+ tristate "CAIF virtio transport driver"
+ depends on CAIF && HAS_DMA
+ select VHOST_RING
+ select VIRTIO
+ select GENERIC_ALLOCATOR
+ default n
+ help
+ The CAIF driver for CAIF over Virtio.
+
+endif # CAIF_DRIVERS