diff mbox

[ndctl] ndctl: update local ndctl.h for acpi6.1

Message ID 20160224022139.23203.2189.stgit@dwillia2-desk3.amr.corp.intel.com (mailing list archive)
State Accepted
Commit 8d3913d333ad
Headers show

Commit Message

Dan Williams Feb. 24, 2016, 2:21 a.m. UTC
Grab the latest ars command definitions from ndctl.h.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
---
 ndctl.h |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/ndctl.h b/ndctl.h
index 50df797f1974..0c50ff4dc3b1 100644
--- a/ndctl.h
+++ b/ndctl.h
@@ -66,14 +66,18 @@  struct nd_cmd_ars_cap {
 	__u64 length;
 	__u32 status;
 	__u32 max_ars_out;
+	__u32 clear_err_unit;
+	__u32 reserved;
 } __attribute__((packed));
 
 struct nd_cmd_ars_start {
 	__u64 address;
 	__u64 length;
 	__u16 type;
-	__u8 reserved[6];
+	__u8 flags;
+	__u8 reserved[5];
 	__u32 status;
+	__u32 scrub_time;
 } __attribute__((packed));
 
 struct nd_cmd_ars_status {
@@ -81,11 +85,14 @@  struct nd_cmd_ars_status {
 	__u32 out_length;
 	__u64 address;
 	__u64 length;
+	__u64 restart_address;
+	__u64 restart_length;
 	__u16 type;
+	__u16 flags;
 	__u32 num_records;
 	struct nd_ars_record {
 		__u32 handle;
-		__u32 flags;
+		__u32 reserved;
 		__u64 err_address;
 		__u64 length;
 	} __attribute__((packed)) records[0];