]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
Sync with latest kernel's provided nvme IOCTLs
authorKeith Busch <keith.busch@intel.com>
Thu, 10 Mar 2016 15:44:24 +0000 (08:44 -0700)
committerKeith Busch <keith.busch@intel.com>
Thu, 10 Mar 2016 15:44:24 +0000 (08:44 -0700)
New kernels provide reset and subsystem reset.

Signed-off-by: Keith Busch <keith.busch@intel.com>
linux/nvme.h

index 4543051ac1758162706cdd5cb3f685f7ed2078ab..f48c0f08f6eabded125e299c850df1740d4d98c8 100644 (file)
@@ -503,5 +503,8 @@ struct nvme_bar {
 #define NVME_IOCTL_ADMIN_CMD   _IOWR('N', 0x41, struct nvme_admin_cmd)
 #define NVME_IOCTL_SUBMIT_IO   _IOW('N', 0x42, struct nvme_user_io)
 #define NVME_IOCTL_IO_CMD      _IOWR('N', 0x43, struct nvme_passthru_cmd)
+#define NVME_IOCTL_RESET       _IO('N', 0x44)
+#define NVME_IOCTL_SUBSYS_RESET        _IO('N', 0x45)
+
 
 #endif /* _UAPI_LINUX_NVME_H */