Blame SOURCES/0001-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
bf6610
Subject: [PATCH 1/4] 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
bf6610
@@ -100,6 +100,8 @@ __ID("@(#) $Id$");
bf6610
 #define PCI_CLASS_STORAGE_FLOPPY  0x0102
bf6610
 #define PCI_CLASS_STORAGE_IPI   0x0103
bf6610
 #define PCI_CLASS_STORAGE_RAID    0x0104
bf6610
+#define PCI_CLASS_STORAGE_SATA  0x0106
bf6610
+#define PCI_CLASS_STORAGE_SAS   0x0107
bf6610
 #define PCI_CLASS_STORAGE_OTHER   0x0180
bf6610
 
bf6610
 #define PCI_BASE_CLASS_NETWORK    0x02
bf6610
@@ -329,6 +331,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
-- 
bf6610
2.7.3
bf6610