lightnvm: Support for Open-Channel SSDs
[linux-2.6-microblaze.git] / drivers / lightnvm / Kconfig
diff --git a/drivers/lightnvm/Kconfig b/drivers/lightnvm/Kconfig
new file mode 100644 (file)
index 0000000..d4f309f
--- /dev/null
@@ -0,0 +1,28 @@
+#
+# Open-Channel SSD NVM configuration
+#
+
+menuconfig NVM
+       bool "Open-Channel SSD target support"
+       depends on BLOCK
+       help
+         Say Y here to get to enable Open-channel SSDs.
+
+         Open-Channel SSDs implement a set of extension to SSDs, that
+         exposes direct access to the underlying non-volatile memory.
+
+         If you say N, all options in this submenu will be skipped and disabled
+         only do this if you know what you are doing.
+
+if NVM
+
+config NVM_DEBUG
+       bool "Open-Channel SSD debugging support"
+       ---help---
+       Exposes a debug management interface to create/remove targets at:
+
+         /sys/module/lnvm/parameters/configure_debug
+
+       It is required to create/remove targets without IOCTLs.
+
+endif # NVM