[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20230906081140.22716-1-jengelh@inai.de>
Date: Wed, 6 Sep 2023 10:11:40 +0200
From: Jan Engelhardt <jengelh@...i.de>
To: kbusch@...nel.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] nvme: allow deactivating the NVME menuconfig section at once
Presently, one needs to enter "NVME subsystem --->", then deselect all options
individually. Speed up that process by making the "--->" line be togglable in
its own right.
Signed-off-by: Jan Engelhardt <jengelh@...i.de>
---
drivers/nvme/Kconfig | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/drivers/nvme/Kconfig b/drivers/nvme/Kconfig
index 656e46d938da..58452973ac7a 100644
--- a/drivers/nvme/Kconfig
+++ b/drivers/nvme/Kconfig
@@ -1,8 +1,18 @@
# SPDX-License-Identifier: GPL-2.0-only
-menu "NVME Support"
+menuconfig NVME_SUPPORT
+ bool "NVME Support"
+ default y
+ help
+ Support for Non-Volatile Memory Express.
+
+ The answer to this question will not directly affect the
+ kernel: saying N will just cause the configurator to skip all
+ the questions about NVME.
+
+if NVME_SUPPORT
source "drivers/nvme/common/Kconfig"
source "drivers/nvme/host/Kconfig"
source "drivers/nvme/target/Kconfig"
-endmenu
+endif
--
2.42.0
Powered by blists - more mailing lists