summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2016-02-01 17:48:42 -0800
committerDan Williams <dan.j.williams@intel.com>2016-03-05 12:24:06 -0800
commitbe26f9ae022ad09967be7a83c58ce605014e939a (patch)
tree40bd6f044ce0962194236bfce5f954a0fb7c109d /drivers/acpi
parent6e2452dff4441e3dc24d415c8b2cda8a3ba52116 (diff)
downloadlinux-be26f9ae022ad09967be7a83c58ce605014e939a.tar.gz
linux-be26f9ae022ad09967be7a83c58ce605014e939a.tar.bz2
linux-be26f9ae022ad09967be7a83c58ce605014e939a.zip
nfit, tools/testing/nvdimm: add format interface code definitions
ACPI 6.1 and JEDEC Annex L Release 3 formalize the format interface code. Add definitions and update their usage in the unit test. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/nfit.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/acpi/nfit.h b/drivers/acpi/nfit.h
index 3d549a383659..6689b0aaf194 100644
--- a/drivers/acpi/nfit.h
+++ b/drivers/acpi/nfit.h
@@ -40,6 +40,12 @@ enum nfit_uuids {
NFIT_UUID_MAX,
};
+enum nfit_fic {
+ NFIT_FIC_BYTE = 0x101, /* byte-addressable energy backed */
+ NFIT_FIC_BLK = 0x201, /* block-addressable non-energy backed */
+ NFIT_FIC_BYTEN = 0x301, /* byte-addressable non-energy backed */
+};
+
enum {
ND_BLK_READ_FLUSH = 1,
ND_BLK_DCR_LATCH = 2,