From: Jeff.Lien@wdc.com (Jeffrey Lien)
Subject: [PATCH] NVMe-CLI WDC Plugin - add support for additional SN840 device ID.
Date: Wed, 27 Feb 2019 15:29:53 +0000 [thread overview]
Message-ID: <1551281379-27317-1-git-send-email-jeff.lien@wdc.com> (raw)
Signed-off-by: Jeff Lien <jeff.lien at wdc.com>
---
plugins/wdc/wdc-nvme.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/plugins/wdc/wdc-nvme.c b/plugins/wdc/wdc-nvme.c
index ba4d419..b131b1a 100644
--- a/plugins/wdc/wdc-nvme.c
+++ b/plugins/wdc/wdc-nvme.c
@@ -61,6 +61,7 @@
#define WDC_NVME_SN630_DEV_ID 0x2200
#define WDC_NVME_SN630_DEV_ID_1 0x2201
#define WDC_NVME_SN840_DEV_ID 0x2300
++#define WDC_NVME_SN840_DEV_ID_1 0x2500
#define WDC_NVME_SN640_DEV_ID 0x2400
#define WDC_NVME_SN640_DEV_ID_1 0x2401
#define WDC_NVME_SN640_DEV_ID_2 0x2402
@@ -709,6 +710,8 @@ static __u64 wdc_get_drive_capabilities(int fd) {
case WDC_NVME_SN640_DEV_ID_2:
/* FALLTHRU */
case WDC_NVME_SN840_DEV_ID:
+ /* FALLTHRU */
+ case WDC_NVME_SN840_DEV_ID_1:
capabilities = (WDC_DRIVE_CAP_CAP_DIAG | WDC_DRIVE_CAP_INTERNAL_LOG |
WDC_DRIVE_CAP_DRIVE_STATUS | WDC_DRIVE_CAP_CLEAR_ASSERT |
WDC_DRIVE_CAP_RESIZE | WDC_DRIVE_CAP_CLEAR_PCIE);
--
1.8.3.1
next reply other threads:[~2019-02-27 15:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-27 15:29 Jeffrey Lien [this message]
2019-02-27 15:37 ` [PATCH] NVMe-CLI WDC Plugin - add support for additional SN840 device ID Keith Busch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1551281379-27317-1-git-send-email-jeff.lien@wdc.com \
--to=jeff.lien@wdc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox