hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/drivers/net/caif/Kconfig
....@@ -1,45 +1,33 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # CAIF physical drivers
34 #
45
5
-comment "CAIF transport drivers"
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
613
714 config CAIF_TTY
815 tristate "CAIF TTY transport driver"
916 depends on CAIF && TTY
1017 default n
11
- ---help---
12
- The CAIF TTY transport driver is a Line Discipline (ldisc)
13
- identified as N_CAIF. When this ldisc is opened from user space
14
- it will redirect the TTY's traffic into the CAIF stack.
15
-
16
-config CAIF_SPI_SLAVE
17
- tristate "CAIF SPI transport driver for slave interface"
18
- depends on CAIF && HAS_DMA
19
- default n
20
- ---help---
21
- The CAIF Link layer SPI Protocol driver for Slave SPI interface.
22
- This driver implements a platform driver to accommodate for a
23
- platform specific SPI device. A sample CAIF SPI Platform device is
24
- provided in Documentation/networking/caif/spi_porting.txt
25
-
26
-config CAIF_SPI_SYNC
27
- bool "Next command and length in start of frame"
28
- depends on CAIF_SPI_SLAVE
29
- default n
30
- ---help---
31
- Putting the next command and length in the start of the frame can
32
- help to synchronize to the next transfer in case of over or under-runs.
33
- This option also needs to be enabled on the modem.
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.
3422
3523 config CAIF_HSI
36
- tristate "CAIF HSI transport driver"
37
- depends on CAIF
38
- default n
39
- ---help---
40
- The caif low level driver for CAIF over HSI.
41
- Be aware that if you enable this then you also need to
42
- enable a low-level HSI driver.
24
+ tristate "CAIF HSI transport driver"
25
+ depends on CAIF
26
+ default n
27
+ help
28
+ The CAIF low level driver for CAIF over HSI.
29
+ Be aware that if you enable this then you also need to
30
+ enable a low-level HSI driver.
4331
4432 config CAIF_VIRTIO
4533 tristate "CAIF virtio transport driver"
....@@ -48,9 +36,7 @@
4836 select VIRTIO
4937 select GENERIC_ALLOCATOR
5038 default n
51
- ---help---
52
- The caif driver for CAIF over Virtio.
39
+ help
40
+ The CAIF driver for CAIF over Virtio.
5341
54
-if CAIF_VIRTIO
55
-source "drivers/vhost/Kconfig.vringh"
56
-endif
42
+endif # CAIF_DRIVERS