From: Scott Weaver <[email protected]>

Revert "megaraid_sas: remove deprecated pci-ids"

We no longer need this rhel-only commit because these devices are
included in the disabled pci devices list in kernel/rh_messages.h.

This reverts commit 10824914e18892d57ffc8c9590ddeb1ccf5797db.

Signed-off-by: Scott Weaver <[email protected]>

diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c 
b/drivers/scsi/megaraid/megaraid_sas_base.c
index blahblah..blahblah 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -148,7 +148,6 @@ megasas_set_ld_removed_by_fw(struct megasas_instance 
*instance);
  */
 static const struct pci_device_id megasas_pci_table[] = {
 
-#ifndef CONFIG_RHEL_DIFFERENCES
        {PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS1064R)},
        /* xscale IOP */
        {PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_SAS1078R)},
@@ -167,7 +166,6 @@ static const struct pci_device_id megasas_pci_table[] = {
        /* xscale IOP, vega */
        {PCI_DEVICE(PCI_VENDOR_ID_DELL, PCI_DEVICE_ID_DELL_PERC5)},
        /* xscale IOP */
-#endif
        {PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_FUSION)},
        /* Fusion */
        {PCI_DEVICE(PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_PLASMA)},

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3729

-- 
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to