Kconfig (53aa930dc4bae6aa269951bd37103083145d6691) | Kconfig (793f55b2971e3a95d77ad08e9da2a3dc6c946cd7) |
---|---|
1# SPDX-License-Identifier: GPL-2.0-only 2menuconfig USB4 3 tristate "Unified support for USB4 and Thunderbolt" 4 depends on PCI 5 select APPLE_PROPERTIES if EFI_STUB && X86 6 select CRC32 7 select CRYPTO 8 select CRYPTO_HASH --- 15 unchanged lines hidden (view full) --- 24 Enables writing to device configuration registers through 25 debugfs interface. 26 27 Only enable this if you know what you are doing! Never enable 28 this for production systems or distro kernels. 29 30config USB4_KUNIT_TEST 31 bool "KUnit tests" if !KUNIT_ALL_TESTS | 1# SPDX-License-Identifier: GPL-2.0-only 2menuconfig USB4 3 tristate "Unified support for USB4 and Thunderbolt" 4 depends on PCI 5 select APPLE_PROPERTIES if EFI_STUB && X86 6 select CRC32 7 select CRYPTO 8 select CRYPTO_HASH --- 15 unchanged lines hidden (view full) --- 24 Enables writing to device configuration registers through 25 debugfs interface. 26 27 Only enable this if you know what you are doing! Never enable 28 this for production systems or distro kernels. 29 30config USB4_KUNIT_TEST 31 bool "KUnit tests" if !KUNIT_ALL_TESTS |
32 depends on (USB4=m || KUNIT=y) 33 depends on KUNIT | 32 depends on USB4 && KUNIT=y |
34 default KUNIT_ALL_TESTS 35 36config USB4_DMA_TEST 37 tristate "DMA traffic test driver" 38 depends on DEBUG_FS 39 help 40 This allows sending and receiving DMA traffic through loopback 41 connection. Loopback connection can be done by either special 42 dongle that has TX/RX lines crossed, or by simply connecting a 43 cable back to the host. Only enable this if you know what you 44 are doing. Normal users and distro kernels should say N here. 45 46 To compile this driver a module, choose M here. The module will be 47 called thunderbolt_dma_test. 48 49endif # USB4 | 33 default KUNIT_ALL_TESTS 34 35config USB4_DMA_TEST 36 tristate "DMA traffic test driver" 37 depends on DEBUG_FS 38 help 39 This allows sending and receiving DMA traffic through loopback 40 connection. Loopback connection can be done by either special 41 dongle that has TX/RX lines crossed, or by simply connecting a 42 cable back to the host. Only enable this if you know what you 43 are doing. Normal users and distro kernels should say N here. 44 45 To compile this driver a module, choose M here. The module will be 46 called thunderbolt_dma_test. 47 48endif # USB4 |