35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From ba8964be0a76357470f8e4e9d281508fe6a105f3 Mon Sep 17 00:00:00 2001
|
|
From: Andrew Lukoshko <alukoshko@almalinux.org>
|
|
Date: Sat, 16 Mar 2024 17:01:57 +0000
|
|
Subject: [PATCH 1/6] Bring back deprecated pci ids to mpt3sas driver
|
|
|
|
---
|
|
drivers/scsi/mpt3sas/mpt3sas_scsih.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/drivers/scsi/mpt3sas/mpt3sas_scsih.c b/drivers/scsi/mpt3sas/mpt3sas_scsih.c
|
|
index c6f5726f3..0a60d06cb 100644
|
|
--- a/drivers/scsi/mpt3sas/mpt3sas_scsih.c
|
|
+++ b/drivers/scsi/mpt3sas/mpt3sas_scsih.c
|
|
@@ -12090,7 +12090,7 @@ _scsih_determine_hba_mpi_version(struct pci_dev *pdev)
|
|
return 0;
|
|
}
|
|
|
|
-#ifdef CONFIG_RHEL_DIFFERENCES
|
|
+#ifdef CONFIG_ALMALINUX_DIFFERENCES
|
|
static const struct pci_device_id rh_deprecated_pci_table[] = {
|
|
|
|
{0} /* Terminating entry */
|
|
@@ -12166,7 +12166,7 @@ _scsih_probe(struct pci_dev *pdev, const struct pci_device_id *id)
|
|
u16 hba_mpi_version;
|
|
int iopoll_q_count = 0;
|
|
|
|
-#ifdef CONFIG_RHEL_DIFFERENCES
|
|
+#ifdef CONFIG_ALMALINUX_DIFFERENCES
|
|
if (pci_hw_disabled(rh_disabled_pci_table, pdev))
|
|
return -ENODEV;
|
|
|
|
--
|
|
2.39.3
|
|
|