diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-02-02 02:48:42 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-03-05 21:24:06 +0100 |
commit | be26f9ae022ad09967be7a83c58ce605014e939a (patch) | |
tree | 40bd6f044ce0962194236bfce5f954a0fb7c109d /drivers | |
parent | nfit: Continue init even if ARS commands are unimplemented (diff) | |
download | linux-be26f9ae022ad09967be7a83c58ce605014e939a.tar.xz 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')
-rw-r--r-- | drivers/acpi/nfit.h | 6 |
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, |