1f73373
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
Jeremy Cline d1b6f8c
From: Jeremy Cline <jcline@redhat.com>
Jeremy Cline d1b6f8c
Date: Thu, 2 Jan 2020 14:24:44 -0500
Jeremy Cline d1b6f8c
Subject: [PATCH] qla2xxx: Remove PCI IDs of deprecated adapter
Jeremy Cline d1b6f8c
Jeremy Cline d1b6f8c
Message-id: <20190708192223.21890-1-jcline@redhat.com>
Jeremy Cline d1b6f8c
Patchwork-id: 266422
Jeremy Cline d1b6f8c
O-Subject: [ARK INTERNAL PATCH] qla2xxx: Remove PCI IDs of deprecated adapter
Jeremy Cline d1b6f8c
Bugzilla:
Jeremy Cline d1b6f8c
RH-Acked-by: Don Zickus <dzickus@redhat.com>
Jeremy Cline d1b6f8c
RH-Acked-by: Jarod Wilson <jarod@redhat.com>
Jeremy Cline d1b6f8c
Jeremy Cline d1b6f8c
Commit ecc89f25e225 ("scsi: qla2xxx: Add Device ID for ISP28XX")
Jeremy Cline d1b6f8c
introduced addition device IDs which broke the patch context.
Jeremy Cline d1b6f8c
Jeremy Cline d1b6f8c
    Message-id: <20180503234750.33648-1-hmadhani@redhat.com>
Jeremy Cline d1b6f8c
    Patchwork-id: 212501
Jeremy Cline d1b6f8c
    O-Subject: [RHEL 8 e-stor PATCH v2] qla2xxx: Remove PCI IDs of deprecated adapter
Jeremy Cline d1b6f8c
    Bugzilla: 1572233
Jeremy Cline d1b6f8c
    RH-Acked-by: Tomas Henzl <thenzl@redhat.com>
Jeremy Cline d1b6f8c
    RH-Acked-by: Chris Leech <cleech@redhat.com>
Jeremy Cline d1b6f8c
    RH-Acked-by: Tom Coughlan <coughlan@redhat.com>
Jeremy Cline d1b6f8c
Jeremy Cline d1b6f8c
    Bugzilla:
Jeremy Cline d1b6f8c
    ========    https://bugzilla.redhat.com/show_bug.cgi?id?72233
Jeremy Cline d1b6f8c
Jeremy Cline d1b6f8c
    commit none
Jeremy Cline d1b6f8c
Jeremy Cline d1b6f8c
    Brewbuild:
Jeremy Cline d1b6f8c
    ==========    https://brewweb.engineering.redhat.com/brew/taskinfo?taskID?977226
Jeremy Cline d1b6f8c
Jeremy Cline d1b6f8c
    Tetsing:
Jeremy Cline d1b6f8c
    =======    N/A. PCI IDs are removed as part of this patch
Jeremy Cline d1b6f8c
Jeremy Cline d1b6f8c
    Signed-off-by: Himanshu Madhani <hmadhani@redhat.com>
Jeremy Cline d1b6f8c
    Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
Jeremy Cline d1b6f8c
Jeremy Cline d1b6f8c
Upstream Status: RHEL only
Jeremy Cline d1b6f8c
Signed-off-by: Jeremy Cline <jcline@redhat.com>
Jeremy Cline d1b6f8c
Jeremy Cline d1b6f8c
Note: Simplified backport to just pci-ids
Jeremy Cline d1b6f8c
---
Jeremy Cline d1b6f8c
 drivers/scsi/qla2xxx/qla_os.c | 6 ++++++
Jeremy Cline d1b6f8c
 1 file changed, 6 insertions(+)
Jeremy Cline d1b6f8c
Jeremy Cline d1b6f8c
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
676c84f
index e92fad99338c..8dae589e7e50 100644
Jeremy Cline d1b6f8c
--- a/drivers/scsi/qla2xxx/qla_os.c
Jeremy Cline d1b6f8c
+++ b/drivers/scsi/qla2xxx/qla_os.c
676c84f
@@ -7766,6 +7766,7 @@ static const struct pci_error_handlers qla2xxx_err_handler = {
Jeremy Cline d1b6f8c
 };
6c2cc50
Jeremy Cline d1b6f8c
 static struct pci_device_id qla2xxx_pci_tbl[] = {
Jeremy Cline d1b6f8c
+#ifndef CONFIG_RHEL_DIFFERENCES
Jeremy Cline d1b6f8c
 	{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2100) },
Jeremy Cline d1b6f8c
 	{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2200) },
Jeremy Cline d1b6f8c
 	{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2300) },
676c84f
@@ -7778,13 +7779,18 @@ static struct pci_device_id qla2xxx_pci_tbl[] = {
Jeremy Cline d1b6f8c
 	{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP8432) },
Jeremy Cline d1b6f8c
 	{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP5422) },
Jeremy Cline d1b6f8c
 	{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP5432) },
Jeremy Cline d1b6f8c
+#endif
Jeremy Cline d1b6f8c
 	{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2532) },
Jeremy Cline d1b6f8c
 	{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2031) },
Jeremy Cline d1b6f8c
+#ifndef CONFIG_RHEL_DIFFERENCES
Jeremy Cline d1b6f8c
 	{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP8001) },
Jeremy Cline d1b6f8c
 	{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP8021) },
Jeremy Cline d1b6f8c
+#endif
Jeremy Cline d1b6f8c
 	{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP8031) },
Jeremy Cline d1b6f8c
+#ifndef CONFIG_RHEL_DIFFERENCES
Jeremy Cline d1b6f8c
 	{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISPF001) },
Jeremy Cline d1b6f8c
 	{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP8044) },
Jeremy Cline d1b6f8c
+#endif
Jeremy Cline d1b6f8c
 	{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2071) },
Jeremy Cline d1b6f8c
 	{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2271) },
Jeremy Cline d1b6f8c
 	{ PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2261) },
Jeremy Cline d1b6f8c
-- 
6c2cc50
2.26.2
Jeremy Cline d1b6f8c