Blame SOURCES/0008-merge-Github-PR44.patch

66f3ee
From 6cc0581bc805c8bf7ea057c065c3c36caf744ef3 Mon Sep 17 00:00:00 2001
66f3ee
From: Lyonel Vincent <lyonel@ezix.org>
66f3ee
Date: Sun, 24 Mar 2019 11:18:57 +0100
66f3ee
Subject: [PATCH 8/8] merge Github PR44
66f3ee
66f3ee
Add a class 'nvme' for NVMe devices
66f3ee
66f3ee
---
66f3ee
 src/core/pci.cc | 3 +++
66f3ee
 1 file changed, 3 insertions(+)
66f3ee
66f3ee
diff --git a/src/core/pci.cc b/src/core/pci.cc
66f3ee
index c8380c3034be..21b9033285ff 100644
66f3ee
--- a/src/core/pci.cc
66f3ee
+++ b/src/core/pci.cc
66f3ee
@@ -105,6 +105,7 @@ __ID("@(#) $Id$");
66f3ee
 #define PCI_CLASS_STORAGE_RAID       0x0104
66f3ee
 #define PCI_CLASS_STORAGE_SATA       0x0106
66f3ee
 #define PCI_CLASS_STORAGE_SAS        0x0107
66f3ee
+#define PCI_CLASS_STORAGE_NVME       0x0108
66f3ee
 #define PCI_CLASS_STORAGE_OTHER      0x0180
66f3ee
 
66f3ee
 #define PCI_BASE_CLASS_NETWORK       0x02
66f3ee
@@ -340,6 +341,8 @@ static const char *get_class_name(unsigned int c)
66f3ee
       return "sata";
66f3ee
     case PCI_CLASS_STORAGE_SAS:
66f3ee
       return "sas";
66f3ee
+    case PCI_CLASS_STORAGE_NVME:
66f3ee
+      return "nvme";
66f3ee
     case PCI_CLASS_BRIDGE_HOST:
66f3ee
       return "host";
66f3ee
     case PCI_CLASS_BRIDGE_ISA:
66f3ee
-- 
66f3ee
2.17.1
66f3ee