forked from rpms/kernel
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
From 36abb41a110ce30c8c747fcf80ec5083f7ff04b2 Mon Sep 17 00:00:00 2001
|
|
From: Andrew Lukoshko <alukoshko@almalinux.org>
|
|
Date: Sat, 16 Mar 2024 17:04:20 +0000
|
|
Subject: [PATCH 2/6] Bring back deprecated pci ids to megaraid_sas driver
|
|
|
|
---
|
|
drivers/scsi/megaraid/megaraid_sas_base.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
|
|
index 186ede480..7a14915b2 100644
|
|
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
|
|
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
|
|
@@ -144,7 +144,7 @@ static void megasas_get_pd_info(struct megasas_instance *instance,
|
|
static void
|
|
megasas_set_ld_removed_by_fw(struct megasas_instance *instance);
|
|
|
|
-#ifdef CONFIG_RHEL_DIFFERENCES
|
|
+#ifdef CONFIG_ALMALINUX_DIFFERENCES
|
|
static const struct pci_device_id rh_deprecated_pci_table[] = {
|
|
|
|
{0} /* Terminating entry */
|
|
@@ -7500,7 +7500,7 @@ static int megasas_probe_one(struct pci_dev *pdev,
|
|
struct megasas_instance *instance;
|
|
u16 control = 0;
|
|
|
|
-#ifdef CONFIG_RHEL_DIFFERENCES
|
|
+#ifdef CONFIG_ALMALINUX_DIFFERENCES
|
|
if (pci_hw_disabled(rh_disabled_pci_table, pdev))
|
|
return -ENODEV;
|
|
|
|
--
|
|
2.39.3
|
|
|