summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorstuart hayes <stuart.w.hayes@gmail.com>2016-05-26 19:38:41 +0300
committerDan Williams <dan.j.williams@intel.com>2016-06-20 21:19:34 +0300
commite02fb7264d8a31dddb9a80fbde603feb502d6478 (patch)
tree023c9dd4d7542dc2397d10aeabedb3c986b00644 /include/uapi
parent6b0a57ed43b9c24177676b366c926614d24b13b4 (diff)
downloadlinux-e02fb7264d8a31dddb9a80fbde603feb502d6478.tar.xz
nfit: add Microsoft NVDIMM DSM command set to white list
Add the Microsoft _DSM command set to the white list of NVDIMM command sets. This command set is documented at: https://msdn.microsoft.com/library/windows/hardware/mt604741 Cc: Pavel Machek <pavel@ucw.cz> [pavel: fix up braces] Signed-off-by: Stuart Hayes <stuart.w.hayes@gmail.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/ndctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/ndctl.h b/include/uapi/linux/ndctl.h
index 309915f74492..ba5a8c79652a 100644
--- a/include/uapi/linux/ndctl.h
+++ b/include/uapi/linux/ndctl.h
@@ -298,6 +298,7 @@ struct nd_cmd_pkg {
#define NVDIMM_FAMILY_INTEL 0
#define NVDIMM_FAMILY_HPE1 1
#define NVDIMM_FAMILY_HPE2 2
+#define NVDIMM_FAMILY_MSFT 3
#define ND_IOCTL_CALL _IOWR(ND_IOCTL, ND_CMD_CALL,\
struct nd_cmd_pkg)