Merge pull request #304850 from K900/kconfig-fixes

linux/common-config: fix fallout from #293302
This commit is contained in:
K900 2024-04-17 20:39:14 +03:00 committed by GitHub
commit 38278d844d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 3 deletions

View File

@ -1053,16 +1053,20 @@ let
NVME_MULTIPATH = yes;
NVME_AUTH = whenAtLeast "6.0" yes;
NVME_AUTH = mkMerge [
(whenBetween "6.0" "6.7" yes)
(whenAtLeast "6.7" module)
];
NVME_HOST_AUTH = whenAtLeast "6.7" yes;
NVME_TCP_TLS = whenAtLeast "6.7" yes;
NVME_TARGET = module;
NVME_TARGET_PASSTHROUGH = whenAtLeast "5.1" yes;
NVME_TARGET_PASSTHRU = whenAtLeast "5.9" yes;
NVME_TARGET_AUTH = whenAtLeast "6.0" yes;
NVME_TARGET_TCP_TLS = whenAtLeast "6.7" yes;
PCI_P2PDMA = mkIf stdenv.hostPlatform.is64bit yes;
PCI_P2PDMA = mkIf (stdenv.hostPlatform.is64bit && versionAtLeast version "4.20") yes;
PSI = whenAtLeast "4.20" yes;