Blame SOURCES/0007-add-missing-PCI-storage-subclasses-688.patch

bf6610
From f965cd50d9005353d4b8879f609d04df3c881da2 Mon Sep 17 00:00:00 2001
bf6610
From: Dan Callaghan <dcallagh@redhat.com>
bf6610
Date: Mon, 29 Jun 2015 10:30:58 +1000
99c779
Subject: [PATCH 07/26] add missing PCI storage subclasses (#688)
bf6610
bf6610
---
bf6610
 src/core/pci.cc | 8 ++++++++
bf6610
 1 file changed, 8 insertions(+)
bf6610
bf6610
diff --git a/src/core/pci.cc b/src/core/pci.cc
bf6610
index 7c09eb8..fbfd143 100644
bf6610
--- a/src/core/pci.cc
bf6610
+++ b/src/core/pci.cc
99c779
@@ -103,6 +103,8 @@ __ID("@(#) $Id$");
99c779
 #define PCI_CLASS_STORAGE_FLOPPY     0x0102
99c779
 #define PCI_CLASS_STORAGE_IPI        0x0103
99c779
 #define PCI_CLASS_STORAGE_RAID       0x0104
99c779
+#define PCI_CLASS_STORAGE_SATA       0x0106
99c779
+#define PCI_CLASS_STORAGE_SAS        0x0107
99c779
 #define PCI_CLASS_STORAGE_OTHER      0x0180
bf6610
 
99c779
 #define PCI_BASE_CLASS_NETWORK       0x02
99c779
@@ -332,6 +334,12 @@ static const char *get_class_name(unsigned int c)
bf6610
       return "scsi";
bf6610
     case PCI_CLASS_STORAGE_IDE:
bf6610
       return "ide";
bf6610
+    case PCI_CLASS_STORAGE_RAID:
bf6610
+      return "raid";
bf6610
+    case PCI_CLASS_STORAGE_SATA:
bf6610
+      return "sata";
bf6610
+    case PCI_CLASS_STORAGE_SAS:
bf6610
+      return "sas";
bf6610
     case PCI_CLASS_BRIDGE_HOST:
bf6610
       return "host";
bf6610
     case PCI_CLASS_BRIDGE_ISA:
bf6610
-- 
99c779
2.10.2
bf6610