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

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