Author: mav
Date: Thu Feb  1 16:16:09 2018
New Revision: 328671
URL: https://svnweb.freebsd.org/changeset/base/328671

Log:
  MFC r308853 (by imp):
  Add log pages that Intel SSDs provide. It turns out that many of these
  are widely implemented beyond just Intel drives.

Modified:
  stable/11/sys/dev/nvme/nvme.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/nvme/nvme.h
==============================================================================
--- stable/11/sys/dev/nvme/nvme.h       Thu Feb  1 16:15:39 2018        
(r328670)
+++ stable/11/sys/dev/nvme/nvme.h       Thu Feb  1 16:16:09 2018        
(r328671)
@@ -667,8 +667,18 @@ enum nvme_log_page {
        NVME_LOG_COMMAND_EFFECT         = 0x05,
        /* 0x06-0x7F - reserved */
        /* 0x80-0xBF - I/O command set specific */
-       NVME_LOG_RES_NOTIFICATION       = 0x80
+       NVME_LOG_RES_NOTIFICATION       = 0x80,
        /* 0xC0-0xFF - vendor specific */
+/*
+ * The following are Intel Specific log pages, but they seem to 
+ * be widely implemented.
+ */
+       INTEL_LOG_READ_LAT_LOG          = 0xc1,
+       INTEL_LOG_WRITE_LAT_LOG         = 0xc2,
+       INTEL_LOG_TEMP_STATS            = 0xc5,
+       INTEL_LOG_ADD_SMART             = 0xca,
+       INTEL_LOG_DRIVE_MKT_NAME        = 0xdd,
+
 };
 
 struct nvme_error_information_entry {
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to