]> git.karo-electronics.de Git - linux-beck.git/commitdiff
NVMe: Update admin opcodes to match the 1.0RC spec
authorKrzysztof Wierzbicki <krzysztof.wierzbicki@intel.com>
Mon, 28 Feb 2011 07:27:13 +0000 (08:27 +0100)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:52:59 +0000 (15:52 -0400)
Signed-off-by: Krzysztof Wierzbicki <krzysztof.wierzbicki@intel.com>
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
include/linux/nvme.h

index 757faa71666e1fe5c43e84c04d275eca69268fbd..c46a9b7988fb3bec0d44dbcbb159744da1d53fd4 100644 (file)
@@ -199,19 +199,19 @@ enum {
 enum nvme_admin_opcode {
        nvme_admin_delete_sq            = 0x00,
        nvme_admin_create_sq            = 0x01,
-       nvme_admin_get_features         = 0x02,
+       nvme_admin_get_log_page         = 0x02,
        nvme_admin_delete_cq            = 0x04,
        nvme_admin_create_cq            = 0x05,
        nvme_admin_identify             = 0x06,
        nvme_admin_abort_cmd            = 0x08,
        nvme_admin_set_features         = 0x09,
-       nvme_admin_get_log_page         = 0x0a,
+       nvme_admin_get_features         = 0x0a,
        nvme_admin_async_event          = 0x0c,
-       nvme_admin_download_fw          = 0x0d,
-       nvme_admin_security_recv        = 0x0e,
-       nvme_admin_format_nvm           = 0x10,
-       nvme_admin_security_send        = 0x11,
-       nvme_admin_activate_fw          = 0x14,
+       nvme_admin_activate_fw          = 0x10,
+       nvme_admin_download_fw          = 0x11,
+       nvme_admin_format_nvm           = 0x80,
+       nvme_admin_security_send        = 0x81,
+       nvme_admin_security_recv        = 0x82,
 };
 
 enum {