mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
54509f5005
This adds KUnit tests for path walking which is only dependent on software structures, so no hardware is needed to run these. We make these available only when both KUnit and the driver itself are built into the kernel image. The reason for this is that KUnit adds its own module_init() call in kunit_test_suite() which generates linker error because the driver does the same in nhi.c. This should be fine for now because these tests are only meant to run by developers anyway. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
23 lines
674 B
Plaintext
23 lines
674 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
menuconfig USB4
|
|
tristate "Unified support for USB4 and Thunderbolt"
|
|
depends on PCI
|
|
select APPLE_PROPERTIES if EFI_STUB && X86
|
|
select CRC32
|
|
select CRYPTO
|
|
select CRYPTO_HASH
|
|
select NVMEM
|
|
help
|
|
USB4 and Thunderbolt driver. USB4 is the public specification
|
|
based on the Thunderbolt 3 protocol. This driver is required if
|
|
you want to hotplug Thunderbolt and USB4 compliant devices on
|
|
Apple hardware or on PCs with Intel Falcon Ridge or newer.
|
|
|
|
To compile this driver a module, choose M here. The module will be
|
|
called thunderbolt.
|
|
|
|
config USB4_KUNIT_TEST
|
|
bool "KUnit tests"
|
|
depends on KUNIT=y
|
|
depends on USB4=y
|