xref: /openbmc/linux/drivers/net/caif/Kconfig (revision 762f99f4f3cb41a775b5157dd761217beba65873)
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # CAIF physical drivers
4 #
5 
6 menuconfig CAIF_DRIVERS
7 	bool "CAIF transport drivers"
8 	depends on CAIF
9 	help
10 	  Enable this to see CAIF physical drivers.
11 
12 if CAIF_DRIVERS
13 
14 config CAIF_TTY
15 	tristate "CAIF TTY transport driver"
16 	depends on CAIF && TTY
17 	default n
18 	help
19 	  The CAIF TTY transport driver is a Line Discipline (ldisc)
20 	  identified as N_CAIF. When this ldisc is opened from user space
21 	  it will redirect the TTY's traffic into the CAIF stack.
22 
23 config CAIF_VIRTIO
24 	tristate "CAIF virtio transport driver"
25 	depends on CAIF && HAS_DMA
26 	select VHOST_RING
27 	select VIRTIO
28 	select GENERIC_ALLOCATOR
29 	default n
30 	help
31 	  The CAIF driver for CAIF over Virtio.
32 
33 endif # CAIF_DRIVERS
34