0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # CAIF physical drivers
0004 #
0005
0006 menuconfig CAIF_DRIVERS
0007 bool "CAIF transport drivers"
0008 depends on CAIF
0009 help
0010 Enable this to see CAIF physical drivers.
0011
0012 if CAIF_DRIVERS
0013
0014 config CAIF_TTY
0015 tristate "CAIF TTY transport driver"
0016 depends on CAIF && TTY
0017 default n
0018 help
0019 The CAIF TTY transport driver is a Line Discipline (ldisc)
0020 identified as N_CAIF. When this ldisc is opened from user space
0021 it will redirect the TTY's traffic into the CAIF stack.
0022
0023 config CAIF_VIRTIO
0024 tristate "CAIF virtio transport driver"
0025 depends on CAIF && HAS_DMA
0026 select VHOST_RING
0027 select VIRTIO
0028 select GENERIC_ALLOCATOR
0029 default n
0030 help
0031 The CAIF driver for CAIF over Virtio.
0032
0033 endif # CAIF_DRIVERS