chengshan / rpms / kernel

Forked from rpms/kernel 2 years ago
Clone
Pablo Greco 7b2c62
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
Pablo Greco 7b2c62
From: Don Brace <dbrace@redhat.com>
Pablo Greco 7b2c62
Date: Mon, 16 Jul 2018 19:20:41 -0400
Pablo Greco 7b2c62
Subject: [PATCH] scsi: smartpqi: add inspur advantech ids
Pablo Greco 7b2c62
Pablo Greco 7b2c62
Message-id: <1531768843-2544-4-git-send-email-dbrace@redhat.com>
Pablo Greco 7b2c62
Patchwork-id: 224988
Pablo Greco 7b2c62
O-Subject: [RHEL 8.0 e-stor V2 PATCH 3/5] scsi: smartpqi: add inspur advantech ids
Pablo Greco 7b2c62
Bugzilla: 1503736
Pablo Greco 7b2c62
RH-Acked-by: Ewan Milne <emilne@redhat.com>
Pablo Greco 7b2c62
RH-Acked-by: Tomas Henzl <thenzl@redhat.com>
Pablo Greco 7b2c62
Pablo Greco 7b2c62
From: Kevin Barnett <kevin.barnett@microsemi.com>
Pablo Greco 7b2c62
Pablo Greco 7b2c62
Add support for these new device IDs:
Pablo Greco 7b2c62
Pablo Greco 7b2c62
  Advantech MIC-8312BridgeB
Pablo Greco 7b2c62
  INSPUR PM8204-2GB
Pablo Greco 7b2c62
  INSPUR PM8204-4GB
Pablo Greco 7b2c62
  INSPUR PM8222-SHBA
Pablo Greco 7b2c62
Pablo Greco 7b2c62
Upstream Status: RHEL only
Pablo Greco 7b2c62
Reviewed-by: Scott Benesh <scott.benesh@microsemi.com>
Pablo Greco 7b2c62
Signed-off-by: Kevin Barnett <kevin.barnett@microsemi.com>
Pablo Greco 7b2c62
Signed-off-by: Don Brace <don.brace@microsemi.com>
Pablo Greco 7b2c62
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Pablo Greco 7b2c62
(cherry picked from commit 9f8d05fa98442de78d1ab30235b0cc656ed7aff0)
Pablo Greco 7b2c62
Signed-off-by: Don Brace <dbrace@redhat.com>
Pablo Greco 7b2c62
Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
Pablo Greco 7b2c62
---
Pablo Greco 7b2c62
 drivers/scsi/smartpqi/smartpqi_init.c | 16 ++++++++++++++++
Pablo Greco 7b2c62
 1 file changed, 16 insertions(+)
Pablo Greco 7b2c62
Pablo Greco 7b2c62
diff --git a/drivers/scsi/smartpqi/smartpqi_init.c b/drivers/scsi/smartpqi/smartpqi_init.c
Pablo Greco 7b2c62
index bd38c8cea56e..477eb841d4e5 100644
Pablo Greco 7b2c62
--- a/drivers/scsi/smartpqi/smartpqi_init.c
Pablo Greco 7b2c62
+++ b/drivers/scsi/smartpqi/smartpqi_init.c
Pablo Greco 7b2c62
@@ -8251,6 +8251,18 @@ static const struct pci_device_id pqi_pci_id_table[] = {
Pablo Greco 7b2c62
 		PCI_DEVICE_SUB(PCI_VENDOR_ID_ADAPTEC2, 0x028f,
Pablo Greco 7b2c62
 			       0x19e5, 0xd22c)
Pablo Greco 7b2c62
 	},
Pablo Greco 7b2c62
+	{
Pablo Greco 7b2c62
+		PCI_DEVICE_SUB(PCI_VENDOR_ID_ADAPTEC2, 0x028f,
Pablo Greco 7b2c62
+			       0x1bd4, 0x004a)
Pablo Greco 7b2c62
+	},
Pablo Greco 7b2c62
+	{
Pablo Greco 7b2c62
+		PCI_DEVICE_SUB(PCI_VENDOR_ID_ADAPTEC2, 0x028f,
Pablo Greco 7b2c62
+			       0x1bd4, 0x004b)
Pablo Greco 7b2c62
+	},
Pablo Greco 7b2c62
+	{
Pablo Greco 7b2c62
+		PCI_DEVICE_SUB(PCI_VENDOR_ID_ADAPTEC2, 0x028f,
Pablo Greco 7b2c62
+			       0x1bd4, 0x004c)
Pablo Greco 7b2c62
+	},
Pablo Greco 7b2c62
 	{
Pablo Greco 7b2c62
 		PCI_DEVICE_SUB(PCI_VENDOR_ID_ADAPTEC2, 0x028f,
Pablo Greco 7b2c62
 			       PCI_VENDOR_ID_ADAPTEC2, 0x0110)
Pablo Greco 7b2c62
@@ -8387,6 +8399,10 @@ static const struct pci_device_id pqi_pci_id_table[] = {
Pablo Greco 7b2c62
 		PCI_DEVICE_SUB(PCI_VENDOR_ID_ADAPTEC2, 0x028f,
Pablo Greco 7b2c62
 			       PCI_VENDOR_ID_ADVANTECH, 0x8312)
Pablo Greco 7b2c62
 	},
Pablo Greco 7b2c62
+	{
Pablo Greco 7b2c62
+		PCI_DEVICE_SUB(PCI_VENDOR_ID_ADAPTEC2, 0x028f,
Pablo Greco 7b2c62
+			       PCI_VENDOR_ID_ADVANTECH, 0x8312)
Pablo Greco 7b2c62
+	},
Pablo Greco 7b2c62
 	{
Pablo Greco 7b2c62
 		PCI_DEVICE_SUB(PCI_VENDOR_ID_ADAPTEC2, 0x028f,
Pablo Greco 7b2c62
 			       PCI_VENDOR_ID_DELL, 0x1fe0)
Pablo Greco 7b2c62
-- 
Pablo Greco 7b2c62
2.28.0
Pablo Greco 7b2c62